# Collect, convert and pay out from your code.

> Pay-ins over PSE, Bre-B and QR, USD↔COP FX and payouts over Bre-B or ACH. Try it all in the sandbox with the same calls you'll make in production, and connect it to your AI agents.

- [Start in 5 minutes](https://developers.zulu.com.co/en/docs/quickstart.md)
- [See the reference](https://developers.zulu.com.co/en/reference.md)

## Three verticals, one API

Every endpoint says where it exists today: in production or, with its final signature, in the sandbox.

### [Pay-in](https://developers.zulu.com.co/en/docs/pay-in.md)

PSE payment links, Bre-B keys and dynamic QR codes. Everything you receive lands as a deposit in your COP balance.

- [Sandbox · coming soon] `POST /v1/recharge-links` — [Create a PSE payment link](https://developers.zulu.com.co/en/reference/create-recharge-link.md)
- [Sandbox · coming soon] `GET /v1/recharge-links` — [List payment links](https://developers.zulu.com.co/en/reference/list-recharge-links.md)
- [Sandbox · coming soon] `GET /v1/recharge-links/{slug}` — [Get a payment link](https://developers.zulu.com.co/en/reference/get-recharge-link.md)
- [Sandbox · coming soon] `DELETE /v1/recharge-links/{slug}` — [Cancel a payment link](https://developers.zulu.com.co/en/reference/cancel-recharge-link.md)
- [Sandbox · coming soon] `GET /v1/bre-b/keys` — [List your Bre-B keys](https://developers.zulu.com.co/en/reference/list-bre-b-keys.md)
- [Sandbox · coming soon] `POST /v1/bre-b/keys` — [Create a Bre-B key](https://developers.zulu.com.co/en/reference/create-bre-b-key.md)
- [Sandbox · coming soon] `DELETE /v1/bre-b/keys/{key}` — [Delete a Bre-B key](https://developers.zulu.com.co/en/reference/delete-bre-b-key.md)
- [Sandbox · coming soon] `POST /v1/bre-b/qr-codes` — [Create a Bre-B QR code](https://developers.zulu.com.co/en/reference/create-qr-code.md)
- [Sandbox · coming soon] `GET /v1/bre-b/qr-codes/{id}` — [Get a QR code](https://developers.zulu.com.co/en/reference/get-qr-code.md)
- [Sandbox · coming soon] `GET /v1/deposits` — [List deposits](https://developers.zulu.com.co/en/reference/list-deposits.md)
- [Sandbox · coming soon] `GET /v1/deposits/{depositId}` — [Get a deposit](https://developers.zulu.com.co/en/reference/get-deposit.md)

### [FX](https://developers.zulu.com.co/en/docs/fx.md)

Quote USD→COP and COP→USD with a rate locked for 30 seconds and settle the same, the next or the second business day.

- [Sandbox · coming soon] `GET /v1/quotes` — [Quote a conversion](https://developers.zulu.com.co/en/reference/get-quote.md)
- [Sandbox · coming soon] `POST /v1/transactions` — [Convert with a quote](https://developers.zulu.com.co/en/reference/create-fx-transaction.md)

### [Payout](https://developers.zulu.com.co/en/docs/payout.md)

Withdraw your COP balance with a single call: zulu picks Bre-B, online ACH or manual payment by amount and beneficiary.

- [Production] `POST /v1/transfer` — [Withdraw COP balance](https://developers.zulu.com.co/en/reference/create-transfer.md)
- [Sandbox · coming soon] `GET /v1/bre-b/keys/{key}` — [Resolve a Bre-B key](https://developers.zulu.com.co/en/reference/resolve-bre-b-key.md)

## From access to your first payout in three steps

1. **Request sandbox access**: Ask for it in the dashboard. Once approved you create a `client_id`, a `client_secret` and an `X-API-Key`. (https://developers.zulu.com.co/en/dashboard/request-access)
2. **Exchange your credentials for a token**: OAuth2 `client_credentials`, exactly as in production. The token lasts one hour: reuse it.

```bash
curl https://sandbox.zulu.com.co/v1/auth/token \
  -H "Content-Type: application/json" \
  -d '{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET"
}'
```

3. **Make your first call**: Send the token and your `X-API-Key`. zulu picks the payout method and returns it in `method`.

```bash
curl https://sandbox.zulu.com.co/v1/transfer \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 50000,
  "destination": {
    "entityType": "person",
    "documentType": "CC",
    "documentNumber": "1020304050",
    "firstName": "Luis",
    "lastName": "Gómez",
    "bankAccount": {
      "bankCode": "0007",
      "accountType": "ahorros",
      "accountNumber": "0012345678"
    },
    "breBKey": {
      "key": "@luisgomez",
      "keyType": "ALPHA",
      "bankOrgId": "890903938",
      "bankCamera": "TFY"
    }
  }
}'
```

**Response 201**

```json
{
  "transactionId": "SBX-OR-NPTRFI2611243HWD8T-6P",
  "status": "CREATED",
  "method": "BRE_B"
}
```

## Two base URLs, one signature

The sandbox simulates the whole API. Production serves today only the operations labeled Production; the rest arrive without changing their signature.

- **Sandbox** `https://sandbox.zulu.com.co/v1`: All 27 operations of the contract, simulated over test data. Self-service credentials from the dashboard.
- **Production** `https://api.zulutransfer.com/v1`: Only the operations available today. The zulu team hands out the credentials over a secure channel. `POST /v1/auth/token`, `POST /v1/transfer`.

## Docs built for agents

Your agent reads what you read: every page has its Markdown, the docs have an MCP and the API has a skill.

- **Docs MCP** (https://developers.zulu.com.co/mcp): Search guides, read endpoints, look up errors and test data, and try the sandbox with your own credentials.
- **llms.txt** (https://developers.zulu.com.co/en/llms.txt): The index agents read first, with every page labeled [Production] or [Sandbox].
- **Markdown for every page**: Add `.md` to any URL or send `Accept: text/markdown`.
- **The zulu-api skill** (https://developers.zulu.com.co/skills/zulu-api-en.zip): Endpoints, errors, webhooks, test data and FX math, packaged for Claude and other agents.
