Skip to main content

Webhook — Payment Notifications

API data

API Gateway
This API is used for payment gateway operations:

How it works

When a payment is processed (2D Gateway, 3D Gateway, or Payment Link), our platform can (optionally) automatically send an HTTP POST notification to your configured callback URL.

Configuration

Include the urlCallBack parameter in your request:

Request with Webhook
{
...
"urlCallBack": "https://seusite.com.br/webhook/pagamento",
...
}

Notification body

The webhook sends a notification with the following fields to your configured callback URL.

Webhook - Gateway
{
"Value": 100.50,
"Origin": "GATEWAY_2D",
"Date": "2025-09-11T14:30:25Z",
"Installments": 1,
"TransactionType": "CREDIT",
"ResultId": "010078826509090055210005100989250000000000",
"AuthorizationCode": "2345",
"Status": "0",
"PaymentLinkId": null
}

HTTP headers

Webhook requests are sent with a header named Access-Key. This access key ensures the authenticity of the request.

Ask support for your Access-Key so you can configure it in your application.

Content-Type: application/json
Access-Key: callback-id-123

Your endpoint

Your endpoint must:

  • Accept POST requests
  • Return HTTP status 200 (for notifications received successfully)

Payload fields

FieldDescriptionType
ValuePayment amountdecimal
OriginPayment originstring
DatePayment datestring
ResultIdResult IDstring
StatusTransaction statusstring
PaymentLinkIdLink ID (only for payment links)string

Domains

PROPERTYVALUES
OriginGATEWAY_2D, GATEWAY_3D, PAYMENT_LINK_2D

See also

Response codes

To correctly interpret transaction statuses received via webhook, see our full response-code table:

Authorizer Host Response Codes →