Change texts
Client-Side
Wallet Brick is composed of the button and the value proposition (valueProp), which can be customized according to the options provided by Mercado Pago. It is important to note that the choice of theme directly impacts the background color of the button, the value proposition, and the images inside the button. For more information, check Change appearance.

Next, review all the possible texts for the content of the value proposition:
| Option | Text |
practicality | Use saved cards or your account balance |
convenience_all | Installment with credit card or Installments without credit card of Mercado Pago |
security_details | Protection for your data |
security_safety (default) | Pay securely |
convenience_credits | Up to 12 Installments without Card To use the convenience_credits value prop, it is necessary for the Brick to be initialized with a preference, and the preference should have the purpose of onboarding_credits. |
payment_methods_logos | The logos of the available payment methods will be displayed. To configure the payment methods, use the preference. It is recommended to initialize with a preference using the value prop payment_methods_logos. If the preference has only one valid payment method, it will stop displaying images and will show the text: "Account money or installments with no card" |
const settings = {
...,
customization: {
theme: 'default',
customStyle: {
valueProp: 'practicality',
}
}
}
const customization = {
theme: 'default',
customStyle: {
valueProp: 'practicality',
}
};
