Compose your request data and convert it to a JSON string
Set a request header, content-type: application/json .
Set the secret-key header using the secret key. You can re-generate it if you lost it.
POST the JSON string to the payouts API.
Decode the JSON response returned by the API and store any transaction details you need to use later
We will send webhook data when the transaction status changes to the webhook URL
Based on the transaction status in the webhook data, you should be able to update your transaction in your application accordingly. Any unexpected transaction status can be simply logged to be resolved manually by contacting us first especially payouts. For example, normally, failed payouts cause refunds and therefore you have to be 100% sure before refunding your customer.