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

{
    "data": {
        "amount": 250,
        "bank_name": "Banco Santander",
        "currency": "USD",
        "date_created": "2020-07-26T04:28:28Z",
        "external_id": "45343556242333",
        "last_status_change": "2020-07-26T04:28:51Z",
        "request_id": "9934005565ac4e098de983d1ff450231",
        "status": "PENDING",
        "user_document": "**********5-48"
    }
}

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

// URL
GET: https://payout-api-stg.directa24.com/v1/payments/9934005565ac4e098de983d1ff450231

Response: Success

Response Example

{
    "data": {
        "amount": 250,
        "bank_name": "Banco Santander",
        "currency": "USD",
        "date_created": "2020-07-26T04:28:28Z",
        "external_id": "45343556242333",
        "last_status_change": "2020-07-26T04:28:51Z",
        "request_id": "9934005565ac4e098de983d1ff450231",
        "status": "PENDING",
        "user_document": "**********5-48"
    }
}

Response Fields

Response: Error

Response Example

// Internal Error
{
    "error": "internal_error",
    "message": "An internal system error has occurred. Please, try again later"
}

// Cashout not found or not confirmed by the customer
{
    "error": "not_found",
    "message": "The requested resource doesn't exist"
}

Response Fields

Status HTTP Codes

Last updated