Agentic Bank docs

Real bank account for AI agents. The owner connects a business bank once (Mercury, Wise or RazorpayX). One REST API and one MCP server then let an agent see the accounts it was granted, pay by ACH, wire, RTP, SEPA, Faster Payments, UPI, IMPS or NEFT through that bank’s own API, track each payment’s bank status and read statements, all inside a spending policy its owner controls.

Base URL https://www.banker.quest/api/v1 · MCP https://www.banker.quest/mcp · OpenAPI https://www.banker.quest/openapi.json · https://www.banker.quest/llms.txt

sandbox Sandbox banks behave like the real ones with simulated money; their account numbers and cards can’t receive or spend real funds. live Connecting a real bank is invite-only for now. Agentic Bank is a technology platform, not a bank. Money stays in your own bank account and we never hold it; the sandbox moves no real money.

Quickstart

1. Get a key

Owners create agents in the dashboard (sign in with an email link, then add a sandbox bank or connect yours). Or an agent signs itself up and sends its owner the claim link:

curl -X POST https://www.banker.quest/api/v1/agents/register \
  -H "content-type: application/json" \
  -d '{"name":"research-agent"}'

{ "agent": { "id": "agt_…", "claimed": false, … },
  "api_key": "bq_sk_…",              ← shown once
  "claim_url": "https://www.banker.quest/claim/clm_…" }

2. See the accounts you were granted (and fund one in the sandbox)

export BQ_KEY=bq_sk_…
curl https://www.banker.quest/api/v1/accounts -H "Authorization: Bearer $BQ_KEY"
# → { "accounts": [ { "id": "acc_…", "bank": "Mercury", "mode": "sandbox", "currency": "usd",
#       "balance": "25000.00", "rails": ["ach","wire","rtp"], "details": { "routing_number": "…" } } ] }

curl -X POST https://www.banker.quest/api/v1/sandbox/deposits -H "Authorization: Bearer $BQ_KEY" \
  -H "content-type: application/json" -d '{"account_id":"acc_…","amount":"500.00","from":"Acme Inc"}'

3. Pay

curl -X POST https://www.banker.quest/api/v1/payments -H "Authorization: Bearer $BQ_KEY" \
  -H "Idempotency-Key: order-1042" -H "content-type: application/json" -d '{
    "from_account": "acc_…", "rail": "ach", "amount": "120.00",
    "to": { "routing_number": "021000021", "account_number": "000123456789", "name": "GPU Co" },
    "memo": "October compute" }'
# → { "id": "pay_…", "status": "processing", "bank_reference": "…" }   then "completed"

4. Spend with a card (sandbox)

curl -X POST https://www.banker.quest/api/v1/cards -H "Authorization: Bearer $BQ_KEY" -H "content-type: application/json" \
  -d '{"account_id":"acc_…","nickname":"LLM APIs","limits":{"per_tx_usd":"50","allowed_categories":["ai","cloud"]}}'

Authentication

  • Agents send Authorization: Bearer bq_sk_…. A key belongs to one agent; owners can make up to 5 per agent and revoke them at once.
  • Owners sign in with a one-time email link (POST /v1/auth/email, valid 15 minutes). Owner calls use the bq_session cookie; to act as one of their agents, owners add agent_id.
  • Agents can never change their policy, connect banks, see bank credentials, create keys or approve payments.

MCP server

Remote MCP over Streamable HTTP at https://www.banker.quest/mcp, authenticated with the agent key. Works with Claude (Desktop, Code, the API’s MCP connector), Cursor, and any MCP client.

# Claude Code
claude mcp add --transport http agentic-bank https://www.banker.quest/mcp \
  --header "Authorization: Bearer bq_sk_…"

# Claude Desktop / Cursor (mcp.json)
{ "mcpServers": { "agentic-bank": {
    "type": "http", "url": "https://www.banker.quest/mcp",
    "headers": { "Authorization": "Bearer bq_sk_…" } } } }

