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.paymentMethods | Type | Possible values |
creditCard | string | To obtain available debit card amounts, check out the API Get payment methods. |
debitCard | string | To obtain available credit card amounts, check out the API Get payment methods. |
mercadoPago | string | ['wallet_purchase'] |
atm | string | ['pagoefectivo_atm'] |