POST

https://api.vida.dev

/
api
/
v2
/
product
/
subscribe

Authorizations

token
string
queryrequired

Vida API Token

Body

application/json
productPlanId
string
required

Product Plan Id to enable subscription

term
string
required

Subscription length of month or year

cancelUrl
string

If using external payment processor (eg Stripe) what url to redirect if payment canceled

successUrl
string

If using external payment processor (eg Stripe) what url to redirect if payment successful

Response

200 - application/json
success
boolean
message
string