Payout
Create a payout transaction to send funds from merchant wallet to user.
Payout Funds Endpoint
Endpoint: POST /api/payout
Headers:
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
Request Body:
{
"amount": 500,
"currency": "XAF",
"paymentMethod": "mobile_money",
"phoneNumber": "+237123456789",
"operator": "MTN",
"country": "CM"
}
Parameters: Same as deposit endpoint
Response:
{
"status": "pending",
"message": "Payout initiated successfully",
"data": {
"transactionId": "API_PAY_123_1234567890",
"gatewayTransactionId": "gw_tx_789",
"amount": 500,
"currency": "XAF",
"environment": "sandbox"
}
}