Payezydevelopers
Sandbox

API reference / Billing

Update billing settings

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

Billing email, and for platforms whether invoices are paid automatically from the Payezy balance (settings:manage). Direct customers are always debited from their balance.

Before you call it

  • Permissionsettings:manage

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.

Request body

FieldWhat it does
auto_debitbooleanPlatforms only
billing_emailstringNo description in the spec yet.

Response 200

Billing settings

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.