Payezydevelopers
Sandbox

API reference / Billing

Get billing settings

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

Billing email and, for platforms, whether invoices are paid automatically.

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.

Response 200

Billing settings (billing:view)

FieldWhat it does
org_idstring (uuid)requiredNo description in the spec yet.
billing_modeenumrequiredbalance: fees are taken from the Payezy balance; invoice: platforms receive a monthly invoice

One of balance invoice

auto_debitbooleanrequiredPlatforms pay invoices from their Payezy balance automatically
billing_emailstringrequiredNo description in the spec yet.
net_terms_daysintegerrequiredNo description in the spec yet.