충전 내역

플랫폼에서 생성한 충전 요청 내역을 조회합니다.

GEThttps://bank.apiacc.com/history

쿼리 파라미터로 조건을 지정하여 충전 요청 목록을 페이지네이션 형태로 조회합니다.

쿼리 파라미터

필드타입필수제한예시
platform

특정 플랫폼의 요청만 조회합니다.

string선택"my-service"
status

pending, approved, expired, failed 중 하나로 필터링합니다.

string선택"approved"
from

조회 시작 시각(ISO 8601)입니다.

string선택"2026-08-01T00:00:00Z"
to

조회 종료 시각(ISO 8601)입니다.

string선택"2026-08-15T00:00:00Z"
cursor

다음 페이지를 위한 커서 값입니다. 이전 응답의 next_cursor를 사용하세요.

string선택"chg_cursor_abc"
limit

한 번에 반환할 최대 항목 수입니다.

integer선택1~100, 기본값 2020
curl -X GET "https://bank.apiacc.com/history?platform=my-service&status=approved&limit=20" \
  -H "Authorization: Bearer $BANK_API_KEY" \
  --max-time 10

응답

200충전 내역 목록

{
  "items": [
    {
      "id": "chg_example123",
      "amount": 10000,
      "depositor": "홍길동",
      "platform": "my-service",
      "ref": "order_1234",
      "status": "approved",
      "requested_at": "2026-08-15T03:00:00Z",
      "approved_at": "2026-08-15T03:01:12Z"
    },
    {
      "id": "chg_example124",
      "amount": 5000,
      "depositor": "김철수",
      "platform": "my-service",
      "ref": "order_1235",
      "status": "pending",
      "requested_at": "2026-08-15T02:40:00Z",
      "approved_at": null
    }
  ],
  "next_cursor": "chg_cursor_def",
  "has_more": true
}

next_cursornull이면 마지막 페이지입니다.

주요 오류

상태error
400invalid_date_range
400invalid_cursor
429rate_limit_exceeded