curl --request PATCH \
--url https://api.pagou.ai/v2/checkout/{slug}/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-checkout-session-token: <x-checkout-session-token>' \
--data '
{
"buyer": {
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"birth_date": "<string>",
"document": {
"type": "EIN",
"number": "<string>"
},
"address": {
"street": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>"
}
},
"payment_method": "pix"
}
'