Learn how to securely process Fenan Pay webhook notifications
PAYMENT_SUCCESS
PAYMENT_FAILED
PAYMENT_EXPIRED
WITHDRAWAL_SUCCESS
WITHDRAWAL_FAILED
Field | Type | Description |
---|---|---|
webHookEvent | string | Specifies the type of webhook notification (e.g., PAYMENT_SUCCESS). |
signature | string | A cryptographic signature to verify the payload’s authenticity. |
body | string | A JSON string containing either a PaymentIntent or WithdrawalIntent object, depending on the event type. You need to parse this string to get the actual object. |
body
field is a JSON string that needs to be parsed.