> This page is for BaaS.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://en.docs.api.corpx.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://en.docs.api.corpx.com/_mcp/server.

# Get transaction status by E2E or identifier

GET https://tenant.api.corpx.com/v1/accounts/{accountId}/pix/transactions

Queries a PIX transaction by E2E (End-to-End ID) or identifier at the
settlement bank, at the time of the call.

This route is an alias of `GET /v1/accounts/{accountId}/statement`: the
response is always the statement list payload (`items[]`), never a
single object.

* With `endToEndId` or `identifier` it is an exact lookup: `items`
  holds 0 or 1 transaction, and pagination, dates and `operation` are
  ignored. When both are sent, `identifier` is tried first and
  `endToEndId` is used if it finds nothing.
* A transaction that does not exist is **not** a `404`: the response is
  `200` with `items: []` and `totalElements: 0`.
* Without either parameter the route returns the paginated statement,
  with the same parameters and rules as `GET /statement`.

Each item has the `AccountStatementEntry` shape. `direction` is `IN`
(received) or `OUT` (sent), and `amount` is negative on `OUT`.

**Important**: Only completed or attempted PIX transfers appear here. QR Codes that
were never paid are not transactions (they have no E2E ID). To query QR Code status
regardless of payment, use `GET /v1/accounts/{accountId}/pix/qr-code/lookup`.

To get the payment as a single object (with `hold`, `partnerStatus` and
`waitForFinalStatus`), use `GET /v1/accounts/{accountId}/pix/payments/lookup`.

Reference: https://en.docs.api.corpx.com/baas/referencia/pix/get-transaction-status

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `accountId` (string, required) — Account ID.

### Query parameters

- `endToEndId` (string, optional) — Transaction E2E ID (format E + ISPB + date + sequence). `endToEnd` is accepted as an alias.
- `identifier` (string, optional) — Charge identifier (txid) or internal reference.

### Headers

- `X-Tenant-Id` (string, required) — Tenant context used for authorization and routing.

## Response

### 200

Statement list payload. On an exact lookup, `items` holds the transaction found, or is empty when there is none.

- `accountId` (string, required)
- `items` (list of AccountStatementEntry, required) — Page of statement rows. Length may be less than `size`.
- `tenantId` (string, optional)
- `source` (string, optional)
- `startDate` (date, optional)
- `endDate` (date, optional)
- `page` (integer, optional) — Zero-based page index.
- `size` (integer, optional) — Requested page size (ceiling). `items` may be shorter.
- `totalElements` (integer, optional) — Total lines in the settlement-bank statement window. Approximate when rows are omitted after pagination.
- `totalPages` (integer, optional)
- `hasNext` (boolean, optional)
- `fetchedAt` (datetime, optional)

## Errors

### 400 Bad Request Error

Invalid request sent by client.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 403 Forbidden Error

Requester does not have permission to perform the operation.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 404 Not Found Error

Requested resource was not found.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 500 Internal Server Error

Unexpected server error.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

## Types

### AccountStatementEntry

Linha do extrato. `payer` e `payee` são montados a partir de `direction`: * `direction=IN`: `payer` = contraparte (quem nos pagou); `payee` = a nossa conta (titular consultado). * `direction=OUT`: `payer` = a nossa conta; `payee` = contraparte (a quem pagamos). O lado **self** sempre traz `name` (titular) + `document` (CPF/CNPJ) + identificadores do banco liquidante (`bankCode`, `bankIspb`, `bankName`). O lado **contraparte** traz apenas `name` + `document`. Campos opcionais (`branch`, `account`, `pixKey`, `accountType`, `bankCode`, `bankIspb`, `bankName`) ficam omitidos quando vazios — o extrato do liquidante não os expõe. Para o payload completo da contraparte, use `GET /v1/accounts/{id}/pix/payments/lookup?endToEndId=...` ou o webhook outbound (`pix.in.completed`, `pix.out.completed`, etc.).

- `operation` (string, required) — Canonical type: PIX, TED, BOLETO, FEE, INTERNAL_TRANSFER.
- `amount` (double, required) — Signed amount in BRL (negative = debit, positive = credit).
- `currency` (string, required)
- `timestamp` (datetime, required) — Transaction timestamp in RFC3339 with São Paulo offset (-03:00).
- `partnerId` (string, optional) — Settlement bank operation reference.
- `endToEndId` (string, optional)
- `direction` (enum, optional)
  - Allowed values: `IN`, `OUT`
