Get a cashout status
Media type of the body sent to the API. Must be application/json.
application/jsonControl Signature.
2e5023770760ea0a02230bff1a6dab934fe3b47a5e3d43854b58676600ee3868Your onekeypayments CASHOUTS API login key. Length 32 max.
cashout_loginYour onekeypayments CASHOUTS API pass key. Length 32 max.
cashout_passThe ID of the cashout to check status of. It is the one generated by onekeypayments when the cashout was created. (Required if external_id is not provided)
11954The ID of the cashout to check status of. It is the one you sent when the cashout was created. (Required if cashout_id is not provided)
The status of the cashout was successfully retrieved.
Status code of the cashout.
- 0: PENDING - The cashout was accepted by onekeypayments but it wasn't sent to the bank yet. It can still be Canceled.
- 1: COMPLETED - The money reached the customer's account.
- 2: CANCELLED - The cashout was cancelled by you.
- 3: REJECTED - The cashout was rejected by the bank due to invalid bank account, account closed, etc.
- 4: DELIVERED - The cashout was sent to the bank for processing. At this point it can't be cancelled anymore.
- 5: ON HOLD - Cashout set to on hold by you. It won't be processed until manually changed again to Pending status.
1Possible values: Description of the status. (e.g., "Completed", "Pending", etc.)
CompletedRejection code if the cashout status is REJECTED. See enum for possible bank rejection codes.
800Possible values: Textual reason for rejection, corresponding to the rejection_code. (e.g., "ERROR_ACCOUNT_INCORRECT")
ERROR_ACCOUNT_INCORRECTID of the transaction on the bank side. For Pix, it's the E2E ID (End-to-end).
E352104102024022919987ScFRY3aab3Bad Request. This can be due to various reasons including invalid parameters, malformed JSON, KYC errors, or other client-side errors. Specific error codes and messages will be provided in the response body.
Unauthorized access. This can be due to invalid credentials or an unregistered IP address.
Precondition Failed. Typically indicates the cashout ID was not found.
Internal Server Error. This can be due to various server-side issues. Specific error codes and messages may be provided in the response body.
Last updated
Was this helpful?

