크레딧 사용량/내역 조회 API
GET kit-api/v1/credit-usages
GET kit-api/v1/credit-usagesExample
...kit-api/v1/credit-usages?createdAtAfter=2024-11-19T06:00:00.000ZRequest Query
Key
Description
Required
Response
Last updated
GET kit-api/v1/credit-usages...kit-api/v1/credit-usages?createdAtAfter=2024-11-19T06:00:00.000ZLast updated
{
"ok": true,
"data": {
"total": 2,
"creditUsages": [
{
"id": 10,
"case": "SIGNATURE_IDENTIFICATION",
"user": {
"id": 1,
"uuid": "08f450cb-87ef-4cda-9ebe-48665d35a677",
"name": "test1234",
"role": "USER",
"email": "[email protected]",
"language": "KOREAN",
"phone": null,
"createdAt": "2024-11-08T05:54:24.016Z",
"updatedAt": "2024-11-15T00:36:52.046Z"
},
"createdAt": "2024-11-19T06:57:24.477Z",
"updatedAt": "2024-11-19T06:57:24.477Z"
},
{
"id": 9,
"case": "TAX_BILL",
"user": {
"id": 1,
"uuid": "08f450cb-87ef-4cda-9ebe-48665d35a677",
"name": "test1234",
"role": "USER",
"email": "[email protected]",
"language": "KOREAN",
"phone": null,
"createdAt": "2024-11-08T05:54:24.016Z",
"updatedAt": "2024-11-15T00:36:52.046Z"
},
"createdAt": "2024-11-19T06:57:24.477Z",
"updatedAt": "2024-11-19T06:57:24.477Z"
}
]
}
}{
"ok": false, // api 실패
"message": "error message", // Error가 존재하면 message(string)로 전달
"errorCode": "ERROR_CODE"
}