Skip to main content
GET
/
transactions
/
{id}
curl -X GET https://api.thalbank.com/transactions/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "x-api-key: sua_api_key"
{
  "status": true,
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "amount": 5000,
    "netAmount": 4500,
    "feeAmount": 500,
    "method": "PIX",
    "status": "PAID",
    "description": "Assinatura Mensal",
    "pixQrCode": "00020126580014br.gov.bcb.pix...",
    "customer": {
      "name": "Maria Silva",
      "email": "[email protected]",
      "phone": "11999999999",
      "documentType": "CPF",
      "document": "123***78901"
    },
    "items": [
      {
        "title": "Assinatura Mensal",
        "amount": 5000,
        "quantity": 1,
        "tangible": false
      }
    ],
    "metadata": { "planId": "premium" },
    "paidAt": "2026-03-10T00:05:00.000Z",
    "createdAt": "2026-03-10T00:00:00.000Z",
    "updatedAt": "2026-03-10T00:05:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.thalpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Descricao

Retorna os dados completos de uma transacao. Voce so tem acesso as transacoes do seu proprio seller.

Request

id
string
required
UUID da transacao.
curl -X GET https://api.thalbank.com/transactions/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "x-api-key: sua_api_key"
{
  "status": true,
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "amount": 5000,
    "netAmount": 4500,
    "feeAmount": 500,
    "method": "PIX",
    "status": "PAID",
    "description": "Assinatura Mensal",
    "pixQrCode": "00020126580014br.gov.bcb.pix...",
    "customer": {
      "name": "Maria Silva",
      "email": "[email protected]",
      "phone": "11999999999",
      "documentType": "CPF",
      "document": "123***78901"
    },
    "items": [
      {
        "title": "Assinatura Mensal",
        "amount": 5000,
        "quantity": 1,
        "tangible": false
      }
    ],
    "metadata": { "planId": "premium" },
    "paidAt": "2026-03-10T00:05:00.000Z",
    "createdAt": "2026-03-10T00:00:00.000Z",
    "updatedAt": "2026-03-10T00:05:00.000Z"
  }
}