cURL
curl --request POST \ --url https://api.pagou.ai/v1/business/integration \ --header 'Content-Type: application/json' \ --header 'apiKey: <api-key>' \ --data ' { "webhookUrl": "<string>", "pixWebhookUrl": "<string>" } '
{ "id": "int_5fba5982a6b34f59a6f3dd8ad58c1d44", "webhookUrl": "https://example.app/webhooks/pagou", "pixWebhookUrl": "https://example.app/webhooks/pagou/pix", "status": "active" }
Create a new webhook
Success