# MD for: https://www.mercadopago.com.pe/developers/en/docs/checkout-pro-orders/additional-settings/exclude-payment-methods.md \# Exclude payment methods By default, all payment methods are available in Checkout Pro. You can customize this configuration through the order to remove unwanted options. > NOTE > > To exclude digital wallets in \`not\_allowed\_types\`, use the value \`digital\_currency\` instead of \`digital\_wallet\`. To exclude the \*\*Account money\*\* payment method, use the value \`account\_money\` in \`not\_allowed\_types\` or \`not\_allowed\_ids\`. The table below describes the attributes of the \`config.payment\_method\` object available to configure payment methods according to business needs. | Attribute | Type | Description | Example | |---|---|---|---| | \`config.payment\_method.not\_allowed\_types\` | Array | Allows excluding unwanted payment method types, such as offline payments, credit or debit cards, among others. To get the full list of available types, send a \*\*GET\*\* with your :toolTipComponent\[Access Token\]{content="Private key of the application created in Mercado Pago, used in the \_backend\_. You can access it through \*Your integrations > Integration data > Production credentials\*."} to the endpoint :TagComponent{tag="API" text="/v1/payment\_methods" href="/developers/en/reference/online-payments/checkout-pro/payment-methods/get"}. | \`\["ticket"\]\` | | \`config.payment\_method.not\_allowed\_ids\` | Array | Allows excluding specific credit and debit card brands, such as Visa, Mastercard, American Express, among others. To get the full list of available payment methods, send a \*\*GET\*\* with your :toolTipComponent\[Access Token\]{content="Private key of the application created in Mercado Pago, used in the \_backend\_. You can access it through \*Your integrations > Integration data > Production credentials\*."} to the endpoint :TagComponent{tag="API" text="/v1/payment\_methods" href="/developers/en/reference/online-payments/checkout-pro/payment-methods/get"}. | \`\["master"\]\` | | \`config.payment\_method.max\_installments\` | Integer | Defines the maximum number of installments that can be offered to the buyer. | \`10\` | To configure the payment methods to exclude, include the \`config.payment\_method\` object when sending the request to the :TagComponent{tag="API" text="Create order" href="/developers/en/reference/online-payments/checkout-pro/create-order/post"} endpoint. \`\`\`curl curl -X POST \\ -H 'accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'Authorization: Bearer ENV\_ACCESS\_TOKEN' \\ -H 'X-Idempotency-Key: UNIQUE\_KEY' \\ 'https://api.mercadopago.com/v1/orders' \\ -d '{ "type": "online", "processing\_mode": "manual", "total\_amount": "1000.00", "external\_reference": "order\_pro\_123", "payer": { "email": "buyer@email.com" }, "items": \[ { "title": "My product", "unit\_price": "1000.00", "quantity": 1, "unit\_measure": "unit", "total\_amount": "1000.00" } \], "config": { "payment\_method": { "not\_allowed\_types": \["ticket"\], "not\_allowed\_ids": \["master"\], "max\_installments": 10 } } }' \`\`\`