---
title: Recommended Flow
slug: recommended-flow
createdAt: 2022-03-23T01:37:36.000Z
---

Below is the recommended flow when creating an order and embedding the payment iFrame. &#x20;

Bolded are the steps that are the most important

1. **Create the Order&#x9;**
2. Get Information About an Order&#x9;
3. **Get Payment Link to send to Patient (Optional)**
4. Send Patient an Invoice Email	*(Optional)*
5. **Show FeatherPay Payment Page via Javascript / iFrame (Optional)**
6. Refund an Order	*(Optional)*
7. Cancel an Order *(Optional)*
8. Get Order Status Webhook *(Optional)*
9. Get Payment Transaction Webhook *(Optional)*
   1. Used to get Ledger Data in real-time
10. Get Daily Payment Transactions Summary *(Optional)*
    1. Used to reconcile books at end of day by getting a list of payment transactions in a given date range

