Skip to main content
PATCH
Update top-up and payout settings

Authorizations

Authorization
string
header
required

User keys begin with darwin_. Application service-account keys begin with darwin_sa_ and are restricted to linked agents.

Path Parameters

agentId
string
required

Body

application/json
autoTopupEnabled
boolean
autoTopupThresholdMinor
integer | null
Required range: 0 <= x <= 1000000
autoTopupAmountMinor
integer | null
Required range: 100 <= x <= 1000000
payoutSchedule
enum<string>
Available options:
manual,
monthly

Response

The updated Product plan and money settings.

plan
object
required
autoTopup
object
required
payoutSchedule
enum<string>
required
Available options:
manual,
monthly