Enable SaaS for Sub-Account (Formerly Location)
POST/saas/enable-saas/:locationId
Enable SaaS for Sub-Account (Formerly Location) based on the data provided
info
This feature is only available on Agency Pro ($497) plan.
Request
Version stringrequired
API Version
Available options
2021-07-28locationId stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
stripeAccountIdstring
Stripe account id(Required only for SaaS V1)
namestring
Name of the stripe customer(Required only for SaaS V1)
emailstring
Email of the stripe customer(Required only for SaaS V1)
stripeCustomerIdstring
Stripe customer id if exists(Required only for SaaS V1)
companyIdstringrequired
isSaaSV2booleanrequired
Denotes if it is a saas v2 or v1 sub-account
contactIdstring
Agency subaccount used for payment provider integration(Required Only for SaaS V2)
providerLocationIdstring
Agency Subaccount ID
descriptionstring
Description
saasPlanIdstring
Required only while pre-configuring saas subscription
priceIdstring
Required only while pre-configuring saas subscription
{
"stripeAccountId": "acct_1QDPY5FpU9DlKp7RQ8BXfywx",
"name": "John Doe",
"stripeCustomerId": "cus_1QDPY5FpU9DlKp7RQ8BXfywx",
"companyId": "string",
"isSaaSV2": true,
"contactId": "1QDPY5FpU9DlKp7RQ8BXfywx",
"providerLocationId": "r06mdj4OrrERzYDvsOdh",
"description": "Description",
"saasPlanId": "1QDPY5FpU9DlKp7RQ8BXfywx",
"priceId": "price_1QDPY5FpU9DlKp7RQ8BXfywx"
}