# Get a transaction

`GET /v1/transactions/{transactionId}` · [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.

Returns a withdrawal or a conversion with its current status and status history. Use it before retrying a withdrawal that answered 5xx or timed out. To learn about every change without polling, set up the `TRANSACTIONS` webhook.

## Authentication

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

## Request

### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `transactionId` | string | required | Transaction id. |

## Responses

### 200

The transaction.

One of these shapes:

**Shape TransferTransaction**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `transactionId` | string | required | Identifier of the transaction (the order id in zulu). In the sandbox: `SBX-OR-{SO\|NP}TRFI{YYMMDD}{6}-{2}`. |
| `type` | string | required | Withdrawal. Always `"TRANSFER"`. |
| `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.). |
| `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.). |
| `amount` | number | required | Amount withdrawn (COP, up to 2 decimals). |
| `currency` | string | required | Always `COP`. Always `"COP"`. |
| `fee` | number | required | Dispersion fee, debited on top of the amount. |
| `note` | string \| null | required | The withdrawal `note`, if sent. |
| `destination` | object | required | Where the money went. |
| `destination.entityType` | string | required | Beneficiary type. Values: `person` (Natural person (an individual).), `company` (Company (legal entity).). |
| `destination.documentType` | string | required | Document type. |
| `destination.documentNumber` | string | required | Document number. |
| `destination.name` | string | required | Full name or company name, as registered. |
| `destination.bankCode` | string \| null | required | ACH code of the bank; `null` when unknown. |
| `destination.bankName` | string \| null | required | Bank name; `null` when unknown. |
| `destination.accountType` | string | required | Account type (normalized). Values: `ahorros` (Savings account.), `corriente` (Checking account.). |
| `destination.accountNumber` | string | required | Account number. |
| `destination.breBKey` | string \| null | required | Bre-B key used; `null` when none was sent. |
| `rejectionReason` | string \| null | required | Rejection reason; `null` except when `REJECTED`. |
| `statusHistory` | array<object> | required | Status changes, oldest first. |
| `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.). |
| `statusHistory[].at` | string (date-time) | required | When it changed (UTC). |
| `createdAt` | string (date-time) | required | Creation time (UTC). |
| `updatedAt` | string (date-time) | required | Last update (UTC). |

**Shape FxTransaction**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `transactionId` | string | required | Identifier of the transaction (the order id in zulu). In the sandbox: `SBX-OR-{SO\|NP}TRFI{YYMMDD}{6}-{2}`. |
| `type` | string | required | Conversion. Always `"FX"`. |
| `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.). |
| `amount` | number | required | Origin amount debited. |
| `currency` | string | required | Origin currency. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |
| `fee` | number | required | Always 0: the margin is in the factor. |
| `fx` | object | required | Both sides of the conversion. |
| `fx.quote` | string | required | Quote used. |
| `fx.originCurrency` | string | required | Currency debited. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |
| `fx.originAmount` | number | required | Amount debited. |
| `fx.destinationCurrency` | string | required | Currency credited. Values: `COP` (Colombian peso (whole pesos).), `USD` (US dollar (up to 2 decimals).). |
| `fx.destinationAmount` | number | required | Amount credited at settlement. |
| `fx.factor` | number | required | Quote factor (COP per USD). |
| `fx.factorFormula` | string | required | Factor formula. Always `"COP/USD"`. |
| `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.). |
| `fx.settlementDate` | string (date) | required | Settlement business day (Bogotá). |
| `rejectionReason` | string \| null | required | Rejection reason; `null` except when `REJECTED`. |
| `statusHistory` | array<object> | required | Status changes, oldest first. |
| `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.). |
| `statusHistory[].at` | string (date-time) | required | When it changed (UTC). |
| `createdAt` | string (date-time) | required | Creation time (UTC). |
| `updatedAt` | string (date-time) | required | Last update (UTC). |

### 401

The access token is missing, invalid or expired.

### 403

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

### 404

The resource does not exist.

### 429

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

### 500

Internal error.

## Errors

| HTTP | error | cause | Description |
| --- | --- | --- | --- |
| 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. |
| 404 | `NotFoundApiError` | `transaction "%s" not found` | No transaction with that id exists in your workspace. |
| 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

### A completed ACH withdrawal

```bash
curl https://sandbox.zulu.com.co/v1/transactions/SBX-OR-NPTRFI261124K7Q2M9-X4 \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 200**

```json
{
  "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"
}
```

### A COP→USD conversion awaiting settlement

```bash
curl https://sandbox.zulu.com.co/v1/transactions/SBX-OR-NPTRFI261124W8D3QF-2K \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 200**

```json
{
  "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"
}
```

### Unknown id

```bash
curl https://sandbox.zulu.com.co/v1/transactions/SBX-OR-NPTRFI261124ZZZZZZ-00 \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 404**

```json
{
  "error": "NotFoundApiError",
  "cause": "transaction \"SBX-OR-NPTRFI261124ZZZZZZ-00\" not found"
}
```
