π·Payout (Withdrawal) Integration
This document describes how to integrate Xixapay Payout API to transfer funds from your platform to Nigerian bank accounts. π Authentication
All payout requests to Xixapay require API credentials.
Required Headers
api-key
Your Xixapay API Key
Authorization
Bearer {XIXAPAY_SECRET_KEY}
Content-Type
application/json
π Payout Endpoint
POST https://api.xixapay.com/api/v1/transferπ¦ Payout Request Payload (JSON)
{
"businessId": "string",
"amount": 0,
"bank": "string",
"accountNumber": "string",
"narration": "string"
}Field Description
businessId
string
β
Xixapay business ID
amount
number
β
Amount to transfer (NGN)
bank
string
β
Bank code or bank name
accountNumber
string
β
10-digit Nigerian account number
narration
string
β
Transfer narration
Example Payout Request
π¦ Bank Verification (Recommended)
Before initiating a payout, verify bank details.
Endpoint
Request Body
Verification Response (Example)
β οΈ Always verify account details before sending a payout.
β
Successful Payout Response
β Failed Payout Response
π Recommended Payout Flow
Fetch supported banks
Verify bank account
Deduct user balance (lock row)
Initiate Xixapay payout
Store provider response
Mark payout as success or failed
Refund on failure if required
π¦ Get Supported Banks
Endpoint
Example Response
π Security Best Practices
Store API keys securely
Never expose secret keys on frontend
Validate payout amounts server-side
Implement idempotency using
referenceLog and monitor failed payouts
π Notes
All amounts are in NGN
Account number must be 10 digits
Payouts are instant
Last updated