APIs
Mid-month modification of monthly auto-refill
This endpoint changes the auto-refill monthly setting on the account balance in a prorated way. It is only used to increase the refill amount. It follows the following process: Issue new tokens to account for given cost Figure out value of remaining tokens from previous refill and subtract that amount from the cost of the new refill Cancel all remaining tokens from previous refill User’s credit card is charged that prorated calculated cost User’s refill day is modified to start a new month today
POST
/
v1
/
accounts
/
{account_id}
/
modifymidmonth
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
account_id
string
requiredBody
application/json
account_id
string
requireddenomination
string
requiredamount
integer
requiredusd_charge
integer
requireddryrun
boolean
Response
200 - application/json
data
object