Skip to main content
PUT
Update topup

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body schema.

enabled
boolean
required

Whether top-ups are enabled.

threshold
number
required

Credit threshold that triggers a top-up.

creditsCount
number
required

Number of credits to top up.

Response

Successful response

subscription
Subscription · object
required

Updated subscription details.