This creates a foreign exchange transaction quote for a base and counter currency pair along with either the base or counter currency amount required. A desired value date can be optionally supplied, otherwise the next available date will be used. Both base and counter currency are required, and one of base or counter currency amount. Transaction quotes can then be updated, refreshed, or confirmed. You can also specify payments when creating a transaction, but this is only supported if you have specified the transaction counter_currency_amount. When creating a transaction with a single payment, the payment amount can be set to null to automatically use the full counter_currency_amount.
If the feature is enabled for the customer, you may supply a rate_id obtained from the Retrieve an FX Rate endpoint to use that specific rate for this transaction quote.