Postback

Receiving notifications for async payment updates.

Every async payment handled by Ingresse sends a postback request to client. This request has a few infos about the transaction, allowing client to check the latest transaction status and other attributes.

Postback Webhook
namedescription
postbackwhen a sale is created or change status

Each client in Ingresse has a default url that will receive postbacks. For each transaction, it is possible to define a custom postback url.

Once it is registered, every time one of those actions is performed, Ingresse will send a POST request with the following body message:

Webhook body message
keydescription
webhookthe type of the hook related to the data
datathe content of the webhook
timestampthe timestamp when the message was posted to destination
Example
{
  "webhook": "postback",
  "timestamp": "2018-12-18T12:49:43Z",
  "data": {
    "transactionId": "18B20EAE2FF1431550363E42BD435F04D58A82F5",
    "status": "approved",
    "date": "2018-12-18 10:49:42.909190"
  }
}