Manage payment methods
Payment Brick allows integration with multiple payment methods and, to do so, adjust the accepted payment methods in Brick's customizations.
paymentMethods
object.
const settings = {
...,
customization: {
paymentMethods: {
...,
creditCard: "all",
},
},
const customization = {
paymentMethods: {
...,
creditCard: 'all'
}
};
The table below shows the available payment methods:
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 | ['onboarding_credits', 'wallet_purchase'] |
ticket | string | ['bolbradesco'] |
bankTransfer | string | ['pix'] |