🔧 Simulação cURL Payevo

📋 Dados que serão enviados:

{
    "customer": {
        "name": "Jorge Santos",
        "email": "[email protected]",
        "phone": "11983272733",
        "document": {
            "number": "04281554645",
            "type": "CPF"
        }
    },
    "paymentMethod": "PIX",
    "pix": {
        "expiresInDays": 1
    },
    "amount": 100,
    "items": [
        {
            "title": "Produto Teste 01",
            "unitPrice": 100,
            "quantity": 1,
            "externalRef": "PRODTESTE01"
        }
    ]
}

🔑 Configuração da Requisição:

URL: https://apiv2.payevo.com.br/functions/v1/transactions

API Key: sk_like_kgJELJkZQVNo...

Chave Criptografada: c2tfbGlrZV9rZ0pFTEprWlFWTm9SekVUR051UzJsdU1XNFB3RTQ4MkpleElsT3Vmd3B2MmFtZGY6

📤 Headers:

Content-Type: application/json
Accept: application/json
Authorization: Basic c2tfbGlrZV9rZ0pFTEprWlFWTm9SekVUR051UzJsdU1XNFB3RTQ4MkpleElsT3Vmd3B2MmFtZGY6

🚀 Executando Requisição...

📥 Resultado:

HTTP Code: 200

Requisição executada sem erros cURL

📄 Resposta da API:

{"id":"c9d69ff7-6330-45e6-8251-b62ef7ca7a00","amount":100,"netAmount":-155,"refundedAmount":0,"companyId":"9435795f-a147-44d9-a4a4-4b04841c4274","installments":1,"paymentMethod":"PIX","status":"waiting_payment","postbackUrl":null,"metadata":"{}","traceable":false,"createdAt":"2025-10-28T19:31:15+00:00","updatedAt":"2025-10-28T19:31:16+00:00","paidAt":null,"ip":null,"externalRef":"TX202510282231169AEC6CECBA","customer":{"id":"19ace6f8-228c-476f-8d5b-88bca6e03ba4","name":"Jorge Santos","email":"[email protected]","phone":"11983272733","birthdate":null,"createdAt":"2025-10-28T22:31:14.897547","document":{"number":"04281554645","type":"CPF"},"address":{"street":"Rua X","streetNumber":"1","complement":"","zipCode":"11050100","neighborhood":"Centro","city":"Santos","state":"SP","country":"BR"}},"card":null,"boleto":null,"pix":{"qrcode":"00020126910014br.gov.bcb.pix2569pix.bancoe2.com.br/qr/v3/at/cobv/b8dfd1e2-da00-4ed9-b5cf-20457b4637045204000053039865802BR5905SAMBA6009SAO PAULO62070503***63049835","expirationDate":"2025-10-28T22:51:16.306Z","end2EndId":null,"receiptUrl":null},"shipping":{"street":"Rua X","streetNumber":"1","complement":"","zipCode":"11050100","neighborhood":"Centro","city":"Santos","state":"SP","country":"BR"},"refusedReason":null,"items":[{"title":"Produto Teste 01","quantity":1}],"splits":[{"recipientId":"ebaa9180-ffd0-4552-a470-a985a07c68aa","netAmount":-155}],"fee":{"fixedAmount":2.5,"spreadPercentage":4.99,"estimatedFee":255,"netAmount":-155}}

📊 Resposta Decodificada:

{
    "id": "c9d69ff7-6330-45e6-8251-b62ef7ca7a00",
    "amount": 100,
    "netAmount": -155,
    "refundedAmount": 0,
    "companyId": "9435795f-a147-44d9-a4a4-4b04841c4274",
    "installments": 1,
    "paymentMethod": "PIX",
    "status": "waiting_payment",
    "postbackUrl": null,
    "metadata": "{}",
    "traceable": false,
    "createdAt": "2025-10-28T19:31:15+00:00",
    "updatedAt": "2025-10-28T19:31:16+00:00",
    "paidAt": null,
    "ip": null,
    "externalRef": "TX202510282231169AEC6CECBA",
    "customer": {
        "id": "19ace6f8-228c-476f-8d5b-88bca6e03ba4",
        "name": "Jorge Santos",
        "email": "[email protected]",
        "phone": "11983272733",
        "birthdate": null,
        "createdAt": "2025-10-28T22:31:14.897547",
        "document": {
            "number": "04281554645",
            "type": "CPF"
        },
        "address": {
            "street": "Rua X",
            "streetNumber": "1",
            "complement": "",
            "zipCode": "11050100",
            "neighborhood": "Centro",
            "city": "Santos",
            "state": "SP",
            "country": "BR"
        }
    },
    "card": null,
    "boleto": null,
    "pix": {
        "qrcode": "00020126910014br.gov.bcb.pix2569pix.bancoe2.com.br\/qr\/v3\/at\/cobv\/b8dfd1e2-da00-4ed9-b5cf-20457b4637045204000053039865802BR5905SAMBA6009SAO PAULO62070503***63049835",
        "expirationDate": "2025-10-28T22:51:16.306Z",
        "end2EndId": null,
        "receiptUrl": null
    },
    "shipping": {
        "street": "Rua X",
        "streetNumber": "1",
        "complement": "",
        "zipCode": "11050100",
        "neighborhood": "Centro",
        "city": "Santos",
        "state": "SP",
        "country": "BR"
    },
    "refusedReason": null,
    "items": [
        {
            "title": "Produto Teste 01",
            "quantity": 1
        }
    ],
    "splits": [
        {
            "recipientId": "ebaa9180-ffd0-4552-a470-a985a07c68aa",
            "netAmount": -155
        }
    ],
    "fee": {
        "fixedAmount": 2.5,
        "spreadPercentage": 4.99,
        "estimatedFee": 255,
        "netAmount": -155
    }
}

❌ Código PIX não encontrado

Campos disponíveis: id, amount, netAmount, refundedAmount, companyId, installments, paymentMethod, status, postbackUrl, metadata, traceable, createdAt, updatedAt, paidAt, ip, externalRef, customer, card, boleto, pix, shipping, refusedReason, items, splits, fee

📊 Informações da Requisição:

{
    "url": "https:\/\/apiv2.payevo.com.br\/functions\/v1\/transactions",
    "content_type": "application\/json",
    "http_code": 200,
    "header_size": 820,
    "request_size": 247,
    "filetime": -1,
    "ssl_verify_result": 0,
    "redirect_count": 0,
    "total_time": 2.843814,
    "namelookup_time": 0.117619,
    "connect_time": 0.125933,
    "pretransfer_time": 0.16732,
    "size_upload": 297,
    "size_download": 1489,
    "speed_download": 523,
    "speed_upload": 104,
    "download_content_length": -1,
    "upload_content_length": 297,
    "starttransfer_time": 0.167361,
    "redirect_time": 0,
    "redirect_url": "",
    "primary_ip": "172.64.149.246",
    "certinfo": [],
    "primary_port": 443,
    "local_ip": "109.110.184.69",
    "local_port": 59682,
    "http_version": 3,
    "protocol": 2,
    "ssl_verifyresult": 0,
    "scheme": "HTTPS",
    "appconnect_time_us": 166823,
    "connect_time_us": 125933,
    "namelookup_time_us": 117619,
    "pretransfer_time_us": 167320,
    "redirect_time_us": 0,
    "starttransfer_time_us": 167361,
    "total_time_us": 2843814
}

← Teste Real

← Debug Detalhado

← Gerar Cobrança