Tools (20):

  • list_rails — The banks you can connect, their currencies and the rails each pays by, with typical settlement times.
  • whoami — Who this key belongs to: the agent, whether it is claimed, and its spending policy.
  • list_accounts — The bank accounts this agent may use: bank, currency, balance, rails, sandbox or live.
  • account_details — One bank account: balance, rails and details to receive money (sandbox shows full fake numbers; live shows the last 4 digits).
  • get_balance — Every balance this agent can see, plus the total in USD at reference rates.
  • list_transactions — Ledger entries on the agent’s accounts (money in and out through Agentic Bank), newest first.
  • get_statement — Monthly statement of an account. format=csv for a spreadsheet.
  • send_payment — Send money from one of the agent’s bank accounts by a rail. Checked against the policy; at or above the approval threshold it waits for the owner. Live accounts send through the owner’s bank.
  • list_payments — Payments, newest first.
  • get_payment — One payment, its status and the bank’s reference.
  • cancel_payment — Cancel a payment that is still waiting for approval.
  • issue_card — Issue a virtual Visa card on a sandbox USD account, with its own limits, categories and merchant list (live cards arrive with Increase and Revolut Business). The number is returned once.
  • list_cards — The agent’s cards (numbers masked).
  • card_details — One card; reveal=true includes the full number and CVC.
  • update_card — Freeze, unfreeze or close a card, or change its limits (an agent stays within its policy; the owner can do anything).
  • card_charges — Charges on a card, approved and declined (with the reason).
  • get_policy — The spending policy the owner set for this agent (agents can read it, never change it), and what is used today and this month.
  • list_events — Recent events (the same ones sent to webhooks), newest first.
  • simulate_deposit — Simulate money arriving in a sandbox account (an incoming ACH, SEPA, Faster Payment or UPI).
  • simulate_card_charge — Simulate a merchant charging a card. Approved or declined by the card’s status, limits, categories, merchant list, the agent’s policy and the balance.

Owners and agents

An owner (a person or company, identified by email) holds the bank account at their own bank and connects it. An agent belongs to one owner and uses only the bank accounts its policy grants, with its own API keys. Agentic Bank never holds the money: live payments are made by your bank, through its API, with credentials you can revoke at the bank.

A self-registered agent is unclaimed until its owner opens the claim link: it has no accounts and can’t move money. Claiming applies the default policy (below) with the owner’s sandbox accounts; the owner decides if it may use a live account. Owners can pause an agent: payments stop and its cards decline.

Banks, accounts and rails

Owners connect a bank in the dashboard (or POST /v1/connections with the bank’s API credentials; POST /v1/connections/sandbox for a simulated one). Its accounts are imported; the owner then grants them to agents. Live balances are read from the bank on sync (RazorpayX has no balance API, so it shows none).

BankAccountsPays byLive notes
Mercury USUSDachwirertpCreate a read-and-write API token in Mercury → Settings → API tokens. Direct sends need Mercury’s IP allowlist (set BANKER_EGRESS_PROXY to a fixed-IP proxy). Otherwise payments go out as Mercury payment requests that you approve in the Mercury app.
Wise Business GlobalUSD, EUR, GBPsepafpsachCreate a personal API token in Wise → Settings → API tokens (full access). Wise lets personal tokens fund transfers only for accounts based in the US, Canada, Australia, New Zealand, Singapore and Malaysia. Elsewhere (UK, EEA) the transfer is created and you fund it in the Wise app.
RazorpayX IndiaINRupiimpsneftCreate API keys in RazorpayX → Settings → API keys. RazorpayX requires IP allowlisting for payouts: set BANKER_EGRESS_PROXY to a fixed-IP proxy and allowlist its IP in RazorpayX.

Recipient (to) per rail:

ach/wire/rtp { "routing_number": "9 digits", "account_number": "…", "name": "…" }
             live Mercury and Wise also need "address1", "city", "region", "postal_code" (US address)
