Create a subscription
POST/api/v1/subscriptions
Create a subscription
Request
- application/vnd.api+json
Body
required
data
object
type stringrequired
Possible values: [subscriptions
]
attributes
object
stripe_token stringrequired
Stripe Setup Intent ID
relationships
object
business
object
data
object
type stringrequired
Possible values: [business
]
id stringrequired
Related Business UUID
stripe_plan
object
data
object
type stringrequired
Possible values: [stripe_plan
]
id stringrequired
Related Stripe Plan ID
Responses
- 201
Create a subscription
- application/vnd.api+json
- Schema
Schema
any
Loading...