Manage payment methods - Additional settings - Mercado Pago Developers

Manage payment methods

Payment Brick allows integration with multiple payment methods and, to do so, adjust the accepted payment methods in Brick's customizations.

To not include the payment method of a certain type, remove it from the paymentMethods object.
          
const settings = {
 ...,
 customization: {
   paymentMethods: {
     ...,
     creditCard: "all",
   },
 },

        
          
const customization = {
 paymentMethods: {
   ...,
   creditCard: 'all'
 }
};

        

The table below shows the available payment methods:

All types of payment methods accept the all option, so all options available for that type will be activated.
paymentMethodsTypePossible values
creditCardstring[]To obtain available debit card amounts, check out the API Get payment methods.
debitCardstring[]To obtain available credit card amounts, check out the API Get payment methods.
mercadoPagostring[]['wallet_purchase']
ticketstring[]['efecty']
bankTransferstring[]['pse']