curl --request POST \
--url https://api.avanttifinance.com/v1/pix/in/qrcode \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amountInCents": 8000,
"postbackUrl": "https://seu-sistema.com/webhooks/avantti",
"description": "Teste",
"customer": {
"name": "TESTE VENDA",
"email": "jvteste@teste.com",
"documentType": "cnpj",
"document": "07628652000114",
"phone": "(32) 99999-9999"
},
"items": [
{
"title": "Produto teste",
"tangible": true,
"quantity": 1,
"amountInCents": 2000
},
{
"title": "Produto teste 2",
"tangible": true,
"quantity": 2,
"amountInCents": 3000
}
],
"seller": {
"name": "Bruno Ribeiro do Vale",
"documentType": "cnpj",
"document": "07628652000114",
"phone": "(32) 88888-9999"
}
}
'