Billing
Set the org's auto-recharge policy
Command line
The orl CLI wraps this endpoint:
orl billing auto-recharge update --amount-cents <amount-cents> --enabled --threshold-cents <threshold-cents>Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
In: header
Path Parameters
orgId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/orgs/string/billing/auto-recharge" \ -H "Content-Type: application/json" \ -d '{ "enabled": true, "thresholdCents": 0, "amountCents": 0 }'{ "enabled": true, "thresholdCents": 0, "amountCents": 0}