Endpoint:
Method: GET
Type: RAW
URL: {{API_BASE_URL}}/cards/top-ups
Request Parameter
| Parameter | Required | Type | Description |
|---|---|---|---|
| order_id | N | integer | system unique ID for the top-up order |
| request_id | N | string | client request ID used when creating the top-up |
| 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/top-ups?request_id=123123&status=success&per_page=20
Responseļ¼
| Parameter | Type | Description |
|---|---|---|
| data | object | data |
| id | integer | top up id |
| order_id | integer | system unique ID for the top-up order |
| request_id | string | client request ID from creation |
| card_number | string | card_number |
| 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": 1562,
"order_id": 976,
"request_id": "123123",
"card_number": "5329000000000000",
"amount": 1.00,
"status": "success",
"created_at": "2023-05-08 16:32:03"
}
],
"meta": {
"pagination": {
"total": 5,
"count": 5,
"per_page": 15,
"current_page": 1,
"total_pages": 1,
"links": {}
}
}
}