Status of a transaction

The Notification Post is a webhook that sends a notification to the URL registered by your store, if there is any change in the status of the transaction:

  • From Review to Accept or Reject;
  • From Accept to Reject.

📘

Important:

  • During the onboarding process, request registration of your store's status change URL to the Braspag Implementation team;
  • The URL registered by the merchant to receive the status change notification must return the HTTP code 200 (OK), indicating that the message was successfully received and processed by the merchant's server. Otherwise, 3 more sending attempts will be made;
  • The status change URL can only use port 80 (default for HTTP) or port 443 (default for HTTPS). We recommend that the merchant always works with SSL for this URL, that is, always HTTPS.

Example of notification content

{  
   "Id":"tttttttt-tttt-tttt-tttt-tttttttttttt"
}

Header parameters

KeyValue
Content-Typeapplication/json

Body parameters

ParameterDescriptionType
IdTransaction ID in the Braspag Antifraude GatewayGUID

The merchant should return the status 200 Ok:

Header parameters

KeyValue
Content-Typeapplication/json
Status200 OK

After receiving the status change notification, make a query sending the transaction ID received to get the new transaction status:

Querying a transaction at Cybersource
Querying a transaction at ACI Worldwide