sepa         { "iban": "DE89…", "name": "…", "bic": "optional" }
fps          { "sort_code": "12-34-56", "account_number": "8 digits", "name": "…" }
upi          { "vpa": "name@bank", "name": "optional" }
imps/neft    { "ifsc": "HDFC0001234", "account_number": "…", "name": "…" }

Payments

Statuses: pending_approval → sending → processing → completed, or needs_bank_action (approve or fund it in your bank’s app), failed / rejected / cancelled. In the sandbox the amount is held at once and instant rails settle at once. In live mode the payment is sent to your bank through its API and its status follows the bank (polled about every 30 seconds); completed means the bank reports it sent. Rails:

  • ach ACH: US bank transfer to a routing and account number. Live: same day to 2 business days. Sandbox: about a minute.
  • wire Wire: US domestic wire. Live: same business day. Sandbox: about 20 seconds.
  • rtp RTP: Real-time payment, 24/7, in seconds, when the receiving bank supports it.
  • sepa SEPA: Euro transfer to any IBAN. Live: usually within a business day. Sandbox: about 30 seconds.
  • fps Faster Payments: UK transfer to a sort code and account number. Usually seconds.
  • upi UPI: India, to any UPI ID. Seconds, 24/7.
  • imps IMPS: India, to an account number and IFSC. Seconds, 24/7.
  • neft NEFT: India, to an account number and IFSC. Settles in batches. Sandbox: about 30 seconds.

Policy and approvals

{ "per_tx_usd": "1000",        max per payment or card charge (USD equivalent)
  "daily_usd": "5000",          per UTC day, payments + card charges
  "monthly_usd": "25000",
  "approval_over_usd": "500",   at or above → pending_approval ("" = never)
  "rails": ["ach","wire","rtp","sepa","fps","upi","imps","neft"],
  "accounts": ["acc_…"],        bank accounts this agent may use (owner only)
  "allowlist": [] }             empty = any counterparty

Owners set it with PUT /v1/agents/{id}/policy (or the dashboard); agents read it with GET /v1/policy, which also returns what they used today and this month. Payments waiting for approval show in the dashboard and are emailed to the owner; POST /v1/approvals/{id} decides, and only then is a live payment sent to the bank. An agent can cancel its own waiting payment.

Cards

sandbox Virtual Visa cards spend from a sandbox USD account; live cards arrive with Increase and Revolut Business. Each card has its own per-transaction, daily and monthly limits (an agent can’t set them above its policy), allowed and blocked merchant categories (software, cloud, ai, advertising, data, travel, food, retail, services, gambling, other; gambling is blocked by default) and an optional merchant list. Agents can freeze their cards; a card frozen by the owner stays frozen until the owner unfreezes it. The full number is returned once at issue (and with reveal=true).

Sandbox

  • Add a sandbox bank per provider (Mercury USD $25,000; Wise EUR, GBP and USD; RazorpayX ₹10,00,000). Fund accounts with POST /v1/sandbox/deposits (up to $100,000 per agent per day).
  • Simulate a merchant charge with POST /v1/sandbox/card-charges.
  • Test failures: a sandbox payment of exactly 13.13 fails (the money returns); a card charge of 66.60 is declined.
  • Sandbox account numbers use unassigned test ranges (routing 999…, IBAN country XA, sort code 99-…, IFSC BNKQ0…). Sandbox and live accounts never mix: a payment uses the mode of its account.

Webhooks

Set one https URL for all your agents (dashboard → Webhook, or PUT /v1/webhook). Every event is POSTed as JSON {id, type, agent_id, created_at, data} with Standard Webhooks headers webhook-id, webhook-timestamp, webhook-signature. Agents can also poll GET /v1/events.

