Notification Post

Set up the webhook to receive status updates on your transactions.

To receive notifications of status changes, you must have configured the URL Status Payment field during registration of your store at Braspag. The parameters will be sent to the registered URL as shown in the example below.

As there is a possibility of intermittence between the client and server APIs, it is necessary to track pending (unpaid) transactions that have not yet been updated on the current day.

Sent Notification

{
   "RecurrentPaymentId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
   "PaymentId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
   "ChangeType": 2
}
PropertyDescriptionTypeSizeRequired?
RecurrentPaymentIdIdentifier representing the recurring order (only applicable for ChangeType 2 or 4).GUID36No
PaymentIdIdentifier representing the transaction.GUID36Yes
ChangeTypeSpecifies the notification type. Note: See table below.Number1Yes
ChangeTypeDescription
1Payment status change.
2Recurrence created.
3Anti-fraud status change.
4Recurring payment status change (e.g.: automatic deactivation).
5Refund denied (applicable to Rede).
6Underpaid registered boleto.
7Chargeback notification.
For more details, refer to the Risk Notification guide.
8Fraud alert.

Expected Response

The expected response from the store is: HTTP Status Code 200 OK.

If the above response is not returned, there will be two more attempts to send the Notification Post.