내원객 선불카드 잔액 조회 (잔액 + 잔여 포인트 + 최근 충전일)
POST/purchase/open/prepaid-card/v1/queries/get-visitor-prepaid-card-balance
내원객 선불카드 잔액 조회 (잔액 + 잔여 포인트 + 최근 충전일)
Request
### Content-Type별 요청의 JSON Schema
{
"application/json": {
"schema": {
"type": "object",
"properties": {
"visitorId": {
"type": "string"
}
},
"title": "protos.purchase.GetVisitorPrepaidCardBalanceQuery"
}
}
}
Responses
- 200
OK
### Status Code별 응답의 JSON Schema
{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"remainingBalance": {
"allOf": [
{
"type": "object",
"properties": {
"balance": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
},
"total": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
},
"title": "protos.purchase.PrepaidCardAmount"
}
],
"description": "보유 선불카드의 합산 현금 잔액"
},
"remainingPoint": {
"allOf": [
{
"type": "object",
"properties": {
"balance": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
},
"total": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
},
"title": "protos.purchase.PrepaidCardAmount"
}
],
"description": "보유 선불카드의 합산 포인트 잔액"
},
"lastBalanceChargedDateTimeUtc": {
"type": "string",
"description": "가장 최근 현금 충전 일시 (ISO 8601 UTC). 현금 충전 이력이 없으면 미설정."
},
"lastPointChargedDateTimeUtc": {
"type": "string",
"description": "가장 최근 포인트 충전 일시 (ISO 8601 UTC). 포인트 충전 이력이 없으면 미설정."
}
},
"title": "protos.purchase.VisitorPrepaidCardBalanceContract"
}
},
"title": "protos.purchase.GetVisitorPrepaidCardBalanceQueryResponse"
}
}
}
}
}