- `partnerType` (string, optional) — Partner operation label. `PIX_REFUND` on a PIX refund line (`reversal: true`); `operation` stays `PIX`. `P2P_CRYPTO_ORDER` on the legs of a P2P order (identifier `p2p-…` or `fee-p2p-…`).
- `status` (string, optional) — Canonical transaction status. Possible values: `COMPLETED`, `PROCESSING`, `FAILED`, `PENDING`, `PENDING_APPROVAL`, `REVERSED`, `UNKNOWN`. `PENDING_APPROVAL` means the partner accepted the request but is holding it for internal approval (multi-step authorisation, 2FA, anti-fraud). No BACEN end-to-end ID exists yet — funds have not moved.
- `description` (string, optional)
- `title` (string, optional) — Human-readable operation label from partner.
- `recipientName` (string, optional) — Atalho — nome da contraparte (igual a `counterParty.name`).
- `recipientDocument` (string, optional) — Atalho — documento da contraparte (igual a `counterParty.document`).
- `pixKey` (string, optional) — Chave PIX usada na transação. Num **crédito** é a chave desta conta que recebeu; num **débito**, a chave de destino. Distinta de `counterParty.pixKey`, que descreve a contraparte — num crédito o liquidante costuma preencher esta e deixar a da contraparte vazia. Omitida fora de PIX e em lançamentos anteriores à versão do liquidante que passou a informá-la. Para filtrar o extrato por chave, use `GET /v1/accounts/{accountId}/statement/advanced`.
- `counterParty` (AccountStatementEntryCounterParty, optional) — Contraparte da transação (nome + documento e, quando o liquidante informa, dados bancários: banco, agência, conta, ISPB e chave PIX). Os campos bancários são omitidos quando vazios.
- `transactionType` (enum, optional) — Partner credit/debit code: `C` = credit (IN), `D` = debit (OUT). Mirrors `direction`.
  - Allowed values: `C`, `D`
- `identifier` (string, optional)
- `reversal` (boolean, optional) — True when this line is a PIX refund (the settlement bank linked it to the original PIX via `originalEndToEnd`).
- `originalEndToEnd` (string, optional) — End-to-end of the PIX this line refunds. Empty on an ordinary movement. On a refund we initiated, this can equal `endToEndId`.
- `refundEndToEnd` (string, optional) — End-to-end of the refund that reversed this line, when the settlement bank reports one. Present on the original PIX after a refund, including a partial refund. Empty on the refund line itself.
- `feeServiceType` (string, optional) — Service behind a fee line: `PIX`, `TED`, `BOLETO`, `INTERNAL_TRANSFER`, `MONTHLY`, `P2P_CRYPTO` or `OTHER`.
- `p2pOrderId` (string, optional) — P2P order of this line, from the reserved identifier. On these lines the counterparty is only `ORDEM P2P CRIPTO` (no document) and `description` is `COMPRA P2P CRIPTO`, `VENDA P2P CRIPTO`, `TAXA INTERMEDIAÇÃO KYC P2P CRIPTO` or `ESTORNO TAXA INTERMEDIAÇÃO KYC P2P CRIPTO`.
- `p2pKind` (enum, optional) — Leg of the P2P order.
  - Allowed values: `payment`, `fee`, `fee_refund`
- `p2pOrder` (AccountStatementEntryP2POrder, optional) — Summary of your own order. Absent when the account is not a party or the order could not be read.
- `balance` (double, optional)
- `source` (enum, optional) — Data source for this line (`live` = settlement bank, real time).
  - Allowed values: `live`
- `ispb` (string, optional) — 8-digit ISPB of the bank that processed the transaction (settlement bank: 50871921).
- `payer` (TransactionParty, optional) — Transaction counterparty (payer or beneficiary).
- `payee` (TransactionParty, optional) — Transaction counterparty (payer or beneficiary).
- `initiation` (string, optional) — PIX initiation type (present on exact lookups by endToEndId/identifier): e.g. pix-key, manual, static-qrcode, dynamic-qrcode.
- `errorMessage` (string, optional) — Partner error message, when the transaction is in a failed/reversed state (present on exact lookups).
- `boletoBarcode` (string, optional) — Código do boleto como o liquidante informou na linha do extrato, só dígitos. Normalmente o código de barras (44 dígitos); o liquidante pode devolver a linha digitável no mesmo campo (47, ou 48 em arrecadação) — identifique pelo tamanho. Presente apenas quando `operation=BOLETO` — pagamento (`BOLETO_PAYMENT`) e cobrança liquidada (`BOLETO_SETTLEMENT`). Omitido fora de boleto e quando vazio.

