# Get a deposit

`GET /v1/deposits/{depositId}` · [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 deposit with its payer and reference. The id arrives in the `DEPOSITS` 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 |
| --- | --- | --- | --- |
| `depositId` | string | required | Deposit id. |

## Responses

### 200

The deposit.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `depositId` | string | required | Deposit id: `SBX-MOV-CREDIT-{uuid}` in the sandbox. |
| `method` | string | required | How it arrived. Values: `PSE` (Payment of a PSE link.), `BRE_B` (Bre-B transfer to one of your keys.), `BRE_B_QR` (Payment of one of your Bre-B QR codes.). |
| `amount` | integer | required | Amount credited (COP, whole pesos). |
| `currency` | string | required | Always `COP`. Always `"COP"`. |
| `reference` | string | required | What it belongs to: the link's `reference` (PSE), the key that received it (Bre-B) or the QR's `reference` (or its id). |
| `externalId` | string | required | Network id (PSE CUS or Bre-B transfer id). Synthetic in the sandbox. |
| `payer` | object | required | Payer of the deposit. In the sandbox the data is synthetic (or what you send to the simulator). |
| `payer.fullName` | string | required | Full name or company name. |
| `payer.documentType` | string | required | Document type. |
| `payer.documentNumber` | string | required | Document number. |
| `payer.bankName` | string | required | Bank the payer paid from. |
| `createdAt` | string (date-time) | required | Arrival (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` | `deposit "%s" not found` | No deposit 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 received Bre-B transfer

```bash
curl https://sandbox.zulu.com.co/v1/deposits/SBX-MOV-CREDIT-5d1b2f0e-6c3a-4e8b-9f7d-1a2b3c4d5e6f \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 200**

```json
{
  "depositId": "SBX-MOV-CREDIT-5d1b2f0e-6c3a-4e8b-9f7d-1a2b3c4d5e6f",
  "method": "BRE_B",
  "amount": 250000,
  "currency": "COP",
  "reference": "@acmepagos",
  "externalId": "SBXBREB2611241504052K9Q",
  "payer": {
    "fullName": "Marta Ruiz",
    "documentType": "CC",
    "documentNumber": "52123456",
    "bankName": "Banco Davivienda"
  },
  "createdAt": "2026-11-24T15:04:05.123Z"
}
```

### Unknown id

```bash
curl https://sandbox.zulu.com.co/v1/deposits/SBX-MOV-CREDIT-00000000-0000-4000-8000-000000000000 \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"
```

**Response 404**

```json
{
  "error": "NotFoundApiError",
  "cause": "deposit \"SBX-MOV-CREDIT-00000000-0000-4000-8000-000000000000\" not found"
}
```
