Invoices
Pay invoice
Pays the invoice from account credit or a saved payment method, or starts a payment for the caller to confirm when no method is given.
Autorisierung
- Authorizationstringheadererforderlich
Organization API key (org_...), created in the cloud console at https://cloud.serverside.com and shown once, sent as Authorization: Bearer <key>. It authenticates as the organization.
Erforderliche Berechtigung: organization.billing.pay
Pfadparameter
- idstring<uuid>erforderlich
Body
application/json- methodIdstring<uuid> | null
- providerTypeenum<string>erforderlich
Antwort
200 · application/jsonOK
- successbooleanerforderlich
- dataobject | nullerforderlich