Billing

Read the org's auto-recharge policy

GET
/v1/orgs/{orgId}/billing/auto-recharge
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/billing/auto-recharge"
{
  "enabled": true,
  "thresholdCents": 0,
  "amountCents": 0
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}