# Recommended prompts

> Copy-ready prompts that lead your agent to integrate, debug and test the zulu API with the right sources.

These prompts work best with the [MCP](https://developers.zulu.com.co/en/docs/agents/mcp.md) or the [skill](https://developers.zulu.com.co/en/docs/agents/skills.md) installed. Without them, start with: "Read [https://developers.zulu.com.co/en/llms.txt](https://developers.zulu.com.co/en/llms.txt)".

## Integrate payouts

```text
Integrate COP balance payouts with the zulu API in this project. Use POST /v1/transfer
(available in production) and OAuth2 client_credentials authentication with a token cache.
Read the credentials from ZULU_CLIENT_ID, ZULU_CLIENT_SECRET and ZULU_API_KEY. Treat BRE_B, ACH and
MANUAL as valid methods, store the transactionId and never retry a payout without confirming
whether the previous one was created. Write tests against the sandbox using zulu's test data.
```

## Debug an error

```text
This call to the zulu API answers 422 with this cause: <paste the response and the X-Request-Id>.
Look the code up in zulu's error catalog, explain which rule failed and fix the request.
Do not change anything that is not documented in the contract.
```

## Signed webhook

```text
Write an endpoint that receives zulu's TRANSACTIONS, DEPOSITS and RECHARGE_LINKS webhooks.
Verify X-Zulu-Webhook-Signature over the raw body with the documented scheme, reject timestamps
more than 300 s away, drop repeated ids, answer 200 immediately and process on a queue.
Test the verification with the docs' test vector.
```

## Reconcile deposits

```text
Implement zulu deposit reconciliation: process the DEPOSITS webhook exactly once per depositId,
match reference against my invoices and sweep daily with GET /v1/deposits by Bogotá dates.
Flag whatever does not match as "needs review". Test it with the sandbox simulators.
```

## Quote and execute FX

```text
Build zulu's COP→USD conversion flow: quote with GET /v1/quotes, show the factor and the amount
computed with integers, and execute with POST /v1/transactions before the quote expires after
30 seconds. If it expires, quote again. Remember FX is sandbox-only for now.
```

> **Never paste credentials into a prompt**
>
> Use environment variables or the MCP's headers. A secret in the chat stays in the history and in the model's logs.
