Configurar o Webhook Pix.
PUT
OAuth2 webhook.writeheader
AuthorizationBearer <token>Escopo: webhook.write
chave*Chave DICT do recebedorTamanho
length <= 77application/json- body
webhookUrl*stringFormato
uriWebhook para notificações acerca de Pix recebidos associados a um txid.
application/jsoncurl -X PUT 'https://api.pix.infopago.com.br/webhook/string' \ -H 'Content-Type: application/json' \ -d '{ "webhookUrl": "https://pix.example.com/api/webhook/"}'Exemplo de resposta
{ "webhookUrl": "https://pix.example.com/api/webhook/", "chave": "7d9f0335-8dcc-4054-9bf9-0dbd61d36906", "criacao": "2020-09-09T20:15:00.358Z"}