Check Transfer Status
Endpoints
Check Transfer Status
Check the status of a money transfer
GET
Check Transfer Status
Overview
Check the current status of a money transfer using its transfer ID. This endpoint provides detailed information about the transfer state, including whether it’s completed, in progress, or encountered an error.Endpoint
Path Parameters
The unique money transfer ID returned when the transfer was created
Authentication
Your CashQ API Key for authentication
Request Example
Response
Status information for the transfer
Response Examples
Understanding Transfer States
Key Status Codes
| State | Substate | Final | Description |
|---|---|---|---|
| 0 | 0-2 | No | New transfer |
| 40 | 1-3 | No | Processing |
| 60 | - | Yes | Success (completed) |
| 80 | - | Yes | Error (failed) |
| -2 | 0 | Yes | Transfer not found |
See the complete Status Codes Reference for all possible states and substates.
Final Status
Thefinal field indicates whether the transfer has reached a terminal state:
final: 0- Transfer is still in progress, status may changefinal: 1- Transfer is complete (success or failure), status won’t change
Polling Best Practices
Use exponential backoff
Use exponential backoff
Start with short intervals (1 second) and gradually increase to avoid excessive API calls.
Check the final field
Check the final field
Stop polling when
final: 1 to avoid unnecessary requests.Set a maximum timeout
Set a maximum timeout
Don’t poll indefinitely. Set a reasonable maximum number of attempts or time limit.
Handle all states
Handle all states
Account for success (state 60), failure (state 80), and not found (state -2).
Error Responses
| Error Code | Description | Solution |
|---|---|---|
authentication_error | Invalid or missing API key | Verify your API key |
transfer_not_found | Transfer ID doesn’t exist | Check the transfer ID is correct |
internal_server_error | Server error occurred | Retry the request |
Related Endpoints
Money Transfer
Create a transfer and get the ID for status checking
Status Codes
Complete reference of all status codes
