Skip to main content

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​

FieldRequiredTypeRemarkSample
memberIdYesstringmemberIdKT00000001
typeYesstringtype: kdollarkdollar
valueYesstringvalue1

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​

FieldRequiredTypeRemarkSample
statusYesstringstatus code of the api call
messageYesstringdetail message of the api call
errorCodeNostring
memberIdNostringmemberIdKT00000001
qrcodeValueNostringqrcode valuexx
expirationTimeNostringexpiration time2023-07-18T11:01:46+08:00

Response Headers​

Error Codes​

Status CodeStatus Description
1Internal Error
3Missing Parameter
4Invalid Input
4100Member not found
4120Member not bound to KDP