# Zulu Instant Payment (ZIP)

> When a withdrawal goes out by Zulu Instant Payment (ZIP), how its status moves and how to test rejections and the MANUAL response.

[Production]

Zulu Instant Payment (ZIP) sends the money to the beneficiary's bank the same day. zulu picks it when the withdrawal meets all its conditions; if one fails, the response carries `method: MANUAL` and zulu completes the payment itself.

In the API, ZIP shows up as `method: "ACH"`.

| Rule | Operations |
| --- | --- |
| ZIP only with whole pesos: an amount with decimals (for example 150000.50) goes `MANUAL`. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |
| Zulu Instant Payment (ZIP, `method: ACH`) requires `canUseAchDispersion`, a catalog bank with a 4-digit code, a savings or checking account, up to 250,000,000 COP and room in the daily caps (count and sum). If anything fails, or the dispatch does not queue, the withdrawal goes `MANUAL`. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |

## What your request needs

- **`bankCode`**: the 4-digit code of the beneficiary's bank, as it appears in the catalog. Without it, ZIP is not possible (unless the account is already registered with its bank at zulu).
- **`accountType`**: savings or checking (`savings`/`saving` mean `ahorros` and `checking` means `corriente`).
- **`amount`** in whole pesos and within the per-withdrawal maximum.

**GET** `/v1/banks` — List banks · [Sandbox · coming soon] · [See the reference](https://developers.zulu.com.co/en/reference/list-banks.md)

**GET /v1/banks**

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

```javascript
const response = await fetch('https://sandbox.zulu.com.co/v1/banks', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.ZULU_ACCESS_TOKEN}`,
    'X-API-Key': process.env.ZULU_API_KEY,
  },
});

console.log(response.status, await response.json());
```

```python
import os

import requests

response = requests.get(
    "https://sandbox.zulu.com.co/v1/banks",
    headers={
        "Authorization": f"Bearer {os.environ['ZULU_ACCESS_TOKEN']}",
        "X-API-Key": os.environ["ZULU_API_KEY"],
    },
    timeout=30,
)
print(response.status_code, response.json())
```

A `bankCode` that is not in the catalog answers `422 bank with code "…" is not supported`.

## Daily caps

Besides the per-withdrawal maximum, ZIP has a daily count cap and a daily amount cap. Read them, with today's usage, in `GET /v1/limits`. Going over a cap is not an error: the response carries `method: MANUAL`.

**GET** `/v1/limits` — Get limits · [Sandbox · coming soon] · [See the reference](https://developers.zulu.com.co/en/reference/get-limits.md)

## Statuses and timings

`IN_PROGRESS` → `SENT` (the bank received the order) → `COMPLETED`, or `REJECTED` if the bank returns the payment.

| Rule | Operations |
| --- | --- |
| Simulated timings: Bre-B `COMPLETED` after 3 s; ZIP `SENT` after 30 s and `COMPLETED` after 60 s; `MANUAL` `SENT` and `COMPLETED` on business days (with Colombian holidays). `advanceTransaction` skips the wait. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md), [`listTransactions`](https://developers.zulu.com.co/en/reference/list-transactions.md), [`getTransaction`](https://developers.zulu.com.co/en/reference/get-transaction.md), [`advanceTransaction`](https://developers.zulu.com.co/en/reference/advance-transaction.md) |
| A `REJECTED` withdrawal returns the debit to the balance in the sandbox. In production operations performs the reversal. | [`getTransaction`](https://developers.zulu.com.co/en/reference/get-transaction.md), [`advanceTransaction`](https://developers.zulu.com.co/en/reference/advance-transaction.md) |

## Test the hard cases

| Field | Value | Effect | Operations |
| --- | --- | --- | --- |
| `destination.bankAccount.accountNumber` | `0000000001` | The withdrawal goes out by ZIP (`IN_PROGRESS`), reaches `SENT` and ends `REJECTED`; the debit is reversed and a webhook is sent for each change. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md), [`getTransaction`](https://developers.zulu.com.co/en/reference/get-transaction.md), [`advanceTransaction`](https://developers.zulu.com.co/en/reference/advance-transaction.md) |
| `destination.bankAccount.accountNumber` | `0000000002` | The ZIP dispatch does not queue: the withdrawal answers `{status: IN_PROGRESS, method: MANUAL}` and zulu completes the payment itself. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |
| `destination.breBKey.key` | `@failbreb` | The Bre-B transfer fails: the withdrawal answers `{status: CREATED, method: MANUAL}`, as in production, and zulu completes the payment itself. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |
| `destination.documentNumber` | `1111111111` | The beneficiary is registered but not verified: 422 `the beneficiary with document "1111111111" is not verified`. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |
| `destination.documentNumber` | `2222222222` | The beneficiary is already registered as "Ana Pérez". A name sharing a word (regardless of accents, case or order) passes; any other answers 422 `the name does not match the beneficiary registered with document "2222222222"`. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |
| `destination.bankAccount.bankCode` | `9999` | The bank is not in the catalog: 422 `bank with code "9999" is not supported`. | [`createTransfer`](https://developers.zulu.com.co/en/reference/create-transfer.md) |

- Account `0000000001` walks `IN_PROGRESS` → `SENT` → `REJECTED`: test that your system handles a rejection after sending.
- Account `0000000002` simulates a dispatch that does not queue: the withdrawal answers `{status: IN_PROGRESS, method: MANUAL}`.
- Bank `9999` is not in the catalog: `422`.
