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
- Permission
settings:manage
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The 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
| Field | What it does |
|---|---|
auto_debitboolean | Platforms only |
billing_emailstring | No description in the spec yet. |
Response 200
Billing settings
| Field | What it does |
|---|---|
org_idstring (uuid)required | No description in the spec yet. |
billing_modeenumrequired | balance: fees are taken from the Payezy balance; invoice: platforms receive a monthly invoice One of |
auto_debitbooleanrequired | Platforms pay invoices from their Payezy balance automatically |
billing_emailstringrequired | No description in the spec yet. |
net_terms_daysintegerrequired | No description in the spec yet. |