# List transactions

`GET /v1/transactions` · [Sandbox · coming soon]

> Base URL: Sandbox `https://sandbox.zulu.com.co/v1`
>
> Not in production yet: it arrives with this same signature. Try it in the sandbox.

Lists the workspace's withdrawals and conversions, newest first by default. Filter by `type`, `status`, `method` and `currency`, search with `search` and bound by Bogotá dates with `dateFrom`/`dateTo`.

## Authentication

`Authorization: Bearer <access_token>` (401 when missing or expired) and `X-API-Key` (403 when missing or not matching).

## Request

### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | optional | Page, from 1. ≥ 1. Default: `1`. |
| `size` | integer | optional | Items per page, from 1 to 100. ≥ 1, ≤ 100. Default: `10`. |
| `search` | string | optional | Searches the id, the note, the document and the beneficiary name. max. 100 characters. |
| `dateFrom` | string (date) | optional | From this date (inclusive), Bogotá time. |
| `dateTo` | string (date) | optional | Up to this date (inclusive), Bogotá time. |
| `orderBy` | string | optional | Field to sort by (default `createdAt`). Values: `createdAt` (Creation time.), `updatedAt` (Last update.), `amount` (Amount.). Default: `"createdAt"`. |
| `order` | string | optional | Sort direction. Values: `ASC` (Ascending.), `DESC` (Descending (default).). Default: `"DESC"`. |
| `type` | string | optional | Only this type. Values: `TRANSFER` (COP balance withdrawal (`POST /v1/transfer`).), `FX` (USD↔COP conversion (`POST /v1/transactions`).). |
| `status` | string | optional | Only this status. Values: `CREATED` (Created. For a Bre-B withdrawal, the transfer is in flight.), `IN_PROGRESS` (In progress: the withdrawal is being paid (ACH or manual) or the conversion awaits settlement.), `SENT` (The money was sent to the beneficiary's bank. Withdrawals only (never FX).), `COMPLETED` (Completed.), `REJECTED` (Rejected. The sandbox reverses the debit automatically; in production operations reverses it.). |
| `method` | string | optional | Only this method (withdrawals). Values: `BRE_B` (Bre-B: `breBKey` was sent and the amount is within the Bre-B maximum.), `ACH` (Online ACH: a bank with an ACH code, whole pesos and within the current caps.), `MANUAL` (Manual payment: in any other case, or when the online transfer could not go out. Not an error.). |
| `currency` | string | optional | Only this currency. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |

## Responses

### 200

A page of transactions.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | array<object> | required | The items of this page. |
| `data[].transactionId` | string | required | Identifier of the transaction (the order id in zulu). In the sandbox: `SBX-OR-{SO\|NP}TRFI{YYMMDD}{6}-{2}`. |
| `data[].type` | string | required | Withdrawal. Always `"TRANSFER"`. |
| `data[].status` | string | required | Current status. Values: `CREATED` (Created. For a Bre-B withdrawal, the transfer is in flight.), `IN_PROGRESS` (In progress: the withdrawal is being paid (ACH or manual) or the conversion awaits settlement.), `SENT` (The money was sent to the beneficiary's bank. Withdrawals only (never FX).), `COMPLETED` (Completed.), `REJECTED` (Rejected. The sandbox reverses the debit automatically; in production operations reverses it.). |
| `data[].method` | string | required | How the money was sent. Values: `BRE_B` (Bre-B: `breBKey` was sent and the amount is within the Bre-B maximum.), `ACH` (Online ACH: a bank with an ACH code, whole pesos and within the current caps.), `MANUAL` (Manual payment: in any other case, or when the online transfer could not go out. Not an error.). |
| `data[].amount` | number | required | Amount withdrawn (COP, up to 2 decimals). |
| `data[].currency` | string | required | Always `COP`. Always `"COP"`. |
| `data[].fee` | number | required | Dispersion fee, debited on top of the amount. |
| `data[].note` | string \| null | required | The withdrawal `note`, if sent. |
| `data[].destination` | object | required | Where the money went. |
| `data[].destination.entityType` | string | required | Beneficiary type. Values: `person` (Natural person (an individual).), `company` (Company (legal entity).). |
| `data[].destination.documentType` | string | required | Document type. |
| `data[].destination.documentNumber` | string | required | Document number. |
| `data[].destination.name` | string | required | Full name or company name, as registered. |
| `data[].destination.bankCode` | string \| null | required | ACH code of the bank; `null` when unknown. |
| `data[].destination.bankName` | string \| null | required | Bank name; `null` when unknown. |
| `data[].destination.accountType` | string | required | Account type (normalized). Values: `ahorros` (Savings account.), `corriente` (Checking account.). |
| `data[].destination.accountNumber` | string | required | Account number. |
| `data[].destination.breBKey` | string \| null | required | Bre-B key used; `null` when none was sent. |
| `data[].rejectionReason` | string \| null | required | Rejection reason; `null` except when `REJECTED`. |
| `data[].statusHistory` | array<object> | required | Status changes, oldest first. |
| `data[].statusHistory[].status` | string | required | Status reached. Values: `CREATED` (Created. For a Bre-B withdrawal, the transfer is in flight.), `IN_PROGRESS` (In progress: the withdrawal is being paid (ACH or manual) or the conversion awaits settlement.), `SENT` (The money was sent to the beneficiary's bank. Withdrawals only (never FX).), `COMPLETED` (Completed.), `REJECTED` (Rejected. The sandbox reverses the debit automatically; in production operations reverses it.). |
| `data[].statusHistory[].at` | string (date-time) | required | When it changed (UTC). |
| `data[].createdAt` | string (date-time) | required | Creation time (UTC). |
| `data[].updatedAt` | string (date-time) | required | Last update (UTC). |
| `data[].transactionId` | string | required | Identifier of the transaction (the order id in zulu). In the sandbox: `SBX-OR-{SO\|NP}TRFI{YYMMDD}{6}-{2}`. |
| `data[].type` | string | required | Conversion. Always `"FX"`. |
| `data[].status` | string | required | Current status (never `SENT`). Values: `CREATED` (Created. For a Bre-B withdrawal, the transfer is in flight.), `IN_PROGRESS` (In progress: the withdrawal is being paid (ACH or manual) or the conversion awaits settlement.), `SENT` (The money was sent to the beneficiary's bank. Withdrawals only (never FX).), `COMPLETED` (Completed.), `REJECTED` (Rejected. The sandbox reverses the debit automatically; in production operations reverses it.). |
| `data[].amount` | number | required | Origin amount debited. |
| `data[].currency` | string | required | Origin currency. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |
| `data[].fee` | number | required | Always 0: the margin is in the factor. |
| `data[].fx` | object | required | Both sides of the conversion. |
| `data[].fx.quote` | string | required | Quote used. |
| `data[].fx.originCurrency` | string | required | Currency debited. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |
| `data[].fx.originAmount` | number | required | Amount debited. |
| `data[].fx.destinationCurrency` | string | required | Currency credited. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |
| `data[].fx.destinationAmount` | number | required | Amount credited at settlement. |
| `data[].fx.factor` | number | required | Quote factor (COP per USD). |
| `data[].fx.factorFormula` | string | required | Factor formula. Always `"COP/USD"`. |
| `data[].fx.settlementTerm` | string | required | Settlement term. Values: `SAME_DAY` (Settles the same business day (before the 13:00 cutoff).), `NEXT_DAY` (Settles the next business day.), `SECOND_DAY` (Settles on the second business day.). |
| `data[].fx.settlementDate` | string (date) | required | Settlement business day (Bogotá). |
| `data[].rejectionReason` | string \| null | required | Rejection reason; `null` except when `REJECTED`. |
| `data[].statusHistory` | array<object> | required | Status changes, oldest first. |
| `data[].statusHistory[].status` | string | required | Status reached. Values: `CREATED` (Created. For a Bre-B withdrawal, the transfer is in flight.), `IN_PROGRESS` (In progress: the withdrawal is being paid (ACH or manual) or the conversion awaits settlement.), `SENT` (The money was sent to the beneficiary's bank. Withdrawals only (never FX).), `COMPLETED` (Completed.), `REJECTED` (Rejected. The sandbox reverses the debit automatically; in production operations reverses it.). |
| `data[].statusHistory[].at` | string (date-time) | required | When it changed (UTC). |
| `data[].createdAt` | string (date-time) | required | Creation time (UTC). |
| `data[].updatedAt` | string (date-time) | required | Last update (UTC). |
| `page` | integer | required | Current page. |
| `size` | integer | required | Requested page size. |
| `pages` | integer | required | Total pages (at least 1). |
| `count` | integer | required | Items in this page. |
| `total` | integer | required | Items across all pages. |

### 400

Invalid request: the body is not JSON, a field has another type or fails its validation.

### 401

The access token is missing, invalid or expired.

### 403

The `X-API-Key` is missing, invalid or does not match the token.

### 429

Too many requests: wait the seconds in `Retry-After`.

### 500

Internal error.

## Errors

| HTTP | error | cause | Description |
| --- | --- | --- | --- |
| 400 | `BadRequestApiError` | `error in struct validation` | One or more fields fail their validation. `values` carries one message per field, keyed by its JSON path, naming the Go validator that failed. |
| 400 | `BadRequestApiError` | `invalid value for "%s": %s` | A URL parameter can not be converted to its type (for example `page=abc`). |
| 401 | — | `Unauthorized` | The `Authorization: Bearer <access_token>` header is missing, or the token is invalid or expired. |
| 403 | — | `Forbidden` | The `X-API-Key` is missing, unknown, revoked or does not belong to the credentials of the token. |
| 429 | — | `Too Many Requests` | You exceeded the request limit of your credentials. Wait the seconds in `Retry-After`. |
| 500 | `InternalServerApiError` | `[code:1] unexpected error` | Internal error. On operations that move money, check the state before retrying so the operation is not duplicated. |

## Examples

### First page

```bash
curl "https://sandbox.zulu.com.co/v1/transactions?page=1&size=10" \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 200**

```json
{
  "data": [
    {
      "transactionId": "SBX-OR-NPTRFI261124W8D3QF-2K",
      "type": "FX",
      "status": "IN_PROGRESS",
      "amount": 4000000,
      "currency": "COP",
      "fee": 0,
      "fx": {
        "quote": "EQ-COPXUSDX-261124150405-SBX7Q",
        "originCurrency": "COP",
        "originAmount": 4000000,
        "destinationCurrency": "USD",
        "destinationAmount": 1006.62,
        "factor": 3973.7,
        "factorFormula": "COP/USD",
        "settlementTerm": "SAME_DAY",
        "settlementDate": "2026-11-24"
      },
      "rejectionReason": null,
      "statusHistory": [
        {
          "status": "IN_PROGRESS",
          "at": "2026-11-24T15:04:20.456Z"
        }
      ],
      "createdAt": "2026-11-24T15:04:20.456Z",
      "updatedAt": "2026-11-24T15:04:20.456Z"
    },
    {
      "transactionId": "SBX-OR-NPTRFI261124K7Q2M9-X4",
      "type": "TRANSFER",
      "status": "COMPLETED",
      "method": "ACH",
      "amount": 150000,
      "currency": "COP",
      "fee": 0,
      "note": "Pago factura 1234",
      "destination": {
        "entityType": "person",
        "documentType": "CC",
        "documentNumber": "1020304050",
        "name": "LUIS GÓMEZ",
        "bankCode": "0007",
        "bankName": "Bancolombia",
        "accountType": "ahorros",
        "accountNumber": "0012345678",
        "breBKey": null
      },
      "rejectionReason": null,
      "statusHistory": [
        {
          "status": "IN_PROGRESS",
          "at": "2026-11-24T15:04:05.123Z"
        },
        {
          "status": "SENT",
          "at": "2026-11-24T15:04:35.123Z"
        },
        {
          "status": "COMPLETED",
          "at": "2026-11-24T15:05:05.123Z"
        }
      ],
      "createdAt": "2026-11-24T15:04:05.123Z",
      "updatedAt": "2026-11-24T15:05:05.123Z"
    }
  ],
  "page": 1,
  "size": 10,
  "pages": 1,
  "count": 2,
  "total": 2
}
```

### Completed withdrawals only

```bash
curl "https://sandbox.zulu.com.co/v1/transactions?type=TRANSFER&status=COMPLETED" \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 200**

```json
{
  "data": [
    {
      "transactionId": "SBX-OR-NPTRFI261124K7Q2M9-X4",
      "type": "TRANSFER",
      "status": "COMPLETED",
      "method": "ACH",
      "amount": 150000,
      "currency": "COP",
      "fee": 0,
      "note": "Pago factura 1234",
      "destination": {
        "entityType": "person",
        "documentType": "CC",
        "documentNumber": "1020304050",
        "name": "LUIS GÓMEZ",
        "bankCode": "0007",
        "bankName": "Bancolombia",
        "accountType": "ahorros",
        "accountNumber": "0012345678",
        "breBKey": null
      },
      "rejectionReason": null,
      "statusHistory": [
        {
          "status": "IN_PROGRESS",
          "at": "2026-11-24T15:04:05.123Z"
        },
        {
          "status": "SENT",
          "at": "2026-11-24T15:04:35.123Z"
        },
        {
          "status": "COMPLETED",
          "at": "2026-11-24T15:05:05.123Z"
        }
      ],
      "createdAt": "2026-11-24T15:04:05.123Z",
      "updatedAt": "2026-11-24T15:05:05.123Z"
    }
  ],
  "page": 1,
  "size": 10,
  "pages": 1,
  "count": 1,
  "total": 1
}
```

### Page size out of range

```bash
curl "https://sandbox.zulu.com.co/v1/transactions?size=500" \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 400**

```json
{
  "error": "BadRequestApiError",
  "cause": "error in struct validation",
  "values": {
    "size": "failed validation on the \"lte\" tag with value required \"100\""
  }
}
```
