Authorizations
To authenticate against the API, use HTTP Basic Authentication with your customer ID as the username and API key as the password.
Path Parameters
Body
application/json
How frequently do balances refill
Available options:
MONTHLY
, YEARLY
, DAILY
, NEVER
These are possible renewal cadences that could be selected with their costs.
Example of how you would specify a $10 monthly option and a $110 annual plan (giving someone a discount for committing to a year):
"renewals":{
"MONTHLY" : {
"amount": 1000
},
"YEARLY" : {
"amount": 11000
}
}
This is where you specify any balance denominations that should be created and maintained for the account.
Example:
"balances":{
"tokens": {
"amount":500
},
"credits": {
"amount":0,
"variable_amount_cost":200
}
}
Response
200
OK