Skip to content

Query Cash In by E2E ID

Queries a PIX transaction by End-to-End ID (BACEN unique identifier).

Endpoint

GET /api/external/transactions/e2e/:e2e_id

Headers

HeaderTypeRequiredDescription
AuthorizationStringYesApiKey {client_id}:{client_secret}

Path Parameters

ParameterTypeRequiredDescription
e2e_idStringYesTransaction End-to-End ID (format E{ISPB}{date}{seq})

E2E ID Format

The E2E ID follows the BACEN standard: E + ISPB (8 digits) + UTC date/time (12 digits) + sequential (6 digits). Example: E37839059202603071530000001.

Example

bash
curl -X GET https://api.owem.com.br/api/external/transactions/e2e/E37839059202603071530000001 \
  -H "Authorization: ApiKey $CLIENT_ID:$CLIENT_SECRET"

Success Response (200)

json
{
  "worked": true,
  "data": {
    "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
    "transaction_id": "7popu57v6us7p6pcicgq12345",
    "end_to_end_id": "E37839059202603071530000001",
    "external_id": "order-9876",
    "type": "pix",
    "status": "completed",
    "amount": 300000,
    "fee_amount": 0,
    "net_amount": 300000,
    "description": "Pedido #1234",
    "direction": "inbound",
    "counterparty_name": "Maria Santos",
    "created_at": "2026-03-07T15:30:00Z",
    "completed_at": "2026-03-07T15:30:02Z"
  }
}

This endpoint returns the same transaction object described in Query by ID. All monetary values are in base units (/ 10,000 for BRL).

Error Response (404)

json
{
  "worked": false,
  "detail": "Transacao nao encontrada para o E2E informado"
}

Error Response (401)

json
{
  "error": {
    "status": 401,
    "message": "Missing API key credentials. Use Authorization: ApiKey <client_id>:<client_secret>"
  }
}

Cash In and Cash Out

This endpoint returns both inbound and outbound transactions. Use the direction field to differentiate: inbound (receipt) or outbound (send).

Owem Pay Instituição de Pagamento — ISPB 37839059