Billing
Setup drawdown billing
Set up or update drawdown billing for the authenticated developer
post/api/v1/billing/drawdown
Request body
Example request
{
"chargeAutomatically": true,
"minBalanceSubunits": 200000,
"targetBalanceSubunits": 1000000
}Response
Updated billing configuration
Example response
{
"drawdown": {
"balance": {
"currencyCode": "USD",
"amountSubunits": 1500
},
"config": {
"currency": "USD",
"minBalanceSubunits": 200000,
"targetBalanceSubunits": 1000000
}
}
}