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
Your CashQ API Key for authentication
Must be
application/jsonRequest Body
Unique numeric identifier for this transfer. Use this same ID when executing the transfer. Must be numeric only.
Sender’s phone number in E.164 format (e.g.,
"+15615019469")Receiver’s phone number in E.164 format (e.g.,
"+201234567890")Transfer amount in dollars (e.g.,
"5.0" for $5.00)ID of corridor (e.g.,
"1271" for EGP). Payment attributes depend on the corridor and will be provided for the requested corridor upon request.Country code of receiver (e.g.,
"MX" for Mexico, "EG" for Egypt).Currency code for the receiver (e.g.,
"MXN" for Mexican Peso, "EGP" for Egyptian Pound)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
Indicates if the validation was successful
Error message if validation failed, empty string if successful
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
| Error Code | Description | Solution |
|---|---|---|
authentication_error | Invalid or missing API key | Verify your API key |
invalid_phone_number | Phone number format incorrect | Use E.164 format without + |
invalid_amount | Amount is invalid | Check amount is positive and properly formatted |
invalid_request | Missing or invalid parameters | Verify all required fields are included |
kyc_not_verified | Receiver KYC limits exceeded | Reduce amount or ask receiver to verify |
internal_server_error | Server error occurred | Retry the request |
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
