Skip to main content
PUT
Set automatic top-up

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Ankra-Organisation-Id
string<uuid>

Act in another organisation the token's owner is an active member of; defaults to the token's own organisation.

Body

application/json
enabled
boolean
required
threshold_cents
integer
required
amount_cents
integer
required
daily_cap_cents
integer
monthly_cap_cents
integer

Response

The automatic top-up settings

configured
boolean
enabled
boolean
live
boolean
threshold_micros
integer
threshold_display
string
amount_cents
integer
daily_cap_cents
integer
monthly_cap_cents
integer
platform_max_daily_cents
integer
platform_max_monthly_cents
integer
card_on_file
boolean
activated_at
string<date-time> | null
suspended_at
string<date-time> | null
suspended_reason
string | null
consecutive_failures
integer
last_succeeded_at
string<date-time> | null
attempts
object[]