> 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: Example Flows ## Article: Example Flows ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/example-flows.md ## Article Content: # Sample Use Case & Flow: Order Transactions This article shares a possible use case your app could support, as well as an example flow. You're certainly not limited to this use case, but it can be a helpful jumping off point as you plan your app's implementation. ## Retrieve transactions related eCommerce orders Your app can retrieve details about payments and refunds associated with an order. For example, you can check for payments that were made by credit-card, payments made by gift card, or orders that were not successfully refunded. To retrieve info about an order's transactions: 1. Call [List Transactions For Single Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/list-transactions-for-single-order.md) with an [eCommerce order ID](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/introduction.md). * To retrieve transaction details about more than 1 order, call [List Transactions For Multiple Orders](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/list-transactions-for-multiple-orders.md) with an array of [eCommerce order IDs](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/introduction.md). 2. You can use the returned info to check payment and refund details in the relevant provider or gateway systems, pass the details on to your accounting or invoice apps, and more. ## Add payment records to imported orders If you are importing orders from other systems, you may want to add payment records to those orders. To add a payment record to an order that is already in the eCommerce system: 1. Once you have the order ID, pass it to the [Add Payments](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/add-payments.md) endpoint. 2. In the body params, pass payment details like the `createdDate`, `amount`, `paymentMethod`, and any other payment details. 3. When using [Add Payments](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/add-payments.md) you can add up to 50 payment records to a single order with 1 API call.