Credit

Purchase credit

POST/v1/billing/credit/purchase

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

Autorisations

  • Authorizationstringheaderobligatoire

    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.

Permission requise : organization.billing.pay

Corps

application/json
  • amountinteger<int64>obligatoire

Réponse

201 · application/json

Created

  • successbooleanobligatoire

    Valeurs autorisées :true

  • dataobject | nullobligatoire