> 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: Sample Flows ## Article: Sample Flows ## Article Link: https://dev.wix.com/docs/api-reference/business-management/get-paid/payment-links/payment-link-settings/sample-flows.md ## Article Content: # Sample Use Cases and Flows This article shares some possible use cases you can support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your implementation. ## Display payment link data You can display payment link data on a site page or dashboard page by completing the following steps: 1. Collect payment link data to display by calling [Query Payment Links](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-links/query-payment-links.md). 2. Display the returned values. ## Create and send a payment link to predefined contacts You can create and send a payment link by completing the following steps: 1. Call [Create Payment Link](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-links/create-payment-link.md) to create a payment link, and specify the following: - Type: Specify either `ECOM` and the corresponding `ecomPaymentLink` with details about the items to be purchased, or `ECOM_ORDER` and the corresponding `ecomOrderPaymentLink` with the Wix eCommerce order ID. - Recipients: Contact IDs of buyers who should receive the payment link, and the channels to use when sending the payment link. 2. Call [Send Payment Link](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-links/send-payment-link.md) to send the created payment link. The payment link will be sent to the predefined recipients. > **Note**: If you didn't specify recipients in the Create Payment Link request, you should specify them in the [Send Payment Link](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-links/send-payment-link.md) request instead. 3. Buyer opens the payment link and is directed to a Wix eCommerce checkout page. 4. Buyer completes checkout. 5. A [payment link payment](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-link-payments/introduction.md) is created. ## Create a payment link for Wix Stores products You can create and send a payment link for specific Wix Stores products by completing the following: Call [Create Payment Link](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-links/create-payment-link.md) to create a payment link, and specify the following: - `type`:`ECOM`. - In the `ecomPaymentLink` object: - specify the `lineItems.type` = `CATALOG`. - In the `catalogItem` object: - specify the Wix Stores Catalog product ID as the `catalogReference.catalogItemId`, - specify Wix Stores' `catalogReference.appId`: "215238eb-22a5-4c36-9e7b-e7c08025e04e". ## Lead a Wix user directly to a checkout page for an existing payment link You can allow a Wix user to redirect directly to a checkout page for an existing payment link by completing the following steps: 1. Select an existing payment link, or create one. 1. Display a call to action that calls [Initiate Payment](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-links/initiate-payment.md) and specifies the selected payment link ID. 1. When the Wix user initiates the action, direct them to the returned URL. Note that For `ECOM` type payment links, `ecomCheckout.checkoutUrl` is returned, and for `ECOM_ORDER` type payment links, `ecomOrder.orderUrl` is returned. 1. Wix user completes the checkout on behalf of the buyer. 1. A [payment link payment](https://dev.wix.com/docs/rest/business-management/get-paid/payment-links/payment-link-payments/introduction.md) is created.