Payezydevelopers
Sandbox

API reference / Billing

List invoices and statements

GET/v1/orgs/{orgId}/billing/invoices

Monthly statements (direct customers) or invoices (platforms), newest first (billing:view).

Before you call it

  • Permissionbilling:view

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.
limitquery, integerHow many items to return.

1 to 100

Response 200

Statements and invoices

FieldWhat it does
itemsBillingInvoice[]requiredNo description in the spec yet.
items[].idstring (uuid)requiredNo description in the spec yet.
items[].numberstringrequiredNo description in the spec yet.
items[].kindenumrequiredNo description in the spec yet.

One of statement invoice

items[].statusenumrequiredNo description in the spec yet.

One of open past_due paid void

items[].period_startstring (date)requiredNo description in the spec yet.
items[].period_endstring (date)requiredNo description in the spec yet.
items[].currencystringrequiredNo description in the spec yet.
items[].subtotalstringrequiredNo description in the spec yet.
items[].credits_totalstringrequiredNo description in the spec yet.
items[].totalstringrequiredNo description in the spec yet.
items[].inline_paidstringrequiredFees already collected at settlement (shown, not owed)
items[].amount_paidstringrequiredNo description in the spec yet.
items[].amount_duestringrequiredNo description in the spec yet.
items[].due_atstring (date-time)No description in the spec yet.
items[].issued_atstring (date-time)No description in the spec yet.
items[].paid_atstring (date-time)No description in the spec yet.
items[].payment_methodenumNo description in the spec yet.

One of balance bank_transfer manual

items[].pdf_availablebooleanrequiredNo description in the spec yet.
items[].created_atstring (date-time)requiredNo description in the spec yet.