// verify (Node)
import { createHmac, timingSafeEqual } from 'node:crypto'
const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64')
const want = 'v1,' + createHmac('sha256', key).update(`${id}.${timestamp}.${rawBody}`).digest('base64')
const ok = signatureHeader.split(' ').some((s) => s.length === want.length && timingSafeEqual(Buffer.from(s), Buffer.from(want)))
connection.created / connection.removedA bank was connected or disconnected.
deposit.receivedSimulated money arrived on a sandbox account.
payment.pending_approvalA payment is at or over the approval threshold; nothing has been sent to the bank.
payment.sentThe bank accepted the payment and it is processing.
payment.needs_bank_actionThe bank needs the owner to act in its own app (approve or fund the transfer).
payment.updatedThe bank reported a new status or reference.
payment.completed / payment.failed / payment.cancelled / payment.rejectedFinal state.
approval.requested / approval.decidedThe approval itself.
card.issued / card.updatedCard created, frozen, closed or limits changed.
card.authorization.approved / .declinedA merchant charged a card (with the decline reason).
agent.registered / agent.created / agent.claimed / agent.paused / agent.resumed / policy.updatedAgent and owner actions.

Errors and conventions

  • Amounts are decimal strings ("25.00"), in the account’s currency. Never floats.
  • Send Idempotency-Key (or idempotency_key) on payments: the same key returns the same payment and never pays twice.
  • Lists are newest first; pass before=next_before for the next page.
  • Errors: {"error": {"code": "…", "message": "…"}}
HTTPcodeMeaning
400invalid_request · invalid_recipient · rail_not_supported · currency_not_supported · live_account · bank_rejectedFix the input; the message says what (bank_rejected: your bank refused the credentials).
401unauthorizedMissing or wrong API key / not signed in.
402insufficient_fundsNot enough money in the account.
403limit_per_tx · limit_daily · limit_monthly · rail_not_allowed · recipient_not_allowed · agent_paused · unclaimed · live_not_enabledThe owner’s policy (or invite gate) said no.
404not_foundNo such resource, or an account this agent was not granted.
409limit_reached · already_decided · not_cancellable · account_closed · live_cards_soonThe state changed, a cap was reached, or the action is sandbox-only.
429rate_limitedSlow down.
502 / 503bank_error · not_configuredYour bank refused or did not answer (the message has its reason), or the server is missing a setting.

API reference

Paths below are under https://www.banker.quest/api. agent = agent key (or owner + agent_id), owner = email session, public = no auth.

Agents

POST/v1/agents/registerpublic

An agent signs itself up: returns an API key and a claim link for its owner. It can read but not move money until the owner claims it and gives it bank accounts.

name body *string Agent name
curl -X POST https://www.banker.quest/api/v1/agents/register \
  -H "content-type: application/json" \
  -d '{"name":"<name>"}'
GET/v1/claims/{token}public

Which agent a claim link is for.

token path *string Claim token
curl https://www.banker.quest/api/v1/claims/{token}

Accounts

GET/v1/meagentmcp: whoami

Who this key belongs to: the agent, whether it is claimed, and its spending policy.

curl https://www.banker.quest/api/v1/me \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/accountsagentmcp: list_accounts

The bank accounts this agent may use: bank, currency, balance, rails, sandbox or live.

curl https://www.banker.quest/api/v1/accounts \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/accounts/{id}agentmcp: account_details

One bank account: balance, rails and details to receive money (sandbox shows full fake numbers; live shows the last 4 digits).

id path *string Bank account id
curl https://www.banker.quest/api/v1/accounts/{id} \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/balancesagentmcp: get_balance

Every balance this agent can see, plus the total in USD at reference rates.

curl https://www.banker.quest/api/v1/balances \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/transactionsagentmcp: list_transactions

Ledger entries on the agent’s accounts (money in and out through Agentic Bank), newest first.

account_id querystring Only this account
limit queryinteger Max items (≤ 200)
before querystring Cursor: next_before from the previous page
curl https://www.banker.quest/api/v1/transactions \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/accounts/{id}/statementagentmcp: get_statement

Monthly statement of an account. format=csv for a spreadsheet.

