Criar Webhook
Authorizations
Body
Webhook URL
"https://myserver.com/webhook"
Webhook name
"Payment Webhook"
List of events to subscribe
charge.pending, charge.processing, charge.paid, charge.received, charge.expired, subscription.authorized, subscription.rejected, subscription.charge.paid, subscription.charge.failed ["order_created", "order_paid"]Response
Webhook created successfully — o campo secret é exibido apenas nesta resposta.
Webhook id
"67b14aa9-daac-800e-83bf-f1b44468d1d9"
Webhook URL
"https://example.com/webhook"
Webhook name
"Payment Webhook"
Company id
"67b14aa9-daac-800e-83bf-f1b44468d1d9"
Webhook status
ACTIVE, INACTIVE "ACTIVE"
List of subscribed events
charge.pending, charge.processing, charge.paid, charge.received, charge.expired, subscription.authorized, subscription.rejected, subscription.charge.paid, subscription.charge.failed ["order_created", "order_paid"]Creation date
"2024-02-15T12:34:56Z"
Update date
"2024-02-16T12:34:56Z"
Signing secret — exibido apenas uma vez na criação. Armazene com segurança e use para verificar o header X-Webhook-Signature em cada entrega recebida.
"whsec_a3f7c2e1d9b84f6a..."