Endpoint:
Method: GET
Type: RAW
URL: {{API_BASE_URL}}/cards/withdraws
Request Parameter
| Parameter | Required | Type | Description |
|---|---|---|---|
| order_id | N | integer | system unique ID for the withdraw order |
| request_id | N | string | client request ID used when creating the withdraw |
| card_number | N | string | card number, multiple card numbers separate with comma |
| status | N | string | status: pending, success, failure |
| page | N | integer | page |
| per_page | N | integer | page size (max 500) |
Example request:
GET {{API_BASE_URL}}/cards/withdraws?request_id=123456&status=success&per_page=20
Response
| Field | Type | Description |
|---|---|---|
| data | object | data |
| id | integer | withdraw item id |
| order_id | integer | system unique ID for the withdraw order |
| request_id | string | client request ID from creation |
| card_number | string | card_number |
| type | string | withdraw type |
| amount | float | amount |
| status | string | status:pending, success, failure |
| created_at | datetime | top up created time |
| meta | object | meta |
| pagination | object | pagination |
| total | number | total |
| count | number | count |
| per_page | number | per_page |
| current_page | number | current_page |
| total_pages | number | total_pages |
| links | object | links |
Status: 200
{
"data": [
{
"id": 886,
"order_id": 159,
"request_id": null,
"card_number": "5329000000000000",
"type": "custom_amount",
"amount": 1.00,
"status": "success",
"created_at": "2023-02-21 17:18:49"
}
],
"meta": {
"pagination": {
"total": 5,
"count": 5,
"per_page": 20,
"current_page": 1,
"total_pages": 1,
"links": {}
}
}
}