충전 상세 조회
단일 충전 요청의 상세 정보와 매칭된 거래 내역을 조회합니다.
GET
https://bank.apiacc.com/history/{id}충전 요청 ID로 상세 정보를 조회합니다. 승인된 요청은 매칭된 은행 거래 정보를 포함합니다.
경로 파라미터
| 필드 | 타입 | 필수 | 제한 | 예시 |
|---|---|---|---|---|
id조회할 충전 요청의 ID입니다. | string | 필수 | — | "chg_example123" |
curl -X GET "https://bank.apiacc.com/history/chg_example123" \
-H "Authorization: Bearer $BANK_API_KEY" \
--max-time 10응답
200충전 상세
{
"charge": {
"id": "chg_example123",
"amount": 10000,
"depositor": "홍길동",
"platform": "my-service",
"ref": "order_1234",
"status": "approved",
"requested_at": "2026-08-15T03:00:00Z",
"expires_at": "2026-08-15T03:03:00Z",
"approved_at": "2026-08-15T03:01:12Z",
"matched_transaction": {
"id": "txn_98765",
"bank_name": "국민은행",
"amount": 10000,
"depositor_name": "홍길동",
"transacted_at": "2026-08-15T03:01:05Z"
}
}
}주요 오류
| 상태 | error |
|---|---|
| 404 | charge_not_found |
| 403 | charge_not_owned |
| 429 | rate_limit_exceeded |