> ## Documentation Index
> Fetch the complete documentation index at: https://developer.tazapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating a quote and then attaching it to a payout

This is useful for

* Displaying exchange rates to your customers
* Getting customer acceptance before executing FX
* Locking rates for a short, controlled window

### How it works

1. Create an FX quote via API
2. Quote returns:
   * Exchange rate
   * Validity duration
3. Attach the quote ID while creating the payout
4. Payout executes using the quoted rate

> Quotes are valid only for a limited time duration. Expired quotes cannot be used for payout creation.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/tazapay-58ae360f/SWJmhDU02-pAjete/images/diagrams/fx-quote-payout-flow-light.png?fit=max&auto=format&n=SWJmhDU02-pAjete&q=85&s=c62572c52c8423693ff71ed33780dc64" alt="FX quote payout flow" width="2016" height="2922" data-path="images/diagrams/fx-quote-payout-flow-light.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/tazapay-58ae360f/SWJmhDU02-pAjete/images/diagrams/fx-quote-payout-flow-dark.png?fit=max&auto=format&n=SWJmhDU02-pAjete&q=85&s=049b3d52cc337684f94167a75fcb2b48" alt="FX quote payout flow" width="2016" height="2922" data-path="images/diagrams/fx-quote-payout-flow-dark.png" />
</Frame>

## Relevant API Endpoints

* [Create Payout Quote](/api-reference/tazapay-api/create-payout-quote)
* [Create Payout](/api-reference/tazapay-api/create-payout)
