Credit

Purchase credit

POST/v1/billing/credit/purchase

Creates an invoice for a credit purchase of the requested amount.

Autorisatie

  • Authorizationstringheaderverplicht

    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.

Vereiste toestemming: organization.billing.pay

Body

application/json
  • amountinteger<int64>verplicht

Antwoord

201 · application/json

Created

  • successbooleanverplicht

    Toegestane waarden:true

  • dataobject | nullverplicht