curl --location '/api/v1/public/payment/transaction' \
--header 'X-Client-Id;' \
--header 'X-Public-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 10000,
"paymentMethod": "pix",
"currency": "BRL",
"pix": {
"expiresInDays": 1
},
"customer": {
"id": "7f64d5c0-2709-4cb0-8b45-08b25781c174",
"country": "BR",
"name": "Maria da Silva",
"email": "maria@example.com",
"document": {
"number": "12345678909",
"type": "cpf"
},
"phone": "5511999999999",
"externalRef": "CAMPANHA-1"
},
"shipping": {
"fee": 0,
"address": {
"street": "Avenida Paulista",
"streetNumber": "1000",
"complement": "Apto 12",
"zipCode": "01310100",
"neighborhood": "Bela Vista",
"city": "São Paulo",
"state": "SP",
"country": "BR"
}
},
"items": {
"title": "Tênis Bonito",
"unitPrice": 10000,
"quantity": 1,
"tangible": true,
"externalRef": "TENBON-123"
},
"postbackUrl": "https://merchant.example.com/webhooks/transactions",
"metadata": "metadata",
"traceable": false,
"ip": "127.0.0.1",
"userAgent": "userAgent",
"trackingSessionId": "trackingSessionId",
"tracking": {
"src": "string",
"sck": "string",
"utm_source": "string",
"utm_campaign": "string",
"utm_medium": "string",
"utm_content": "string",
"utm_term": "string",
"fbp": "string",
"fbc": "string",
"fbclid": "string",
"ttp": "string",
"ttclid": "string",
"event_id": "string",
"event_source_url": "string",
"referrer": "string"
}
}'