- Connect an AI assistant: add the AgentPass MCP server to ChatGPT, Claude, Cursor, or any MCP client, and approve what the agent may buy.
- Merchant API: build AgentPass into your own checkout, app, or agent platform. Your backend enrolls shoppers, requests purchase approvals, and receives the credentials, with the hosted pages under your brand.
AgentPass provides the technology and the credential. It never submits, captures, refunds, or settles a payment, and Yuno does not hold funds. The merchant charges the card as with any other purchase.
Connect an AI assistant
Add the server to your assistant
- ChatGPT
- Claude
- Claude Code
- Codex
- Cursor
- Other MCP clients
1
Turn on Developer mode
In ChatGPT, open Settings → Security and login and turn on Developer mode.
2
Add the MCP URL
Open Plugins, select the plus button, and add the MCP server URL with OAuth authentication.
3
Sign in and approve
Sign in to AgentPass, or create your account, and approve the connection.
get_account to confirm the connection.
Sign-in and permissions
- Connecting uses standard OAuth. The assistant receives its own scoped token; your AgentPass sign-in is never shared with it.
- Before you approve, you see the assistant’s name, the operator it reports, and the website it came from. Connections from chatgpt.com, claude.ai, cursor.com, and grok.com are marked as verified; any other origin is shown as it is.
- Every new connection needs your consent. Registering a client identifies it; it does not grant access.
- Each tool checks its scope, your account, and the connection on every call. A tool outside the granted scopes is not listed and cannot be called.
Tools
Amounts are integers in minor units (2500 is 25.00 in USD). Currencies are ISO 4217 codes, and merchants are matched by host.
For
create_authorization in network mode (your Visa card, confirmed with your passkey), put exactly one merchant hostname in merchants_allow. Supported currencies: BHD, BRL, CLP, COP, EUR, GBP, JPY, KWD, MXN, OMR, PEN, TND, and USD. The approval link works for 30 minutes and only for the signed-in owner.
A purchase, step by step
1
Check the card
get_account confirms a card is ready. If none is, get_payment_setup_link gives you the page to add one.2
Propose the limits
create_authorization proposes the limits. For example:3
Approve with your passkey
The agent sends you the
approval_url. You approve within 30 minutes and confirm with your Visa passkey. get_authorization shows your decision.4
Check the purchase
With the cart ready,
check_purchase confirms it fits. Nothing is reserved.5
Get the credential and pay
issue_purchase_credential reserves the amount and returns a single-use credential for that merchant and amount. The agent uses it at checkout and follows its handling rules.6
Report the result
report_credential_outcome records the result. Every step appears in Activity in AgentPass.Safety
- You approve every authorization. An agent can only propose. Nothing can be spent until you approve it from your own signed-in AgentPass, and Visa purchases also need your passkey.
- Limits are checked on every purchase. Merchant, maximum per purchase, budget, and expiry are checked, and the budget is reserved before any credential is issued. An approved authorization can’t be edited, only replaced.
- Your card number stays out of the chat. You add cards through Yuno’s hosted form into Yuno Vault, and account reads show saved cards as masked metadata only. Issuing a purchase credential returns the payment data that checkout needs, which can include your billing and shipping address and contact details.
- Credentials are single-use. Each credential is bound to one merchant and amount, works once, and expires. It is never shown again after issuance.
- Retries can’t double-spend. Requests that change something take an idempotency key. Retry with the same key and the same inputs; a different purchase needs a new key. Once a credential is issued, a retry returns
CREDENTIAL_ALREADY_ISSUED. - You can stop anything. Disconnect an assistant from Agents: its token stops working immediately. Revoke an authorization from Authorizations: credentials already issued may still complete, but no new ones are issued.
Troubleshooting
The assistant can’t reach the server Check that the URL ends in/mcp and is the MCP server URL above, not the AgentPass website address.
The tools are missing after connecting
Finish the sign-in and approval in the browser, then start a new conversation or session so the client reloads the tool list.
The agent says no card is ready
Add one from Cards in AgentPass, or ask the agent for a setup link. Visa purchases need a card enrolled for Visa with a passkey.
A purchase was refused
The response explains why: for example, a merchant outside the list, an amount above the limit, or a used budget. The agent can propose a new authorization for you to approve.
The approval link expired
Links last 30 minutes. Ask the agent to propose the authorization again.
Merchant API
Build AgentPass into your own checkout, app, or agent platform. Your backend enrolls a shopper, asks them to approve an exact purchase with their Visa Payment Passkey, and receives a single-use Visa credential to complete the payment through your own integration. Shoppers enter their card details on AgentPass hosted pages, not in your app.How the merchant flow works
Your backend calls the API. Consent, card, and passkey steps take place on AgentPass hosted pages.
Your platform authenticates the shopper, calls the API from its backend, opens the hosted pages, charges the credential through its own payment integration, and reports the result.
AgentPass runs card setup, consent, and the passkey ceremony, generates the purchase mandate with Visa, and delivers one credential per approved purchase.
Before you start
Your account is configured by the AgentPass team. Email agentpass@y.uno to request:
All calls are server-to-server JSON over HTTPS. Each environment has its own partner API key and configuration: build and test in sandbox first.
Send these headers on every request, and an
Idempotency-Key where the endpoint requires it:
- Amounts are integers in the currency’s minor unit:
15990is 159.90 BRL. - IDs have a prefix:
usr_pfor shoppers,ins_for cards, andpur_for purchases. Store them as returned. Idempotency-Keytakes 1 to 128 printable ASCII characters.- Request bodies are limited to 32 KiB, and unknown fields are rejected.
- Successful calls return HTTP 200. Always read
status, andreasonwhen present, in the body.
1. Enroll the shopper
You authenticate your shopper. AgentPass runs card setup and Visa verification on its hosted pages.external_customer_id is your stable ID for the shopper, up to 128 characters. Optionally, pass saved_card_reference: the Yuno vaulted payment method reference of a card the shopper already saved with you. AgentPass checks that it belongs to that shopper. Never send a card number or security code.
next_action.url in the shopper’s browser. The shopper confirms the account, adds billing details and a Visa card, accepts the AgentPass notice and your data-sharing consent, and registers their passkey.
Coming back to your return_url does not prove the setup is complete. Check it:
status is ready, and use a card with ready: true.
- Repeating the enroll call with the same identity returns the same shopper and, if setup is unfinished, a fresh link.
- Name, email, and saved card reference cannot change between retries.
- Shoppers are isolated per merchant and never matched by email.
2. Create the purchase and get it approved
AgentPass turns the purchase into a single-use Visa mandate for your merchant, this exact amount, and 30 minutes. Send oneIdempotency-Key per purchase:
purchase_id, status: requires_action, and a next_action. Store the purchase ID and the key. Retrying with the same key and body returns the same purchase. The same key with a different body is refused with HTTP 409.
Open next_action.url. The shopper sees your merchant name, the amount, and the description, approves, and signs with the passkey. If the link expired, request a fresh single-use link while the status is requires_action:
- Amount, currency, card, and credential format cannot change after creation.
- The purchase expires 30 minutes after it was created. Renewing a link does not extend it.
- For a new attempt, create a new purchase with a new key.
3. Retrieve the credential, once
When the purchase iscredential_ready, your backend requests the credential:
- network_token (default)
- card_form
Receiving a credential does not mean the payment was approved. The payment result comes from your payment integration.
4. Report the payment outcome
After you charge the credential, tell AgentPass what happened. AgentPass forwards the result to Visa as the purchase confirmation.outcomeis one ofapproved,declined,error, orcancelled. Report the real result of your payment, including declines.- Amount and currency come from the purchase, so you do not send them again.
- If the response is
outcome_pending(visa_confirmation: pending), send the same report again later. A different report for the same purchase is refused. - Report only after a credential was delivered. Otherwise, the call returns 409
CREDENTIAL_NOT_ISSUED.
Purchase statuses
Brand the hosted pages
Shoppers set up AgentPass and approve purchases on hosted pages. By default, the pages use the AgentPass look. With branding, they carry your name, logo, color, and font. The AgentPass team configures branding; it is not set through the API.
Example configuration:

- Powered by Yuno: the Yuno credit stays on every hosted page.
- Visa screens: passkey and Visa verification steps keep Visa’s own design.
- Consent and terms: the AgentPass notice and your data-sharing consent are always shown.
- Required steps: branding never skips setup, approval, or the return to your app.
Errors
Errors return a JSON body with acode and a message (or messages):
Go-live checklist
- Partner API key stored server-side only, with a rotation plan.
- Return URLs, merchant identity, currency, and branding confirmed with the AgentPass team.
- Idempotency keys stored before each
POSTand reused on retries. - Hosted pages tested in every browser and app shell you support.
- Status read after every return. Never trust the redirect alone.
- Credential format accepted end to end by your processor.
- Credentials kept out of logs, storage, analytics, and AI context.
- Every payment result reported, including declines and cancellations.
purchase_id or customer_id, never a credential or API key.