Coinbase · Schema

BuyQuote

A price quote for buying cryptocurrency

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
coinbase_fee object Coinbase fee details
network_fee object Network fee details
payment_subtotal object Subtotal before fees
payment_total object Total payment amount
purchase_amount object Crypto amount to be received
quote_id string Unique quote identifier
View JSON Schema on GitHub

JSON Schema

coinbase-buyquote-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BuyQuote",
  "title": "BuyQuote",
  "type": "object",
  "description": "A price quote for buying cryptocurrency",
  "properties": {
    "coinbase_fee": {
      "type": "object",
      "description": "Coinbase fee details",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Fee amount"
        },
        "currency": {
          "type": "string",
          "description": "Fee currency"
        }
      }
    },
    "network_fee": {
      "type": "object",
      "description": "Network fee details",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Fee amount"
        },
        "currency": {
          "type": "string",
          "description": "Fee currency"
        }
      }
    },
    "payment_subtotal": {
      "type": "object",
      "description": "Subtotal before fees",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Subtotal amount"
        },
        "currency": {
          "type": "string",
          "description": "Subtotal currency"
        }
      }
    },
    "payment_total": {
      "type": "object",
      "description": "Total payment amount",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Total amount"
        },
        "currency": {
          "type": "string",
          "description": "Total currency"
        }
      }
    },
    "purchase_amount": {
      "type": "object",
      "description": "Crypto amount to be received",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Purchase amount"
        },
        "currency": {
          "type": "string",
          "description": "Crypto currency"
        }
      }
    },
    "quote_id": {
      "type": "string",
      "description": "Unique quote identifier"
    }
  }
}