Easy Cashout Status Endpoint
Learn how to check the status of a cashout requests with our Easy Cashout API
Easy Cashout Status Endpoint
GET
https://payout-api-stg.directa24.com/v1/payments/{request_id}
Use this endpoint to check wether a cashout was created by the customer and its status
Path Parameters
Name | Type | Description |
---|---|---|
request_id | string | This is the ID returned along with the cashout_url link |
Easy Cashout Status Request
Request Example
Once you have created an Easy Cashout request, the request won't be send for processing until the customer opens the link and fill in all their details. To know when the customer completed their details, you will need to check the status of it after some minutes. That can be done by doing a GET of the following URL with the ID obtained from the cashout_url.
If the Easy Cashout Creation returned the following URL:
"cashout_url": "https://payout.directa24.com/payout/9934005565ac4e098de983d1ff450231",
Then the ID after /payout/
will be used to identify the cashout with the Status endpoint: 9934005565ac4e098de983d1ff450231
Response: Success
Response Example
Response Fields
Field name | Format | Description |
---|---|---|
| object[] | Object containing the elements of the response |
| Number | Amount of the cashout. It is the same you sent |
| String | Name of the bank the customer chose |
| String | Currency of the amount. It is the same you sent |
| String | Date and Time in which the customer completed the cashout |
| String | External ID of the transaction. It is the same you sent |
| String | Last Date and Time in which the cashout changes its status |
| String | Cashout request ID |
| String | Status of the transaction: |
| String | Masked document ID of the customer |
Response: Error
Response Example
Response Fields
Field name | Format | Description |
---|---|---|
| String | Field containing the error type |
| String | Field containing the description of the error |
Status HTTP Codes
Code | Description |
---|---|
200 | Status of the cashout successfully retrieved |
404 | The cashout couldn't be locate with the ID provided |
5XX | Internal error |
Last updated