Check the status of a money transfer
| 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 |
final 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 changeUse exponential backoff
Check the final field
final: 1 to avoid unnecessary requests.Set a maximum timeout
Handle all states
| 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 |