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',
   },
 },
};