Home
Documentation
Resources
Partners
Community

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Initialize data on the Bricks - Advanced features - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps

Initialize data on the Bricks

Client-Side

Initiate Brick with e-mail

BrickCard Payment Brick
Customization momentWhen rendering Brick
Propertyinitialization.payer.email
Typestring
CommentsWhen a valid email is sent, the email field is hidden.
          
const settings = {
   initialization: {
       amount: number,
       payer: {
           email: 'string',
       },
   },
   ...
}

        
          
const initialization = {
 ...,
 payer: {
   ...,
   email: '<PAYER_EMAIL_HERE>',
 },
};

        

Initiate Brick with document

BrickCard Payment Brick
Customization momentWhen rendering Brick
Propertyinitialization.payer.identification.type & initialization.payer.identification.number
Typestring
CommentsWhen a valid identification.number and a corresponding identification.type are sent, the payer document field is automatically filled in.
          
const settings = {
   initialization: {
       amount: number,
       payer: {
           identification: {
               type: 'string',
               number: 'string',
           },
       },
   },
   ...
}

        
          
const initialization = {
 ...,
 payer: {
   ...,
   identification: {
     type: 'string',
     number: 'string',
   },
 },
};