---
title: "Get Detailed Quote"
method: POST
path: "/transactions/exchange/quote/detailed"
---

# Get Detailed Quote

`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`

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

## Request body

- object
  - `source` object, required: Source account in the currency that you want to SELL.
    - `identifier` string, required: Encrypted `id` of the source account. e.g. `cWc4SktyWlkxM0hwcmdYe6FMdXRSQT09`
    - `type` string, required: `ACCOUNT`
  - `destination` object, required: Destination account in the currency that you want to BUY.
    - `identifier` string, required: Encrypted `id` of the destination account. e.g.`cWc4SktyWlkxM0hwcmdYe6FMdXRSQT09`
    - `type` string: `ACCOUNT`
  - `fixedSide` string, 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.
  - `amount` object, required: Amount to be sold or bought.
    - `currency` 'AED' | 'AUD' | 'CAD' | 'CHF' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HRK' | 'HUF' | 'ILS' | 'JPY' | 'MXN' | 'NOK' | 'NZD' | 'PLN' | 'RON' | 'RUB' | 'SAR' | 'SEK' | 'SGD' | 'TRY' | 'USD' | 'ZAR' | 'BGN', required: Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code e.g. `EUR`
    - `value` number, float, required

## Response `200`

200

- object
  - `amount` object
    - `value` integer
    - `currency` string
  - `buyAmount` object
    - `value` number
    - `currency` string
  - `feeAmount` object
    - `value` number
    - `currency` string
  - `fixedSide` string
  - `fxRate` number
  - `midMarketFxRate` number
  - `quoteId` string
  - `quoteValidUntil` string
  - `rateType` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/openpayd/apis/openpayd-api.md) - [All operations](https://skmtc.dev/openpayd/apis/openpayd-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openpayd/apis/openpayd-api/revisions/0f820ef79fab?raw)
