Coinbase · Schema

PaymentMethod

A linked payment method

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
id string Payment method identifier
type string Payment method type
name string Display name
currency string Currency for this payment method
allow_buy boolean Whether buying is allowed
allow_sell boolean Whether selling is allowed
allow_deposit boolean Whether deposits are allowed
allow_withdraw boolean Whether withdrawals are allowed
View JSON Schema on GitHub

JSON Schema

coinbase-paymentmethod-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PaymentMethod",
  "title": "PaymentMethod",
  "type": "object",
  "description": "A linked payment method",
  "properties": {
    "id": {
      "type": "string",
      "description": "Payment method identifier"
    },
    "type": {
      "type": "string",
      "description": "Payment method type"
    },
    "name": {
      "type": "string",
      "description": "Display name"
    },
    "currency": {
      "type": "string",
      "description": "Currency for this payment method"
    },
    "allow_buy": {
      "type": "boolean",
      "description": "Whether buying is allowed"
    },
    "allow_sell": {
      "type": "boolean",
      "description": "Whether selling is allowed"
    },
    "allow_deposit": {
      "type": "boolean",
      "description": "Whether deposits are allowed"
    },
    "allow_withdraw": {
      "type": "boolean",
      "description": "Whether withdrawals are allowed"
    }
  }
}