Skip to main content
Version: Lastest

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

ParamsTypeDescription
dataArray of ObjectList of suppliers with accompanying card codes
data[].productTypeStringCard vendor
data[].productCodesArray of ObjectCard list
data[].productCodes[].nameStringCard name
data[].productCodes[].codeStringCard code
data[].productCodes[].valueIntegerCard value

Example

Response

{
"data": [
{
"productType": "APPOTA",
"productCodes": [
{
"name": "Thẻ Appota 10.000đ",
"code": "AC10",
"value": 10000
}
]
},
...
],
}