Dedizierte Server

Cloud

Cloud-Konsole

Credit

Purchase credit

POST/v1/billing/credit/purchase

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

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

Body

application/json
  • amountinteger<int64>erforderlich

Antwort

201 · application/json

Created

  • successbooleanerforderlich

    Zulässige Werte:true

  • dataobject | nullerforderlich