Skip to main content
GET
/
v1
/
transactions
/
{transactionId}
Consultar transação
curl --request GET \
  --url https://api.ephra.io/v1/transactions/{transactionId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "clxabc123def456",
    "paymentMethod": "pix",
    "amount": 10000,
    "netAmount": 9850,
    "fees": 150,
    "status": "paid",
    "description": "<string>",
    "createdAt": "2026-06-03T12:00:00.000Z",
    "updatedAt": "2026-06-03T12:01:30.000Z",
    "aprovedAt": "2026-06-03T12:01:30.000Z",
    "refuseReason": "<string>",
    "customer": {
      "id": "<string>",
      "name": "Maria Silva",
      "phone": "<string>",
      "documentType": "cpf",
      "document": "12345678909",
      "emails": [
        {
          "email": "jsmith@example.com"
        }
      ]
    },
    "Pix": {
      "key": "<string>",
      "endToEndId": "<string>",
      "payerInfo": {}
    }
  }
}
Retorna o status e os detalhes de uma transação pelo seu id. Útil para reconciliação ou como fallback do webhook.
Para saber quando uma transação é paga, prefira sempre o webhook. Evite polling agressivo.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transactionId
string
required

Response

Dados da transação

success
boolean
Example:

true

data
object