Cashback
INFO
Every response arrives in the shared envelope — code, message, messages, status_code, time — with the payload in data. The tables below describe what is inside data.
GET /cashback/get-by-customer
Get the accrued cashback amount available for a specific customer.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
customer_id | string | Yes |
Request body
No request body.
Response
| Field | Type | Description |
|---|---|---|
customer_id | string | |
cashback | number | |
currency_id | string |
json
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": {
"customer_id": "string",
"cashback": 5000,
"currency_id": "string"
},
"time": "2025-05-01T12:00:00Z"
}This page is generated from the OpenAPI spec.