id path *string Bank account id
month querystring YYYY-MM (default this month)
format queryjson | csv json or csv
curl https://www.banker.quest/api/v1/accounts/{id}/statement \
  -H "Authorization: Bearer $BQ_KEY"

Payments

POST/v1/paymentsagentmcp: send_payment

Send money from one of the agent’s bank accounts by a rail. Checked against the policy; at or above the approval threshold it waits for the owner. Live accounts send through the owner’s bank.

from_account body *string Pay from this bank account
rail body *ach | wire | rtp | sepa | fps | upi | imps | neft Rail
to body *object Recipient. ach / wire / rtp: {routing_number, account_number, name} (Mercury also needs address1, city, region, postal_code) · sepa: {iban, name} · fps: {sort_code, account_number, name} · upi: {vpa} · imps / neft: {ifsc, account_number, name}. Optional: email, legal_type (BUSINESS/PRIVATE).
amount body *string Amount as a decimal string, e.g. "25.00"
memo bodystring Note / reference
idempotency_key bodystring Same key = same payment, never twice (also accepted as the Idempotency-Key header)
curl -X POST https://www.banker.quest/api/v1/payments \
  -H "Authorization: Bearer $BQ_KEY" \
  -H "content-type: application/json" \
  -d '{"from_account":"<from_account>","rail":"ach","to":{},"amount":"25.00"}'
GET/v1/paymentsagentmcp: list_payments

Payments, newest first.

status querypending_approval | sending | processing | needs_bank_action | completed | failed | cancelled | rejected Filter
account_id querystring Only this account
limit queryinteger Max items (≤ 200)
before querystring Cursor: next_before from the previous page
curl https://www.banker.quest/api/v1/payments \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/payments/{id}agentmcp: get_payment

One payment, its status and the bank’s reference.

id path *string Payment id
curl https://www.banker.quest/api/v1/payments/{id} \
  -H "Authorization: Bearer $BQ_KEY"
POST/v1/payments/{id}/cancelagentmcp: cancel_payment

Cancel a payment that is still waiting for approval.

id path *string Payment id
curl -X POST https://www.banker.quest/api/v1/payments/{id}/cancel \
  -H "Authorization: Bearer $BQ_KEY"

Cards

POST/v1/cardsagentmcp: issue_card

Issue a virtual Visa card on a sandbox USD account, with its own limits, categories and merchant list (live cards arrive with Increase and Revolut Business). The number is returned once.

account_id body *string A sandbox USD account
nickname bodystring Label, e.g. "OpenAI API"
limits bodyobject Card limits
curl -X POST https://www.banker.quest/api/v1/cards \
  -H "Authorization: Bearer $BQ_KEY" \
  -H "content-type: application/json" \
  -d '{"account_id":"<account_id>"}'
GET/v1/cardsagentmcp: list_cards

The agent’s cards (numbers masked).

curl https://www.banker.quest/api/v1/cards \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/cards/{id}agentmcp: card_details

One card; reveal=true includes the full number and CVC.

id path *string Card id
reveal queryboolean Include number and CVC
curl https://www.banker.quest/api/v1/cards/{id} \
  -H "Authorization: Bearer $BQ_KEY"
PATCH/v1/cards/{id}agentmcp: update_card

Freeze, unfreeze or close a card, or change its limits (an agent stays within its policy; the owner can do anything).

id path *string Card id
status bodyactive | frozen | closed New status
nickname bodystring Label
limits bodyobject Card limits
curl -X PATCH https://www.banker.quest/api/v1/cards/{id} \
  -H "Authorization: Bearer $BQ_KEY" \
  -H "content-type: application/json" \
  -d '{}'
GET/v1/cards/{id}/authorizationsagentmcp: card_charges

Charges on a card, approved and declined (with the reason).

id path *string Card id
limit queryinteger Max items (≤ 200)
curl https://www.banker.quest/api/v1/cards/{id}/authorizations \
  -H "Authorization: Bearer $BQ_KEY"

