post
https://b2b.getorbital.io/conversions/quotes
Request a quote for converting currency between two of your accounts.
The quote includes:
- Exchange rate
- Destination amount after conversion
- Validity period (
expiresAt) - Quote type (
type)
Quote Expiration:
expiresAt is the time until which the quote can be submitted (usually a minute or less, depending on the vendor). After expiresAt, execution is rejected. The validity period does not lock the rate.
Quote Type:
type is returned on the quote. It is not a request parameter.
executable: The rate is locked. Executing beforeexpiresAtsettles at the quoted rateindicative: The rate may change, including beforeexpiresAt. The sell amount is fixed. The buy amount may differ from the quoted destination amount on execution
Instruction Type:
Use instructionType to control whether the amount represents the source or destination side:
sell(default): Theamountis the source amount you are sellingbuy: Theamountis the destination amount you want to buy
Requirements:
- Both accounts must belong to your organization
- Source and destination currencies must be different
- Amount must be a positive number