Skip to main content
POST
/
v1
/
business
/
integration
Criar Webhook
curl --request POST \
  --url https://api.pagou.ai/v1/business/integration \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "pixWebhookUrl": "https://webhook.site/123"
}'
{
  "status": 201,
  "message": "Webhook URLs updated successfully",
  "data": {
    "pixWebhookUrl": "https://webhook.site/123"
  }
}

Authorizations

apiKey
string
header
required

Body

application/json
pixWebhookUrl
string<uri>
required

HTTPS URL endpoint to receive PIX webhook notifications

Example:

"https://webhook.site/123"

Response

Webhook URLs updated successfully

status
integer
Example:

201

message
string
Example:

"Webhook URLs updated successfully"

data
object
I