Skip to main content
Version: v3

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 optionsv3
locationId stringrequired
application/json

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

application/json

Result of enabling SaaS for the sub-account.

Schema
    oneOf

    SaaS v1 enable response (proxied from the internal enable-saas API).

    customer_idstringrequired
    okbooleanrequired
    paymentMethodAddedbooleanrequired