Money Transfer
Endpoints
Money Transfer
Execute a money transfer to any phone number
POST
Money Transfer
Overview
Execute a money transfer from your merchant account to any phone number in supported countries. This endpoint processes the actual transfer and debits your account.Endpoint
Authentication
string
required
Your CashQ API Key for authentication
string
required
Must be
application/jsonRequest Body
The request body parameters are identical to Check Transfer.string
required
Unique numeric identifier for this transfer. Should match the ID used in Check Transfer. Must be numeric only.
string
required
Sender’s phone number in E.164 format (e.g.,
"+15615019469")string
required
Receiver’s phone number in E.164 format (e.g.,
"+201234567890")string
required
Transfer amount in dollars (e.g.,
"5.0" for $5.00)string
required
ID of corridor (e.g.,
"1271" for EGP). Payment attributes depend on the corridor and will be provided for the requested corridor upon request.string
required
Country code of receiver (e.g.,
"MX" for Mexico, "EG" for Egypt).string
required
Currency code for the receiver (e.g.,
"MXN" for Mexican Peso, "EGP" for Egyptian Pound)array
required
Array of corridor-specific payment attributes. Required attributes vary by corridor and include receiver details, bank information, address, and identification. Contact support for specific corridor requirements.
Request Example
Response
boolean
required
Indicates if the transfer was initiated successfully
string
Error message if transfer failed, empty string if successful
object
Transfer response details
Response Examples
Complete Transfer Flow
Follow this recommended flow for executing transfers:1
Check balance
Verify you have sufficient funds using Get Balance
2
Check KYC
Verify receiver’s KYC status using Check KYC
3
Validate transfer
Call Check Transfer to validate parameters
4
Execute transfer
Call this endpoint to execute the transfer
5
Monitor status
Use Check Status to monitor transfer completion
Transfer States
After initiating a transfer, monitor its status:See the complete Status Codes Reference for all possible states.
Error Responses
Best Practices
Always validate first
Always validate first
Call Check Transfer before executing to catch errors early and check receiver status.
Use unique transfer IDs
Use unique transfer IDs
Generate unique IDs for each transfer. Reusing IDs may cause duplicate transfer errors.
Check balance before transfer
Check balance before transfer
Verify sufficient funds to avoid insufficient balance errors.
Monitor transfer status
Monitor transfer status
Poll the status endpoint to track transfer completion and handle any issues.
Handle payment invitations
Handle payment invitations
Inform users when sending to new receivers about the 6-hour expiration window.
Implement idempotency
Implement idempotency
Store transfer IDs and results to prevent duplicate transfers if requests are retried.
Log all transfers
Log all transfers
Keep detailed logs of all transfer attempts for debugging and reconciliation.
Related Endpoints
Check Transfer
Validate transfer before execution
Check Status
Monitor transfer status after execution
Get Balance
Check available funds before transfer
Check KYC
Verify receiver’s limits before transfer
