Sending Funds
To send funds, the procedure below can be trivial
  1. 1.
    Compose your request data and convert it to a JSON string
  2. 2.
    Set a request header, content-type: application/json .
  3. 3.
    Set the secret-key header using the secret key. You can re-generate it if you lost it.
  4. 4.
    POST the JSON string to the payouts API.
  5. 5.
    Decode the JSON response returned by the API and store any transaction details you need to use later
  6. 6.
    We will send webhook data when the transaction status changes to the webhook URL
  7. 7.
    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.
Last modified 10mo ago
Copy link