Policy

GET/v1/policyagentmcp: get_policy

The spending policy the owner set for this agent (agents can read it, never change it), and what is used today and this month.

curl https://www.banker.quest/api/v1/policy \
  -H "Authorization: Bearer $BQ_KEY"

Sandbox

POST/v1/sandbox/depositsagentmcp: simulate_deposit

Simulate money arriving in a sandbox account (an incoming ACH, SEPA, Faster Payment or UPI).

account_id body *string Sandbox account to fund
amount body *string Amount as a decimal string, e.g. "25.00"
from bodystring Sender name
reference bodystring Reference
curl -X POST https://www.banker.quest/api/v1/sandbox/deposits \
  -H "Authorization: Bearer $BQ_KEY" \
  -H "content-type: application/json" \
  -d '{"account_id":"<account_id>","amount":"25.00"}'
POST/v1/sandbox/card-chargesagentmcp: simulate_card_charge

Simulate a merchant charging a card. Approved or declined by the card’s status, limits, categories, merchant list, the agent’s policy and the balance.

card_id body *string Card id
amount body *string Amount in USD
merchant body *object
curl -X POST https://www.banker.quest/api/v1/sandbox/card-charges \
  -H "Authorization: Bearer $BQ_KEY" \
  -H "content-type: application/json" \
  -d '{"card_id":"<card_id>","amount":"25.00","merchant":{}}'

Webhooks

GET/v1/eventsagentmcp: list_events

Recent events (the same ones sent to webhooks), newest first.

type querystring Type prefix, e.g. payment. or card.
limit queryinteger Max items (≤ 200)
before querystring Cursor: next_before from the previous page
curl https://www.banker.quest/api/v1/events \
  -H "Authorization: Bearer $BQ_KEY"
GET/v1/webhookowner

Your webhook URL and signing secret.

curl https://www.banker.quest/api/v1/webhook
PUT/v1/webhookowner

Set (or clear with "") the https URL that receives every event.

url bodystring https URL ("" to turn off)
curl -X PUT https://www.banker.quest/api/v1/webhook \
  -H "content-type: application/json" \
  -d '{}'
POST/v1/webhook/rotateowner

A new signing secret (the old one stops at once).

curl -X POST https://www.banker.quest/api/v1/webhook/rotate
POST/v1/webhook/testowner

Send a webhook.test event now.

curl -X POST https://www.banker.quest/api/v1/webhook/test

Reference

GET/v1/railspublicmcp: list_rails

The banks you can connect, their currencies and the rails each pays by, with typical settlement times.

curl https://www.banker.quest/api/v1/rails

Banks

GET/v1/connectionsowner

Your bank connections (sandbox and live).

curl https://www.banker.quest/api/v1/connections
POST/v1/connections/sandboxowner

Connect a sandbox bank (Mercury, Wise or RazorpayX): the same accounts and rails with simulated money.

provider body *mercury | wise | razorpayx Bank
curl -X POST https://www.banker.quest/api/v1/connections/sandbox \
  -H "content-type: application/json" \
  -d '{"provider":"mercury"}'
POST/v1/connectionsowner

Connect your real bank with its API credentials (encrypted at rest, never shown again). Live mode is invite-only for now.

provider body *mercury | wise | razorpayx Bank
credentials body *object mercury: {api_token} · wise: {api_token} · razorpayx: {key_id, key_secret, account_number}
curl -X POST https://www.banker.quest/api/v1/connections \
  -H "content-type: application/json" \
  -d '{"provider":"mercury","credentials":{}}'
POST/v1/connections/{id}/syncowner

Refresh a live connection’s accounts and balances from the bank.

id path *string Connection id
curl -X POST https://www.banker.quest/api/v1/connections/{id}/sync
DELETE/v1/connections/{id}owner

Disconnect a bank: its credentials are deleted and agents lose access to its accounts at once.

id path *string Connection id
curl -X DELETE https://www.banker.quest/api/v1/connections/{id}
GET/v1/owner/accountsowner

