{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/coinbase/main/json-schema/coinbase-buy-quote-request-schema.json", "title": "BuyQuoteRequest", "description": "Request body for generating a buy quote", "x-generated": "2026-10-13", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/coinbase-buy-api-openapi.yml#/components/schemas/BuyQuoteRequest", "type": "object", "required": [ "purchase_currency", "payment_amount", "payment_currency", "country" ], "properties": { "purchase_currency": { "type": "string", "description": "Cryptocurrency to purchase" }, "payment_amount": { "type": "string", "description": "Amount in fiat currency" }, "payment_currency": { "type": "string", "description": "Fiat currency for payment" }, "payment_method": { "type": "string", "description": "Payment method type" }, "country": { "type": "string", "description": "ISO 3166-1 alpha-2 country code" }, "subdivision": { "type": "string", "description": "ISO 3166-2 subdivision code" } } }