> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Booking Policy Service Plugin # Type: Extension Config # Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policy-service-plugin/extension-config.md ## Description: The JSON object below defines the configuration for this service plugin extension. How you supply values depends on the framework you’re using: + **Self-hosted apps:** After adding a service plugin extension to your app in the app dashboard, provide configuration details in your extension's page. Learn more about how to add and configure a self-hosted service plugin extension with [REST](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions-with-rest.md) or the [SDK](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions-with-the-sdk.md). + **CLI apps:** When you [add a service plugin extension to your app with the Wix CLI](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend-extensions/service-plugins/add-service-plugin-extensions-with-the-cli.md), the required configuration details are populated automatically. You can then customize them in your extension's [`plugin.json`](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend-extensions/service-plugins/service-plugin-extension-files-and-code.md) file. ## Schema: ```json Type: Extension Config | type: BookingPolicyProviderConfig Description: The JSON object below defines the configuration for this service plugin extension. How you supply values depends on the framework you’re using: + **Self-hosted apps:** After adding a service plugin extension to your app in the app dashboard, provide configuration details in your extension's page. Learn more about how to add and configure a self-hosted service plugin extension with [REST](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions-with-rest.md) or the [SDK](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions-with-the-sdk.md). + **CLI apps:** When you [add a service plugin extension to your app with the Wix CLI](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend-extensions/service-plugins/add-service-plugin-extensions-with-the-cli.md), the required configuration details are populated automatically. You can then customize them in your extension's [`plugin.json`](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend-extensions/service-plugins/service-plugin-extension-files-and-code.md) file. - name: deploymentUri | type: SpiBaseUri | description: Base URI where your service plugin endpoints are deployed. For example, `https://my-app.com`. - name: baseUri | type: string | description: Base URI where the methods are called. Wix appends the path to the `baseUri`. For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`. - name: alternativeUris | type: Array | description: Alternate, custom URIs to replace the default URIs for specific service plugin methods. - name: methodName | type: string | description: Name of the method to create a custom URI for. For `methodName`, use the name of the method in PascalCase. For example, for Get Shipping Rates use `GetShippingRates`. - name: absoluteUri | type: string | description: Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI. Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`. - name: providerName | type: string | description: Display name for the provider. - name: value | type: string | description: ```