Configurations

Get updates on transaction status

The configuration of the CALLBACK service is very simple since it can be done through the LocalPayment user interface Stage and/or Production environment.

Once you have entered the user interface, click on: Settings → Edit Client → Notifications.

In the "Notifications" section, select Callbacks tab and enter a URL. On the reported URL, you will receive a POST request each time a transaction reaches a final status (described above).

In addition to the notification URL, we will configure and share with you a secret key that will be used to sign the request via HMAC-SHA256. The resulting signature will be sent in the X-Signature header like shown in the image:

Remember that you are able to setup and change your own Callbacks - Webhooks by accessing with an ADMIN user to the application.

HMAC algorithm

Our Dynamic tutorial:

Follow our tutorial to configure the callback url from our frontend:

Example: Callback Notifications Service

The general structure for this request is:

{

"transactionType": "Payin",

"data": {

...

} }

The "data" node content of the Callback is the same as the Body structure of the Check Payment

Remember that you can also check the status of each transaction using the Check Status endpoint. The request payload you will receive will be the same as the one sent by the CALLBACK push notification service.

Last updated

Was this helpful?