### ErrorResponsePartner

Raw error from the settlement bank, when the failure came from it. Diagnostic only.

- `code` (string, optional)
- `message` (string, optional)
- `field` (string, optional) — Field the partner pointed at, when any.

### AccountStatementEntryCounterParty

Contraparte da transação (nome + documento e, quando o liquidante informa, dados bancários: banco, agência, conta, ISPB e chave PIX). Os campos bancários são omitidos quando vazios.

- `name` (string, optional)
- `document` (string, optional)
- `bankName` (string, optional)
- `bankIspb` (string, optional)
- `bankCode` (string, optional)
- `branch` (string, optional)
- `account` (string, optional)
- `accountType` (string, optional)
- `pixKey` (string, optional)

### AccountStatementEntryP2POrder

Summary of your own order. Absent when the account is not a party or the order could not be read.

- `orderId` (string, optional)
- `kind` (enum, optional)
  - Allowed values: `payment`, `fee`, `fee_refund`
- `role` (enum, optional)
  - Allowed values: `buyer`, `seller`
- `side` (enum, optional)
  - Allowed values: `buy`, `sell`
- `pair` (string, optional)
- `cryptoAmount` (string, optional)

### TransactionParty

Transaction counterparty (payer or beneficiary).

- `name` (string, optional) — Full name.
- `document` (string, optional) — CPF/CNPJ as reported by the settlement bank.
- `bankIspb` (string, optional) — Bank ISPB.
- `bankCode` (string, optional) — Bank code (COMPE).
- `bankName` (string, optional) — Bank name.
- `branch` (string, optional) — Branch.
- `account` (string, optional) — Account number.
- `accountType` (string, optional) — Account type, when the settlement bank reports it.
- `pixKey` (string, optional) — PIX key associated with the party.

## Examples

### PIX sent (Cash Out)

**Response**

```json
{
  "accountId": "2e6b725b-84a0-400d-8740-22a5ba0f23e6",
  "items": [
    {
      "operation": "PIX",
      "amount": -150,
      "currency": "BRL",
      "timestamp": "2026-01-28T14:35:00-03:00",
      "partnerId": "",
      "endToEndId": "E36741675202601281435001234567",
      "direction": "OUT",
      "status": "COMPLETED",
      "description": "Pedido 12345",
      "recipientName": "MARIA DA SILVA",
      "recipientDocument": "12345678900",
      "pixKey": "maria@example.com",
      "counterParty": {
        "name": "MARIA DA SILVA",
        "document": "12345678900",
        "bankIspb": "00000000",
        "bankCode": "001",
        "branch": "1234",
        "account": "567890",
        "pixKey": "maria@example.com"
      },
      "transactionType": "D",
      "identifier": "order-12345",
      "reversal": false,
      "originalEndToEnd": "",
      "payer": {
        "name": "EMPRESA EXEMPLO LTDA",
        "document": "12345678000190",
        "bankIspb": "50871921",
        "branch": "0001",
        "account": "1234567"
      },
      "payee": {
        "name": "MARIA DA SILVA",
        "document": "12345678900",
        "bankIspb": "00000000",
        "bankCode": "001",
        "branch": "1234",
        "account": "567890",
        "pixKey": "maria@example.com"
      },
      "initiation": "pix-key",
      "errorMessage": ""
    }
  ],
  "tenantId": "tn_7f3a9c",
  "source": "live",
  "page": 0,
  "size": 1,
  "totalElements": 1,
  "totalPages": 1,
  "hasNext": false,
  "fetchedAt": "2026-01-28T17:36:02Z"
}
```

**SDK Code**

```python PIX sent (Cash Out)
import requests

url = "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions"

querystring = {"endToEndId":"E36741675202601281435001234567","identifier":"order-12345"}

headers = {
    "X-Tenant-Id": "X-Tenant-Id",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript PIX sent (Cash Out)
const url = 'https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345';
const options = {
  method: 'GET',
  headers: {'X-Tenant-Id': 'X-Tenant-Id', Authorization: 'Bearer <token>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go PIX sent (Cash Out)
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby PIX sent (Cash Out)
require 'uri'
require 'net/http'

url = URI("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Tenant-Id"] = 'X-Tenant-Id'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java PIX sent (Cash Out)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php PIX sent (Cash Out)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

echo $response->getBody();
```

