Skip to main content
POST
Retrieve Cashout Status

Headers

Content-Type
string
default:application/json
required

Media type of the body sent to the API. Must be application/json.

Payload-Signature
string
required

Control Signature.

Body

application/json
login
string
required

Your eron CASHOUTS API login key. Length 32 max.

pass
string
required

Your eron CASHOUTS API pass key. Length 32 max.

cashout_id
number

The ID of the cashout to check status of. It is the one generated by eron when the cashout was created. (Required if external_id is not provided)

external_id
string

The 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)

Response

The status of the cashout was successfully retrieved.

cashout_status
enum<integer>

Status code of the cashout.

  • 0: PENDING - The cashout was accepted by eron 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.
Available options:
0,
1,
2,
3,
4,
5
cashout_status_description
string

Description of the status. (e.g., "Completed", "Pending", etc.)

rejection_code
enum<integer>

Rejection code if the cashout status is REJECTED. See enum for possible bank rejection codes.

Available options:
800,
801,
802,
803,
804,
805,
806,
807,
808,
809,
810,
811,
812,
813,
814,
815,
816,
817,
818,
819,
820,
821,
822,
824
rejection_reason
string

Textual reason for rejection, corresponding to the rejection_code. (e.g., "ERROR_ACCOUNT_INCORRECT")

provider_external_reference
string

ID of the transaction on the bank side. For Pix, it's the E2E ID (End-to-end).

bank
object

Object containing information about the bank of the beneficiary.