---
title: Generate a sell quote
endpoint: POST /api/v1/sell/quote
description: Sell
---

`POST /api/v1/sell/quote`

## Request

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `currencyPair` | string | required | `BTC-EUR` | The currency pair that is used for the quote. |
| `paymentMethod` | string | optional | `bankTransfer` | The payment method that the user wants to use to receive the payment. |
| `fiatAmount` | number | optional |  | The amount at which the user wants to buy cryptos. |
| `cryptoAmount` | number | optional |  | The amount of cryptos that the user wants to buy. |
| `fee` | number | optional | `1.5` | The profit in terms of a percentage for this order. If not present or null, your default fee is used. The default fee is also used for DCA and the widgets and can be set by your accountmanager. |

## Responses

| Status | Meaning |
| --- | --- |
| 200 | Returns a quote and appropriate data. |
| 400 | A list of possible errors for this endpoint. |

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `quote` | string | required | `eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEyMzQ1NjcsImV4cCI6MTU1NDU0N` | The quote that is generated based on the submitted data. |
| `currencyPair` | string | required | `BTCEUR` | The currency pair that is used for the quote. |
| `fiatAmount` | number | optional | `50` | The amount that the user will receive. |
| `cryptoAmount` | number | optional | `0.5` | The amount of cryptos that the user will have to pay. |
| `fiatNetworkFee` | number | required | `0` | The fee charged for consolidating transactions on the blockchain. |
| `btcdirectFee` | number | required | `0.75` | The fee charged by BTC Direct. |
| `btcdirectFeePercentage` | number | optional | `0.75` | The fee charged in percentage by BTC Direct. |
| `partnerFee` | number | required | `1.00` | The fee earned by the partner. |
| `partnerFeePercentage` | number | optional | `1.00` | The fee earned in percentage by the partner. |
| `singleCoinEstimate` | number | required | `96779.04` | The estimated value of a single coin. |
| `expiryDate` | string | required | `2019-06-06T16:16:16Z` | The date and time when this quote expires. |
| `bankAccountDisabled` | boolean | required |  | Whether or not the bank account provided has been disabled. Only bank accounts which have not been disabled can be used to sell cryptos to us. |
| `userLimitExceeded` | boolean | required |  | Replaced by `quoteUnconfirmableReasons`. Whether the user has exceeded their personal limit. |
| `currencyLimitExceeded` | boolean | required |  | Replaced by `quoteUnconfirmableReasons`. Whether the currency limit has been exceeded. |
| `quoteUnconfirmableReasons` | string[] | required |  | Reasons why this quote can not be confirmed. |
| `sourceCurrency` | one of | optional |  | The source (crypto) currency with CAIP-19 identifier. |
| `targetCurrency` | one of | optional |  | The target (fiat) currency with CAIP-19 identifier. |
