How can I block or allow specific payment methods in Checkout or the API?
Do you have the right user role?
Please check whether you have the following user role:
Merchant Technical Integrator
If you don't have the required user role, please reach out to your admin.
If you want to block specific payment methods from appearing in your payment form, you can specify them when you make a /paymentMethods call or /sessions call.
To limit the list of payment methods presented to your shopper, you can specify either:
- allowedPaymentMethods: Array of payment methods to present to the shopper.
- blockedPaymentMethods: Array of payment methods that should not be presented to the shopper.
For a detailed reference refer to our API explorer documentation: blockedPaymentMethods or allowedPaymentMethods.
Was this article helpful?
Learn more
Find more details on this topic.
Go to Adyen Docs