Every bank account across your connections.

curl https://www.banker.quest/api/v1/owner/accounts

Owner

GET/v1/ownerowner

The signed-in owner: connected banks, accounts, agents, pending approvals, webhook.

curl https://www.banker.quest/api/v1/owner
POST/v1/agentsowner

Create an agent; returns its first API key (shown once). It starts with access to your sandbox accounts.

name body *string Agent name
curl -X POST https://www.banker.quest/api/v1/agents \
  -H "content-type: application/json" \
  -d '{"name":"<name>"}'
GET/v1/agentsowner

Your agents.

curl https://www.banker.quest/api/v1/agents
PATCH/v1/agents/{id}owner

Rename, or pause / resume an agent (paused = no money moves, cards decline).

id path *string Agent id
name bodystring Name
status bodyactive | paused Status
curl -X PATCH https://www.banker.quest/api/v1/agents/{id} \
  -H "content-type: application/json" \
  -d '{}'
PUT/v1/agents/{id}/policyowner

Set the agent’s policy: which bank accounts it may use, limits, approval threshold, rails, counterparty allowlist.

id path *string Agent id
per_tx_usd bodystring Max per payment, USD equivalent
daily_usd bodystring Max per day across payments and cards, USD
monthly_usd bodystring Max per month, USD
approval_over_usd bodystring Payments at or above this wait for your approval ("" or null = never)
rails bodyach | wire | rtp | sepa | fps | upi | imps | neft[] Rails the agent may use
allowlist bodystring[] Only these counterparties (empty = any)
accounts bodystring[] The bank accounts this agent may use
curl -X PUT https://www.banker.quest/api/v1/agents/{id}/policy \
  -H "content-type: application/json" \
  -d '{}'
GET/v1/agents/{id}/keysowner

The agent’s active API keys (prefixes only).

id path *string Agent id
curl https://www.banker.quest/api/v1/agents/{id}/keys
POST/v1/agents/{id}/keysowner

A new API key for the agent (shown once).

id path *string Agent id
name bodystring Label
curl -X POST https://www.banker.quest/api/v1/agents/{id}/keys \
  -H "content-type: application/json" \
  -d '{}'
DELETE/v1/agents/{id}/keys/{key_id}owner

Revoke an API key at once.

id path *string Agent id
key_id path *string Key id
curl -X DELETE https://www.banker.quest/api/v1/agents/{id}/keys/{key_id}
POST/v1/claims/{token}owner

Claim a self-registered agent: it becomes yours, with the default policy and your sandbox accounts.

token path *string Claim token
curl -X POST https://www.banker.quest/api/v1/claims/{token}
GET/v1/approvalsowner

Payments waiting for your approval (status=all for history).

status querypending | approved | rejected | cancelled | all pending (default), approved, rejected, cancelled or all
curl https://www.banker.quest/api/v1/approvals
POST/v1/approvals/{id}owner

Approve (the payment goes out, through your bank for live accounts) or reject it.

id path *string Approval id
decision body *approve | reject approve or reject
reason bodystring Reason (shown to the agent)
curl -X POST https://www.banker.quest/api/v1/approvals/{id} \
  -H "content-type: application/json" \
  -d '{"decision":"approve"}'
GET/v1/owner/eventsowner

Every event across your banks and agents, with webhook delivery status.

type querystring Type prefix
limit queryinteger Max items (≤ 200)
before querystring Cursor: next_before from the previous page
curl https://www.banker.quest/api/v1/owner/events

Live mode

POST/v1/waitlistpublic

Ask for live mode (connect your real bank). Live is invite-only for now.

email body *string Email
name bodystring Name
company bodystring Company
use_case bodystring What your agents will do with money
banks bodystring[] Which banks / rails you need
curl -X POST https://www.banker.quest/api/v1/waitlist \
  -H "content-type: application/json" \
  -d '{"email":"<email>"}'