bootpaycommerce
관리자

거래 목록 조회

v1 API 상세 명세

구독 거래(order_subscription_transaction)는 회차(Bill) 목록 응답 안에 담겨 옵니다. 거래 내역은 회차 목록 API로 조회합니다.

API 엔드포인트

GET/v1/order_subscription_bills
Base URLhttps://api.bootapi.com

요청 파라미터

요청 파라미터

파라미터타입필수설명
order_subscription_idStringN구독 계약 ID 필터
statusString | Integer | ArrayN회차 상태 필터 (숫자 또는 bill_ready 같은 키). 여러 값은 status[]=bill_ready&status[]=bill_failed 또는 status=2,-1로 보냅니다
pageNumberN페이지 번호
limitNumberN페이지당 개수 (기본 20, 100 을 넘기면 20 으로 돌아갑니다)

코드 예제

curl -X GET "https://api.bootapi.com/v1/order_subscription_bills?order_subscription_id={id}&page=1&limit=10" \
  -H "Authorization: Basic {base64(client_key:secret_key)}" \
  -H "Content-Type: application/json"

응답

JSON
{
  "list": [
    {
      "order_subscription_bill_id": "6965f45c4cb8149d0771250d",
      "order_subscription_transaction": {
        "order_subscription_transaction_id": "6965f45c4cb8149d0771250e",
        "order_number": "26011385253324293160",
        "price": 1000,
        "purchase_price": 1000,
        "purchase_tax_free_price": 0,
        "status": "bill_completed",
        "purchased_at": "2026-01-13T07:29:33Z"
      }
    }
  ],
  "count": 24
}

회차 상태 (list[].order_subscription_transaction.status)

값키설명
2bill_ready결제 대기중
1bill_completed결제 완료
5bill_pending결제 지연
6bill_failure_delayed결제 실패 후 재시도 대기
10bill_cancelled관리자 취소
20bill_terminated해지로 인한 취소
-1bill_failed결제 실패

전체 값은 구독 청구(Bill) 상태에 있습니다.

응답 파라미터

파라미터타입설명
countNumber전체 회차 수
listArray회차 목록
  └─ order_subscription_transactionObject회차에 연결된 거래 정보
     └─ order_subscription_transaction_idString거래 고유 ID
     └─ order_numberString주문번호
     └─ priceNumber거래 금액
     └─ purchase_priceNumber실제 결제 금액
     └─ purchase_tax_free_priceNumber실제 결제 면세 금액
     └─ statusString거래 상태
     └─ purchased_atString결제 시각