Webhooks will allow your application to receive server to server messaging from Finfare Connect. This will enable you to make real time decisions.
The three events that you can receive are -
Event |
---|
Transaction Received |
Promotion Added/Updated |
User Archived/Updated |
In order to verify that the incoming message has been sent by Finfare Connect, you must always verify the signature that is transmitted in the header of the message.
Create a string using your “API Key”, timestamp from the “Nimda-Timestamp” header and your given url API_Key+Timestamp+URL Hash the created string using the “secret key” with “HMAC-SHA256” and then encode it with Base64. Compare the signature you created with the one sent in “Nimda-Signature” header