Operator

Grant Build Credits. Fresh operator session, reason required, idempotent per requestId

post/operator/billing/accounts/{organizationId}/build-credits

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/billing/accounts/{organizationId}/build-credits
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

organizationIdstring uuid required

Request body

creditsinteger required
reasonstring required

required: shown in the audit log verbatim

requestIdstring uuid required

generated once per confirmation dialog: repeating the request (double click, retry) never repeats the money movement

Response

Granted

status'ok' required
referencestring nullable required

the Stripe object created (credit note, balance transaction) when any

replayboolean

Changes

No recorded changes to this operation across all 1 revision of this API.