This endpoint queries the current status of a transfer. This is often used for checking the status of a transaction.
{
"created": "2020-11-30T02:47:53.061Z",
"transfer_id": "bd1cc56b-ce7f-4ad7-8901-3eaa689e90eb",
"source_user_id": "`5cafeb170a2b18519b1b8768",
"destination_user_id": "5f8d0c0603ffe06b7d4d9fcf",
"status": "SUCCESSFUL",
"amount": "90000",
"reference": "Monthly_Transfers_1234"
}
Object that would be generated upon creation of a Transfer
Timestamp of when the object was created
A unique reference for this Transfer set by Xendit systems
A unique reference for this Transfer that you set when making the request
The source of the transfer. This is the user_id of either your master or sub account
The destination of the transfer. This is the user_id
of either your master or sub account
The status of the Transfer. Available values SUCCESSFUL
,PENDING
, FAILED
The amount that was transferred
{
"error_code": "DATA_NOT_FOUND",
"message": "Could not find transfer by reference because reference may be invalid.",
"errors": [
"Detailed description here"
]
}
The object being referenced does not exist
{
"error_code": "INVALID_API_KEY_ERROR",
"message": "API key is not authorized for this API service, access to xenPlatform is needed",
"errors": [
"Detailed description here"
]
}
Invalid API key