Coinbase · Schema

SellQuoteRequest

Request body for generating a sell quote

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
sell_currency string Cryptocurrency to sell
sell_amount string Amount of crypto to sell
cash_out_currency string Fiat currency to receive
country string ISO 3166-1 alpha-2 country code
subdivision string ISO 3166-2 subdivision code
View JSON Schema on GitHub

JSON Schema

coinbase-sellquoterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SellQuoteRequest",
  "title": "SellQuoteRequest",
  "type": "object",
  "description": "Request body for generating a sell quote",
  "required": [
    "sell_currency",
    "sell_amount",
    "cash_out_currency",
    "country"
  ],
  "properties": {
    "sell_currency": {
      "type": "string",
      "description": "Cryptocurrency to sell"
    },
    "sell_amount": {
      "type": "string",
      "description": "Amount of crypto to sell"
    },
    "cash_out_currency": {
      "type": "string",
      "description": "Fiat currency to receive"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code"
    },
    "subdivision": {
      "type": "string",
      "description": "ISO 3166-2 subdivision code"
    }
  }
}