Skip to main content

Payout with Token

Make a payout request using a saved customer token.

Endpoint Information

Name: Make Payout Request with Customer Token
Method: POST
URL: {{base_url}}/api/v1/payout/request

Description

Send funds to a returning customer using their saved token (previously generated from customer info).

Authentication

Type: Basic Auth

  • Username: App Key
  • Password: Secret Key

Request Body

Content-Type: application/json

{
"merchantAccountId": "{{your_account_no}}",
"customerToken": "9b18c3f97440add095b7d67527e306e5",
"reference": "ref-5015",
"currency": "USD",
"amount": "27",
"payoutType": "", // optional: cardPayout or bankPayout
"solutionId": "f0850594-efc0-449b-b0ab-7ada65dcd56a", // optional
"webhookUrl": "{{webhookUrl}}" // optional
}

Key Parameters

ParameterTypeRequiredDescription
customerTokenstringYesThe token of the customer to receive funds
referencestringYesUnique reference (min 10 chars)
amountstringYesPayout amount
currencystringYesCurrency code

Response

Success Response

{
"success": true,
"message": "Payout request created successfully",
"data": {
"payout_url": "https://sgw.paymid.com/secure-payout/24fbae5b-3ad0-4702-bd4a-c31f5a0db233",
"reference": "ref-5015"
}
}