Hanzo
OpenapiBilling

Moves this org between sandbox money and real money.

Moves this org between sandbox money and real money.

POST /v1/billing/mode

Addresshttps://api.hanzo.ai/v1/billing/mode
MethodPOST
Operationpost_billing_mode
AuthAuthorization: Bearer $HANZO_API_KEY

Moves this org between sandbox money and real money.

It decides whether a charge hits a real card, so it is the one posture change that is not self-service: the platform bar, never an org owner, because an org that could put itself in test mode could take priced work for free.

A named handler, not a closure, so zipdoc can lift this prose into the registry.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
testModebodyboolean

Response

StatusBodyMeaning
200Modeok

200 body — 4 fields.

FieldInTypeAlwaysDescription
livebodyboolean
orgIdbodystring
orgNamebodystring
testModebodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo billing mode

Billing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page