payeeType = BUSINESS); see Payout field requirements for the supported countries and payout methods.
Applicable scenarios
- Server-to-server payouts: send funds automatically from your own system and track the results
- Payouts to an individual payee’s bank account, e-wallet or proxy account
- Payouts to a business payee (supported in some countries,
payeeType=BUSINESS)
This page covers API integration. If you do not want to integrate technically, you can send payouts in bulk from the Merchant Portal instead: download the batch template, fill it in and upload it. See Withdrawal & Batch Payout FAQ for the steps.
Integration flow
1
Collect beneficiary field information
Collect the payee’s account details. To find out which fields are required, use either of these:
- Call Payout beneficiary fields inquiry: returns the required fields for a country, payout method and payee type in real time, so your system can fetch them automatically.
- See Payout field requirements: lists the field requirements by country and payout method, for manual reference before you integrate.
2
Use API Reference for field details
Request fields, response fields, enums and signing rules follow the API Reference.
3
Create the payout
Call Payout create with your own unique
payoutRequestId. A successful response usually returns IN_PROGRESS.4
Get the result
Get the final result mainly from the PAYOUT_NOTIFICATION notification. If the notification does not arrive in time, call Payout inquiry as a fallback.
5
Handle final states
Treat only
SUCCESS and FAILURE as final. See Payout status and idempotency.6
Test in sandbox
Test your payouts in the sandbox environment. For the URL, see Environment information.
7
Submit acceptance materials
Fill in the executed cases in the acceptance template and submit them to the Waffo technical integration group.
Environment information
The SDK switches via
Environment.SANDBOX / Environment.PRODUCTION; there is no need to manually modify the URL.
Request format
- Content-Type:
application/json(UTF-8 encoding) - All requests use HTTP POST
- Request headers must include
X-API-KEYandX-SIGNATURE - Raw HTTP requests must explicitly send
X-API-VERSION: 1.0.0. SDKs manage this header automatically; do not set or override it. - Key pair and public key setup: Configure the merchant public key
Response format
codeis"0"indicates success- On failure,
codeis an error code (for example"A0003"), anddatais empty - Response header
X-SIGNATUREcontains the Waffo signature and must be verified - Verifying Waffo’s signature on responses and notifications: Webhook - signature verification