Billing
Subscribe to product plan
API Documentation
Authorization
Agents
Phone Numbers
SIP
Messaging
Knowledge
Accounts
Billing
Billing
Subscribe to product plan
Subscribe to a product plan
POST
/
api
/
v2
/
product
/
subscribe
curl --request POST \
--url https://api.vida.dev/api/v2/product/subscribe \
--header 'Content-Type: application/json' \
--data '{
"productPlanId": "pplan-vida-business-basic",
"term": "month",
"cancelUrl": "https://yoursite.io/cancel",
"successUrl": "https://yoursite.io/success",
"checkoutType": "embedded"
}'
{
"success": true,
"message": "Success"
}
Authorizations
Vida API Token
Body
application/json
Response
200
application/json
Successfully subscribed
The response is of type object
.
curl --request POST \
--url https://api.vida.dev/api/v2/product/subscribe \
--header 'Content-Type: application/json' \
--data '{
"productPlanId": "pplan-vida-business-basic",
"term": "month",
"cancelUrl": "https://yoursite.io/cancel",
"successUrl": "https://yoursite.io/success",
"checkoutType": "embedded"
}'
{
"success": true,
"message": "Success"
}