{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bitpagos/main/json-schema/bitpagos-post-api-v1-quotes-request-schema.json",
  "title": "PostApiV1QuotesRequest",
  "x-generated": "2026-09-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bitpagos-openapi-generated.yml#/components/schemas/PostApiV1QuotesRequest",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Unique identifier of the customer the quote is for. The customer must already exist and be active."
    },
    "fromCurrency": {
      "type": "string",
      "description": "The source currency for the conversion."
    },
    "toCurrency": {
      "type": "string",
      "description": "The target currency for the conversion."
    },
    "fromAmount": {
      "type": "string",
      "description": "The amount of the source currency to be converted."
    },
    "chain": {
      "type": "string",
      "description": "The blockchain network to be used for the conversion (applicable for certain cryptocurrencies)."
    },
    "paymentMethodType": {
      "type": "string",
      "description": "The desired payment method for the conversion (e.g., `bank_transfer`, `breb`, `r2p_bancolombia`, `r2p_nequi`, `pix`)."
    }
  },
  "required": [
    "customerId",
    "fromCurrency",
    "toCurrency",
    "fromAmount",
    "chain",
    "paymentMethodType"
  ]
}