Credit

Purchase credit

POST/v1/billing/credit/purchase

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

Authorizations

  • Authorizationstringheaderrequired

    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.

Required permission: organization.billing.pay

Body

application/json
  • amountinteger<int64>required

Response

201 · application/json

Created

  • successbooleanrequired

    Allowed values:true

  • dataobject | nullrequired