Skip to main content
GET
Invoices

Авторизации

X-API-Key
string
header
обязательно

Your API key from the Studio Dashboard

Параметры запроса

page
integer
по умолчанию:1

Page number, 1-indexed.

Требуемый диапазон: x >= 1
page_size
integer
по умолчанию:50

Items per page. Default 50, max 100.

Требуемый диапазон: 1 <= x <= 100
public_id
string
Maximum string length: 32
status
enum<string>
Доступные опции:
paid,
new,
processing,
cancelled
of_account_id
integer
from
string<date>

Lower bound on the resource date (YYYY-MM-DD, UTC, inclusive).

to
string<date>

Upper bound on the resource date (YYYY-MM-DD, UTC, inclusive).

sort
enum<string>
по умолчанию:date_desc

Sort order.

  • date_desc: newest invoices first (default).
  • date_asc: oldest invoices first.
  • amount_desc: largest amount first.
  • amount_asc: smallest amount first.
Доступные опции:
date_desc,
date_asc,
amount_desc,
amount_asc

Ответ

Successful response

success
boolean
Пример:

true

data
object[]
pagination
object

Page-based pagination, returned by every list endpoint that isn't a cursor feed.