Payout with Token
Name: Make Payout Request with Customer Token which can be generated using customer info.
Method : POST
Url : {{base_url}}/api/v1/payout/request
Username : App Key
Password : Secret Key
{
"merchantAccountId" :"{{your_account_no}}",
"customerToken":"9b18c3f97440add095b7d67527e306e5",
"reference":"ref-5015", // unique and must be at least 10 characters and special characters are not allowed
"currency":"USD",
"amount":"27",
"payoutType":"", // optional, can be either cardPayout or bankPayout
"solutionId":"f0850594-efc0-449b-b0ab-7ada65dcd56a", // optional
"webhookUrl":"{{webhookUrl}}" // optional
}
{
"success": true,
"message": "Payout request created successfully",
"data": {
"payout_url": "https://sgw.paymid.com/secure-payout/24fbae5b-3ad0-4702-bd4a-c31f5a0db233",
"reference": "ref-5015"
}
}