Skip to main content
GET
/
api
/
v2
/
external
/
orgs
/
{slug}
/
auto-top-up
Get auto top-up
curl --request GET \
  --url https://api.example.com/api/v2/external/orgs/{slug}/auto-top-up
{
  "org_id": "<string>",
  "enabled": true,
  "top_up_below_balance": "<string>",
  "top_up_amount": "<string>",
  "consecutive_failed_attempts": 123
}

Path Parameters

slug
string
required

Response

Successful Response

Org auto top-up configuration (from Croesus).

org_id
string
required
enabled
boolean
required
top_up_below_balance
string
required

Decimal string. Do not cast to float.

top_up_amount
string
required

Decimal string. Do not cast to float.

consecutive_failed_attempts
integer
required