Skip to main content
PATCH
Update auto top-up
This reference describes API version 2026-05-25. Send Commet-Version: 2026-05-25 with your request.

Authorizations

x-api-key
string
header
required

Headers

Commet-Version
string
default:2026-05-25

API version used by this reference. Send this header to select this contract explicitly.

Path Parameters

id
string
required

Body

application/json
enabled
boolean
threshold
integer
Required range: 0 <= x <= 2147483647
quantity
integer

Credits each top-up buys. Credits plans only.

Required range: 1 <= x <= 2147483647
amount
integer

Minor units of the subscription currency each top-up adds. Balance plans only.

Required range: 1 <= x <= 2147483647
maxPerPeriod
integer
Required range: 1 <= x <= 100

Response

Success

success
any
required
data
object
required