Webhook
Introduction
We use webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events, like when a customer has made a payment, deposited money to your account, the refund status has changed, or the supplier account status has changed.
You can listen to specific events by webhook, as you don’t need to inquire about these actions to get the response.
SSL
SSL is required. Ensure that your server is configured to support HTTPS, with a valid server certificate.
How it Works
Portal account
Before you build Your Endpoint, you need to set up your webhook information in your portal account as described in the Webhook Information section.
To receive and process events, you need to set up your server and provide a URL where the webhook can take place. The URL will be something like that:
https://www.yourwebsite.com/your-endpoint-name
MyFatoorah webhook will call your endpoint with a RESTful call. It means your endpoint will receive a JSON body with event data based on the Webhook Version you are using. There are two Webhook Versions in MyFatoorah:
- Webhook V1
- Webhook V2 (Recommended to use)
MyFatoorah uses Webhook Signature to enable you confirm that the webhook events are actually triggered from MyFatoorah.
Updated about 13 hours ago