Documentation Index
Fetch the complete documentation index at: https://docs.payx.company/llms.txt
Use this file to discover all available pages before exploring further.
Body Parameters
The amount to send in GHS.
The recipient’s 10-digit mobile money number.
The network provider. Options: MTN, TELECEL, AIRTELTIGO.
The currency code. Currently only GHS is supported.
A note that will appear in the recipient’s transaction history.
A note for the merchant’s internal records.
Optional email address of the recipient.
Custom JSON data to associate with the payout.
Response
A summary of the initiation status.
The unique ID for this transaction.
curl -X POST https://payx.company/api/v1/payout \
-H "x-api-key: sk_test_..." \
-H "Content-Type: application/json" \
-d '{
"amount": 50.0,
"phoneNumber": "0551234987",
"network": "MTN",
"payeeNote": "Supplier Payment"
}'
{
"message": "Payout initiated",
"transactionId": "tx_987654321",
"status": "PENDING"
}