This webhook documentation outlines how to integrate and handle payment notifications from HeedPay. When a payment is successfully processed, a webhook notification will be sent to your provided URL. This webhook contains information regarding the transaction, including the status, amount, sender, receiver, and other relevant details.
You are advice to verify real authentication of the transaction by
Compare API Key:Before proceeding to honor the received webhook, it is crucial to compare your API Key with the hashed "api_key" present in the header section and your business id. This verification step ensures that the request is legitimate and enhances the security of your integration with HeedPay.
Prevent Duplicate Transactions:Always verify transactions by querying our "Fetch Transaction Details" endpoint before proceeding to honor the received webhook. This additional step ensures that you confirm the transaction details and enhances the reliability of your transaction processing workflow.
Requery Transaction:Alway requery transaction with our fetch transaction details endpoint to reconfirm the transaction before you honor it the received webhook.
By incorporating the following security measures, you can fortify your webhook endpoint against data tampering, validate the authenticity of requests from trusted origins, and mitigate the risk of duplicate transaction processing. These steps will bolster the overall security and dependability of your webhook integration with HeedPay.
The webhook will send a JSON payload to your endpoint, with the following structure below:
// Some codeLast updated 1 year ago