Create an auto top-up configuration

Requires the WALLET.UPDATE permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

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

Path parameters

versionstringRequiredDefaults to 1
version

Headers

x-platform-idstringOptional
Platform ID.

Request

This endpoint expects an object.
wallet_idstringRequired
Resource ID of type WALLET
statusenumRequired
thresholdobjectRequired
pricing_plan_schedule_idstringRequired

Resource ID of type PRICING_PLAN_SCHEDULE

pricing_item_idstringRequired

Resource ID of type PRICING_ITEM

payment_method_idstringRequired

Resource ID of type PAYMENT_METHOD

Response

Created
object_typestring or nullOptionalRead-only
idstring or nullOptionalRead-only
wallet_idstringOptional
Resource ID of type WALLET
statusenumOptional
thresholdobjectOptional
pricing_plan_schedule_idstringOptional

Resource ID of type PRICING_PLAN_SCHEDULE

pricing_item_idstringOptional

Resource ID of type PRICING_ITEM

payment_method_idstringOptional

Resource ID of type PAYMENT_METHOD

created_atstring or nullOptionalRead-only
updated_atstring or nullOptionalRead-only

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error