Check Transfer
Endpoints
Check Transfer
Validate transfer details before sending money
POST
Check Transfer
Overview
Validate transfer details before executing a money transfer. This endpoint validates all transfer parameters and returns the foreign exchange (FX) rate for the corridor without actually sending money.Best Practice: Always call this endpoint before executing a transfer to validate the transaction and get the current FX rate for the transfer.
Endpoint
Authentication
string
required
Your CashQ API Key for authentication
string
required
Must be
application/jsonRequest Body
string
required
Unique numeric identifier for this transfer. Use this same ID when executing the 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 validation was successful
string
Error message if validation failed, empty string if successful
array
Array of response attributes containing additional information
Response Examples
Validation Checks
The endpoint validates:Phone Numbers
Validates sender and receiver phone number formats
Amount
Checks if amount is valid and within limits
Receiver Status
Checks if receiver exists on CashQ network
KYC Limits
Validates against receiver’s KYC limits
Best Practices
Always check before transfer
Always check before transfer
Call this endpoint before every transfer to validate parameters and check receiver status.
Use unique transfer IDs
Use unique transfer IDs
Generate unique numeric IDs for each transfer. Use the same ID for check and actual transfer. IDs must be numeric only.
Handle validation errors
Handle validation errors
Don’t proceed with transfer if validation fails. Show clear error messages to users.
Error Responses
Related Endpoints
Money Transfer
Execute the transfer after validation
Check KYC
Check receiver’s KYC status and limits
Check Status
Monitor transfer status after execution
