Transfers
Send money from your balance to any MoMo wallet or Ghanaian bank account, from your server. Look up the registered name first if you want to be sure.
Live
Transfers work with test keys today. Live transfers need your business
verified, an IP allowlist on your live key, sending switched on by your
business's owner, and sending money switched on for Xtopay by our payment
partner; until then a live transfer answers 503 unavailable.
A transfer sends money from your available balance to a MoMo wallet (MTN, Telecel or AT) or a bank account: pay suppliers, riders, agents or winners from your own system.
Money that leaves can't be pulled back, so sending is guarded:
- Your owner switches it on, in the dashboard's Developers page, with a code from their authenticator app. It's off until they do.
- Limits: the most one transfer can be, and the most per day. Over them, transfers are refused.
- Approval: transfers over an amount the owner sets wait for the owner to approve them in the dashboard. Their money is held meanwhile.
- Emails to the owner whenever sending is switched on or off, the limits change, a transfer waits for approval, or a day's limit is reached.
Send money
Prop
Type
curl https://api.xtopay.co/v1/transfers \
-H "Authorization: Bearer sk_test_…" \
-H "Idempotency-Key: rider-0931" \
-H "Content-Type: application/json" \
-d '{
"amount": 120,
"recipient": { "type": "momo", "phone": "024 555 0101", "name": "Kwame Asante" },
"description": "Rider pay, week 43",
"client_reference": "rider-0931"
}'It answers with the transfer:
{
"success": true,
"data": {
"reference": "XTP-TR-4P8Q2X6WMN",
"business_id": "48271935",
"client_reference": "rider-0931",
"mode": "test",
"amount": 120,
"fee": 1.8,
"currency": "GHS",
"status": "processing",
"recipient": {
"type": "momo",
"network": "mtn",
"bank_code": null,
"bank_name": null,
"account_number": "233245550101",
"name": "Kwame Asante"
},
"description": "Rider pay, week 43",
"metadata": {},
"failure_reason": null,
"created_at": "2026-10-24T15:24:10Z",
"decided_at": null,
"paid_at": null
}
}status | |
|---|---|
pending_approval | Over your owner's approval amount: waiting for them. Its money is held |
processing | On its way |
successful | It reached the wallet or account |
failed | It couldn't be sent; failure_reason says why. The money is back in your balance |
declined | Your owner declined it, or nobody approved it within 24 hours. The money is back |
Finding out how it ended
- A webhook,
transfer.successful,transfer.failedortransfer.declined, goes to your endpoints. - Or ask:
GET /v1/transfers/{reference}. One on its way is checked when you ask (at most every 5 seconds).
Lists your transfers, newest first, in the key's mode: status,
client_reference, from and to (ISO 8601), page and page_size
(up to 100).
Check whose account it is
Before you send, you can look up the name a wallet or bank account is registered to, and compare it with who you meant. It costs nothing in test mode; live lookups are limited to 20 a minute per key and 500 a day.
{ "type": "momo", "phone": "024 555 0101" }{
"success": true,
"data": {
"type": "momo",
"network": "mtn",
"bank_code": null,
"account_number": "233245550101",
"status": "found",
"name": "KWAME ASANTE"
}
}status is found, not_found (there's no such wallet or account), or
no_answer (the network or bank didn't say just now: try again later). For
a bank account, send { "type": "bank", "bank_code": "300304", "account_number": "1021450098871" }.
Banks
The banks you can send to, with their code and name.
Your balance
{
"success": true,
"data": { "available": 4210.35, "pending": 980, "currency": "GHS", "mode": "live" }
}Transfers come out of available: money from payments that has settled.
pending hasn't settled yet, and can't be sent. A transfer that waits for
approval, or is on its way, holds its amount and fee; one that fails or is
declined gives them back.
With a test key, it's your test balance: test charges, less test transfers. Make a few test charges to fill it.
Limits
| Per transfer, per day | What your owner sets in Developers (GH₵5,000 and GH₵20,000 to start). Over either: 400 limit_exceeded |
| Not enough balance | 400 insufficient_balance |
| Requests | 30 transfers a minute per key, and 5 to the same account in 10 minutes. Past either: 429 with Retry-After |
Send an Idempotency-Key with every transfer, and a client_reference: a
retry then can't send twice. See Errors and retries.