> 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: Service Plugins (SPIs) ## Namespace: bookings-custom-pricing ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/events-service-plugins/bookings/service-plugins-spis/bookings-custom-pricing/introduction.md ## Article Content: # Introduction The Custom Pricing service plugin (formerly SPI) is a service provider interface that allows site owners and collaborators to add custom pricing to bookings on their site. The custom pricing is calculated and used as the basis for the price when checking out the booking, overriding the standard Bookings pricing logic. Examples of custom pricing include surcharges for weekend rates or use of special equipment. Wix Bookings calls the [`calculatePrice()`](https://dev.wix.com/docs/velo/api-reference/wix-bookings-v2/service-plugins-spis/bookings-custom-pricing/calculate-price.md) Velo service plugin function to retrieve the relevant data for a site collaborator to customize the price. Site collaborators can then implement their own logic to calculate and return the price. Note that the `currency` used by `calculatePrice()` is your site's currency. You can find the currency of your site using the [`getPaymentCurrency()`](https://www.wix.com/velo/reference/wix-site-backend/generalinfo-obj/getpaymentcurrency) function. Learn more: + [Bookings Custom Pricing service plugin](https://support.wix.com/en/article/velo-tutorial-bookings-pricing-custom-extension) + [Velo: Custom App Extensions Using service plugins](https://support.wix.com/en/article/velo-custom-business-app-extensions-using-spis-beta) ### To add a service plugin 1. [Add the plugin to your site](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/integrations/custom-extensions-spis/custom-app-extensions-using-sp-is.md#step-1-create-a-new-extension-on-your-wix-site). 2. Update the [`getConfig()`](https://www.wix.com/velo/reference/spis/wix-bookings/bookings-custom-pricing/getconfig) function in the **-config.js** file that is added to your site during step 1. 3. Update the [`calculatePrice()`](https://www.wix.com/velo/reference/spis/wix-bookings/bookings-custom-pricing/calculateprice) function in the **.js** file that is added to your site during step 1.