생성된 링크페이 목록을 조건에 맞게 검색하고 조회해요. 생성일, 결제 상태, 고객 정보 등 다양한 조건으로 필터링이 가능해요.
API 엔드포인트
GET
https://api.bootapi.com/v1/invoicesBasic Auth요청 파라미터
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
keyword |
String | 선택 | 검색 키워드 (invoice_id 검색) |
user_id |
String | 선택 | 특정 고객의 링크페이만 조회 |
product_type |
Integer | 선택 | 상품 유형 필터 (기본 0) |
cs_type |
String | 선택 | 검색 일 유형 |
css_at |
String | 선택 | 검색 시작일 (YYYY-MM-DD) |
cse_at |
String | 선택 | 검색 종료일 (YYYY-MM-DD) |
page |
Integer | 선택 | 페이지 번호 (기본값: 1) |
limit |
Integer | 선택 | 페이지당 데이터 수 (기본값: 24) |
코드 예제
const { BootpayCommerce } = require('@bootpay/backend-js');
const commerce = new BootpayCommerce({
client_key: '{client_key}',
secret_key: '{secret_key}'
});
const response = await commerce.invoice.list({
page: 1,
limit: 20
});
console.log(response);javascriptfrom bootpay_backend.commerce import BootpayCommerce
commerce = BootpayCommerce('{client_key}', '{secret_key}')
response = commerce.invoice_list({
'page': 1,
'limit': 20
})
print(response)pythonuse Bootpay\ServerPhp\BootpayCommerceApi;
$commerce = new BootpayCommerceApi("{client_key}", "{secret_key}");
$response = $commerce->invoice->list([
'page' => 1,
'limit' => 20
]);
print_r($response);phpimport kr.co.bootpay.store.BootpayStore;
import kr.co.bootpay.store.model.request.TokenPayload;
import kr.co.bootpay.store.model.request.invoice.InvoiceListParams;
import kr.co.bootpay.store.model.response.BootpayStoreResponse;
TokenPayload tokenPayload = new TokenPayload("{client_key}", "{secret_key}");
BootpayStore commerce = new BootpayStore(tokenPayload).withToken();
InvoiceListParams params = new InvoiceListParams();
params.page = 1;
params.limit = 20;
BootpayStoreResponse response = commerce.invoice.list(params);
System.out.println(response.getData());javarequire 'bootpay-backend-ruby'
commerce = BootpayStore::RestClient.new(client_key: '{client_key}', secret_key: '{secret_key}')
response = commerce.invoice_list(
page: 1,
limit: 20
)
puts responserubycommerce := bootpay.NewCommerceApi("{client_key}", "{secret_key}")
response, err := commerce.Invoice.List(map[string]interface{}{
"page": 1,
"limit": 20,
})
fmt.Println(response)gousing Bootpay.Commerce;
var commerce = new BootpayCommerceApi("{client_key}", "{secret_key}");
var response = await commerce.Invoice.List(new {
page = 1,
limit = 20
});
Console.WriteLine(response);csharp응답
성공 응답
{
"count": 45,
"list": [
{
"id": "687a1b2c3d4e5f6789012345",
"invoice_id": "INV_20250711_001",
"name": "프리미엄 서비스 결제",
"price": 50000,
"status": 1,
"created_at": "2025-07-11T02:52:09Z"
}
]
}json
