Checkout with pre-filled customer data
Automatically fill in customer data in Checkout
Send customerData when creating the Checkout if your application already has the payer's data and wants to display it pre-filled on the payment page.
Send customerData
customerDataInclude the object in the body of the Checkout creation request:
"customerData": {
"name": "Ana Paula",
"cpfCnpj": "12345678900",
"email": "[email protected]",
"phone": "47988887777",
"address": "Rua das Flores",
"addressNumber": "123",
"complement": "House",
"postalCode": "89000000",
"province": "Centro",
"city": 4205407
}When the Checkout opens, the data sent will be used to fill in the corresponding identification and address fields.
customerData is optional. If your application does not send the customer data, the payer can fill it in during the journey.
To learn about the other ways to identify the payer, see How to provide customer data.
See the fields available in customerData.
Next steps
Updated 2 days ago
Did this page help you?
