Skip to main content
PATCH
Set auto top-up

Authorizations

Authorization
string
header
required

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

Body

application/json
threshold
number
required

Credit level that triggers a top-up; 0 disables

pack
string

Credit pack key; required when threshold is above 0

Response

Success

data
object