본문으로 건너뛰기

선불카드 사용 이력 조회

POST 

/purchase/open/prepaid-card/v1/queries/get-prepaid-card-charging-events

선불카드 사용 이력 조회

Request

### Content-Type별 요청의 JSON Schema

{
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"title": "protos.purchase.GetPrepaidCardChargingEventsQuery"
}
}
}

Responses

OK

### Status Code별 응답의 JSON Schema

{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"enum": [
"PrepaidCardChargingEventType_UNKNOWN",
"PAYMENT",
"PAYMENT_CANCEL",
"REFUND",
"CHARGE",
"EXPIRATION",
"SUBTRACT"
],
"type": "string",
"format": "enum"
},
"createdDateTimeUtc": {
"type": "string"
},
"visitor": {
"type": "object",
"properties": {
"visitorId": {
"type": "string"
},
"name": {
"type": "string"
},
"chartNumber": {
"type": "string"
},
"owner": {
"type": "boolean"
}
},
"title": "protos.purchase.PrepaidCardVisitor"
},
"amount": {
"type": "object",
"properties": {
"type": {
"enum": [
"PrepaidCardChargingEventAmountType_UNKNOWN",
"BALANCE",
"POINT"
],
"type": "string",
"format": "enum"
},
"amount": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32"
},
"currency": {
"type": "string"
}
},
"title": "protos.procedure.PriceAmount"
}
},
"title": "protos.purchase.PrepaidCardChargingEventAmount"
},
"chargingId": {
"type": "string"
},
"memo": {
"type": "string"
}
},
"title": "protos.purchase.PrepaidCardChargingEvent"
}
}
},
"title": "protos.purchase.GetPrepaidCardChargingEventsQueryResponse"
}
}
}
}
}