# Account payouts - sequence diagrams Below are some of the most common use cases involving our Account Payouts, FX and Account APIs. ### Get an account balance before making a successful payout Check your account balance before sending a payout to a beneficiary. ```mermaid sequenceDiagram participant Merchant_Backend participant Balance_API participant Account_Payouts_API Merchant_Backend->>Balance_API: Request your account balance Balance_API->>Merchant_Backend: Send account balance Merchant_Backend->>Account_Payouts_API: Send request to make a payout to beneficiary Account_Payouts_API->>Merchant_Backend: Successful response Merchant_Backend-->>Account_Payouts_API: Send request to search for payouts Account_Payouts_API-->>Merchant_Backend: Response with payout details ``` br br ### Multiple payouts with search Make multiple payouts to multiple different beneficiaries and search by a specific criteria after. ```mermaid sequenceDiagram participant Merchant_Backend participant Account_Payouts_API Merchant_Backend->>Account_Payouts_API: Send request to make a multiple payouts to multiple beneficiaries Account_Payouts_API->>Merchant_Backend: Successful response Merchant_Backend->>Account_Payouts_API: Search using different filters Account_Payouts_API->>Merchant_Backend: Response with payout details ``` br br ### Make a payout with an FX quote Retrieve an FX quote which you can supply for up to 30 days in your payout request. ```mermaid sequenceDiagram participant Merchant_Backend participant FX_API participant Account_Payouts_API Merchant_Backend->>FX_API: Request an FX quote FX_API->>Merchant_Backend: Receive response with a quoteId Merchant_Backend->>Account_Payouts_API: Send request to make a payout to beneficiary using quoteId Account_Payouts_API->>Merchant_Backend: Successful response Merchant_Backend-->>Account_Payouts_API: Send request to search for payouts Account_Payouts_API-->>Merchant_Backend: Response with payout details ``` br br ### Reconciliation Reconcile returns due to unsuccessful payouts. ```mermaid sequenceDiagram participant Merchant_Backend participant Balance_API participant Account_Payouts_API participant Statement_API Merchant_Backend-->>Balance_API: Request account balance Balance_API-->>Merchant_Backend: Balance response Merchant_Backend->>Account_Payouts_API: Send request to make a payout to beneficiary Account_Payouts_API->>Merchant_Backend: Successful response Merchant_Backend->>Statement_API: Check statement to ensure funds haven't been returned Statement_API->>Merchant_Backend: Statement returned ```