GetBurnQRCode
Function
Get Burn QR Code
Endpoint
- /v1/point/burn-qrcode
HTTP Method
- POST
Request Headers
- Authorization: Bearer {token}
- X-App-Key: {appKey}
Request Payload
{
"memberId": "KT00000001",
"type":"kdollar",
"value":"1"
}
Request Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| memberId | Yes | string | memberId | KT00000001 |
| type | Yes | string | type: kdollar | kdollar |
| value | Yes | string | value | 1 |
Response Payload
{
"status": 1,
"errorCode": 0,
"message": "success",
"memberId": "KT00000001",
"qrcodeValue": "202307181100468976HB1L9Z&0.40&20230718110146&10012275255",
"expirationTime": "2023-07-18T11:01:46+08:00"
}
Response Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| status | Yes | string | status code of the api call | |
| message | Yes | string | detail message of the api call | |
| errorCode | No | string | ||
| memberId | No | string | memberId | KT00000001 |
| qrcodeValue | No | string | qrcode value | xx |
| expirationTime | No | string | expiration time | 2023-07-18T11:01:46+08:00 |
Response Headers
Error Codes
| Status Code | Status Description |
|---|---|
| 1 | Internal Error |
| 3 | Missing Parameter |
| 4 | Invalid Input |
| 4100 | Member not found |
| 4120 | Member not bound to KDP |