# Postman collection

> Import every Anytime Capital Payments API endpoint into Postman, Insomnia or Bruno from one link, with your test key as a variable and example bodies.

Source: https://anytime-capital.com/docs/postman · Markdown: https://anytime-capital.com/docs/postman.md · All docs: https://anytime-capital.com/docs/llms-full.txt

Every endpoint of the API, 53 requests in all, as a Postman collection (v2.1) at `https://anytime-capital.com/api/docs/postman.json`. It's built from the [OpenAPI document](https://anytime-capital.com/docs/openapi.md) with the reference's worked examples, so it always matches the API: real example ids, query parameters and bodies, and a saved example answer for each request.

## Import it into Postman

1. In Postman, choose **Import** and paste the collection's link: `https://anytime-capital.com/api/docs/postman.json`.
2. Open the collection **Anytime Capital Payments API**, then its **Variables** tab.
3. Set `apiKey` to a test key (`ak_test_…`) from **Settings → Developers** with test mode on, and save.
4. Open **Payments → List payments** and send it.

There's no **Run in Postman** button yet: importing by link gives you the same collection. Import again whenever you want the newest endpoints; your variables live in the copy you edit, so set the key again on a fresh import.

## Insomnia, Bruno and others

Insomnia and Bruno import Postman collections: use their import from a URL (or download the file and import that), then set the bearer token to your test key. Clients that read OpenAPI can import the [OpenAPI document](https://anytime-capital.com/docs/openapi.md) directly instead.

## What's in it

| Part | What it does |
| --- | --- |
| Folders | One per area of the API: Payments, Refunds, Payment links, Invoices and the rest, as in the reference. |
| `{{apiKey}}` | Sent as `Authorization: Bearer …` on every request but the public OpenAPI document. |
| `{{baseUrl}}` | `https://anytime-capital.com/api/v1`, the same in test and live mode: your key decides which. |
| `Idempotency-Key` | `{{$guid}}` on every write that takes one, a new UUID per send. Set your own value to see a retry within 24 hours return the first answer. |
| Query parameters | Every one the endpoint takes; the example's are switched on, the rest are there to switch on. |
| Examples | Each request's example answer, saved beside it. |
| Version | Built from OpenAPI document `2026-10-24`. See the [Changelog](https://anytime-capital.com/docs/changelog.md) for what changed. |

> **Start in test mode:** With a test key, every request reaches your test data only and no real money moves. Switch `apiKey` to a live key only when you mean to act on real payments, and keep live keys out of shared workspaces.

- [OpenAPI document](https://anytime-capital.com/docs/openapi.md): The same API as OpenAPI 3.1, for code generators.
- [Test mode](https://anytime-capital.com/docs/test-mode.md): Test keys, test cards and test events.
- [Anytime CLI](https://anytime-capital.com/docs/cli.md): Forward test webhook events to your own machine.

---

Anytime Capital is a fintech company, not a bank. Payment processing, banking and payout services are provided by Anytime Capital's licensed partners. Rates shown are for US card payments; international cards, currency conversion and disputes may carry additional fees shown in your dashboard before you accept a payment.
