API for product code list
Endpoint: api/v1/service/shopcard/products
Method: GET
Header: How to generate JWT_TOKEN
{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}
Data result
| Params | Type | Description |
|---|---|---|
| data | Array of Object | List of suppliers with accompanying card codes |
| data[].productType | String | Card vendor |
| data[].productCodes | Array of Object | Card list |
| data[].productCodes[].name | String | Card name |
| data[].productCodes[].code | String | Card code |
| data[].productCodes[].value | Integer | Card value |
Example
Response
{
"data": [
{
"productType": "APPOTA",
"productCodes": [
{
"name": "Thẻ Appota 10.000đ",
"code": "AC10",
"value": 10000
}
]
},
...
],
}