Skip to main content
POST
/
v1
/
business
/
integration
Create a Webhook Integration
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"
}

Authorizations

apiKey
string
header
required

Body

application/json
webhookUrl
string<uri>
pixWebhookUrl
string<uri>

Response

Success

id
string
required
webhookUrl
string
required
pixWebhookUrl
string
required
status
string
required