Callback events
Signature
All the callbacks can be signed using the HMAC-SHA256 algorithm, and the contents of the signature included in a "signature" header. The header returned is the signed body of the request sent with a hex string format.
Before you start receiving signed notifications Localpayment must configure the URL where you will receive the notifications and share the HMAC key
Because our algorithm can present some customizations, an example is left. Upon receiving signed notifications you can verify their authenticity with this algorithm:
Payout
Following request-body is send as POST request on the URL used to register the callback when a transaction gets updated to one of the following status:
Rejected
Executed
Returned
Recalled
Canceled
Below is a sample of the callback body:
When a change of status is made, you will receive a callback consisting of the body and the signature which confirms that we sent you the notification, this signature consists of letters and numbers. Example: xxbd49595e6e4698751940c29443el938aa7041ao1904f10714eeb145e3fd1a9
Last updated