```csharp PIX sent (Cash Out)
using RestSharp;

var client = new RestClient("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift PIX sent (Cash Out)
import Foundation

let headers = [
  "X-Tenant-Id": "X-Tenant-Id",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### PIX received (Cash In)

**Response**

```json
{
  "accountId": "2e6b725b-84a0-400d-8740-22a5ba0f23e6",
  "items": [
    {
      "operation": "PIX",
      "amount": 299.9,
      "currency": "BRL",
      "timestamp": "2026-01-28T15:00:00-03:00",
      "partnerId": "",
      "endToEndId": "E00000000202601281500009876543",
      "direction": "IN",
      "status": "COMPLETED",
      "description": "Pedido 98765",
      "recipientName": "JOAO DA SILVA",
      "recipientDocument": "98765432100",
      "pixKey": "financeiro@empresaexemplo.com.br",
      "counterParty": {
        "name": "JOAO DA SILVA",
        "document": "98765432100",
        "bankIspb": "60746948",
        "bankCode": "237",
        "branch": "0456",
        "account": "7654321"
      },
      "transactionType": "C",
      "identifier": "",
      "reversal": false,
      "originalEndToEnd": "",
      "payer": {
        "name": "JOAO DA SILVA",
        "document": "98765432100",
        "bankIspb": "60746948",
        "bankCode": "237",
        "branch": "0456",
        "account": "7654321"
      },
      "payee": {
        "name": "EMPRESA EXEMPLO LTDA",
        "document": "12345678000190",
        "bankIspb": "50871921",
        "branch": "0001",
        "account": "1234567",
        "pixKey": "financeiro@empresaexemplo.com.br"
      },
      "initiation": "pix-key",
      "errorMessage": ""
    }
  ],
  "tenantId": "tn_7f3a9c",
  "source": "live",
  "page": 0,
  "size": 1,
  "totalElements": 1,
  "totalPages": 1,
  "hasNext": false,
  "fetchedAt": "2026-01-28T18:01:15Z"
}
```

**SDK Code**

```python PIX received (Cash In)
import requests

url = "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions"

querystring = {"endToEndId":"E36741675202601281435001234567","identifier":"order-12345"}

headers = {
    "X-Tenant-Id": "X-Tenant-Id",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript PIX received (Cash In)
const url = 'https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345';
const options = {
  method: 'GET',
  headers: {'X-Tenant-Id': 'X-Tenant-Id', Authorization: 'Bearer <token>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go PIX received (Cash In)
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby PIX received (Cash In)
require 'uri'
require 'net/http'

url = URI("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Tenant-Id"] = 'X-Tenant-Id'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java PIX received (Cash In)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php PIX received (Cash In)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

echo $response->getBody();
```

```csharp PIX received (Cash In)
using RestSharp;

var client = new RestClient("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift PIX received (Cash In)
import Foundation

let headers = [
  "X-Tenant-Id": "X-Tenant-Id",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### No transaction with this E2E or identifier

**Response**

```json
{
  "accountId": "2e6b725b-84a0-400d-8740-22a5ba0f23e6",
  "items": [],
  "tenantId": "tn_7f3a9c",
  "source": "live",
  "page": 0,
  "size": 0,
  "totalElements": 0,
  "totalPages": 1,
  "hasNext": false,
  "fetchedAt": "2026-01-28T18:01:15Z"
}
```

**SDK Code**

```python No transaction with this E2E or identifier
import requests

url = "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions"

querystring = {"endToEndId":"E36741675202601281435001234567","identifier":"order-12345"}

headers = {
    "X-Tenant-Id": "X-Tenant-Id",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript No transaction with this E2E or identifier
const url = 'https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345';
const options = {
  method: 'GET',
  headers: {'X-Tenant-Id': 'X-Tenant-Id', Authorization: 'Bearer <token>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go No transaction with this E2E or identifier
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby No transaction with this E2E or identifier
require 'uri'
require 'net/http'

url = URI("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Tenant-Id"] = 'X-Tenant-Id'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java No transaction with this E2E or identifier
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php No transaction with this E2E or identifier
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

echo $response->getBody();
```

```csharp No transaction with this E2E or identifier
using RestSharp;

var client = new RestClient("https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift No transaction with this E2E or identifier
import Foundation

let headers = [
  "X-Tenant-Id": "X-Tenant-Id",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accounts/accountId/pix/transactions?endToEndId=E36741675202601281435001234567&identifier=order-12345")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```