Get Detailed Quote

Get a detailed quote for an exchange including a quoteId and fees for ultimately booking an exchange.

post/transactions/exchange/quote/detailed

Request

  • Base URL
    https://sandbox.openpayd.com/api
  • URL
    https://sandbox.openpayd.com/api/transactions/exchange/quote/detailed
  • Auth
    API key in header Authorization

Request body

fixedSidestring required

The side of the exchange currency pair that you wish to fix. You can fix the SELL or BUY side i.e. the source currency or destination account.

Response

200

fixedSidestring
fxRatenumber
midMarketFxRatenumber
quoteIdstring
quoteValidUntilstring
rateTypestring

Example response

{
  "amount": {
    "value": 100,
    "currency": "EUR"
  },
  "buyAmount": {
    "value": 85.92,
    "currency": "GBP"
  },
  "feeAmount": {
    "value": 18.15,
    "currency": "EUR"
  },
  "fixedSide": "SELL",
  "fxRate": 0.8592,
  "midMarketFxRate": 0.85922,
  "quoteId": "38dcd464-0def-4de4-9c60-ae64f04ce0a0",
  "quoteValidUntil": "2021-02-05T17:39:51.282Z",
  "rateType": "GUARANTEED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.