Subscriptions
Subscription: Create
Create a new subscription. A subscription represents a recurring payment. Recurring payments may be on a weekly, monthly, or yearly basis, specified by the period parameter.
In order to create a subscription, a customer ID must be supplied. The customer object contains saved payment info, which is regularly charged by the subscription.
A subscription can't be modified once it's created. To change a subscription, you must delete it and create a new one.
post/subscriptions
Request
- Base URLhttps://komoju.com/api/v1
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"currency": "JPY"
}Response
200 response
Example response
{
"currency": "JPY",
"customer": {
"currency": "JPY"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.