Create currency exchange quote
Endpoint accepts idempotency-key header to prevent the same quote from being created twice. In case of a duplicate request, the error
code DUPLICATE_CURRENCY_EXCHANGE_QUOTE containing the id of the original quote (currencyExchangeQuoteId) will be returned.
The key should be a random v4 UUID to avoid false collisions.
Required scopes:
- partner.currency-exchange-quote.create
| Header Parameters |
|---|
idempotency-key uuid |
| Request Body — REQUIRED | |||
|---|---|---|---|
sell string — REQUIREDPossible values: [ Currency to sell. | |||
buy string — REQUIREDPossible values: [ Currency to buy. | |||
amount object — REQUIREDAmount and currency to convert. The currency must match either
|
| Responses | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200OK
|