{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/coinbase/main/json-schema/coinbase-payment-method-schema.json", "title": "PaymentMethod", "description": "A linked payment method", "x-generated": "2026-10-13", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/coinbase-deposits-api-openapi.yml#/components/schemas/PaymentMethod", "type": "object", "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" } } }