Available in🇲🇾 Malaysia
RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, contact our Support team.
Set Up Payout Webhooks
To set up a webhook:- Log in to the RazorpayX Dashboard.
- Navigate to My Account & Settings → Developer Controls → Webhooks.
- Add your webhook URL and a secret.
- Select the events you want to receive.
- Save the webhook.
Handy TipsIf anything about the set-up is unclear, contact your account manager.
Webhook Events and Descriptions
The table below lists the webhook events available for RazorpayX in Malaysia.
Failure and reversal reasons come in the
status_details object of the payout, on API responses and webhooks. It carries the reason, the description and the source. Know more about payout status details.
Verify the Signature
When your webhook secret is set, Razorpay Curlec uses it to create a hash signature with each payload. This hash signature is passed with each request under theX-Razorpay-Signature header. Validate it at your end and discard the webhook if the signatures differ.
X-Razorpay-Signature
: The hash signature is calculated using HMAC with the SHA-256 algorithm, your webhook secret set as the key and the raw webhook request body as the message.
Respond and Handle Retries
- Respond with HTTP 200 within 5 seconds. A webhook that does not receive a 2xx response is sent again.
- The same event can arrive more than once or out of order. Use the payout
idandstatusto decide the current state. - Match the webhook against the Fetch a Payout With ID API if you are unsure of the latest status.
Sample Payload
The following is a samplepayout.processed payload for a payout to a DuitNow proxy:
payout.processed