Withdraw

Endpoint:

Method: POST
Type: RAW
URL: {{API_BASE_URL}}/cards/withdraw

Request Parameter

Parameter Required Type Description
type Y enum custom_amount: Custom withdrawal amount,
all_amount: Withdraw entire card balance,
reserved_amount: Reserved amount, withdraw non-reserved portion
amount N number when type is reserved_amount, amount is required
request_id N string Optional, A unique request ID specified by the client. Requests with the same request_id will be ignored. This allows requests to be replayed if client is unsure of the outcome, e.g. due to network issues, system failures, etc. Note: Can be non-UUID as long as it is unique between requests.
items Y array items array
items[].card_number Y string card number
items[].amount N number when type is custom_amount, amount is required
{
    "type": "custom_amount",
    "request_id": "unique_request_456",
    "items": [
        {
            "card_number": "5329594889465733",
            "amount": 10
        },
        {
            "card_number": "5329594889465734",
            "amount": 20
        }
    ]
}

Response

201 http code