Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · agent payments

Our store is adding Agentic Commerce Protocol (ACP) checkout so AI agents can buy from us. The agent's side sends a delegated payment token that comes with an 'allowance'. What does that allowance actually cap (amount, time, merchant, number of uses), and what is still left for us to check before we charge the card?

Last updated

TL;DR: The allowance is a permission for one purchase, not a budget. In ACP's Delegate Payment spec (ACP is maintained by OpenAI and Stripe and is in beta; the current release is 2026-04-17), every POST /agentic_commerce/delegate_payment request must include an allowance with six required fields: reason, which can only be one_time; max_amount, an integer in the currency's minor units (2000 is $20.00); currency, lowercase ISO 4217 such as usd; the checkout_session_id it is for; the merchant_id allowed to use it; and expires_at. The spec says the returned vault token must only be usable within that allowance and must become invalid at or after expires_at. PSP authorization and capture, refunds and multi-use tokens are listed as out of scope. So the allowance is meant to stop a token being used for another checkout session, another merchant, a bigger amount or after it expires. It says nothing about which items, quantities or shipping option the buyer agreed to. Compare the checkout session total with max_amount yourself before you charge, and if the total has gone up, send the buyer back for a new token instead of charging more.

What should I check, step by step?

1. Before you charge, compare the allowance with the checkout session: the same checkout_session_id, your own merchant_id, the same currency, and a session total no higher than max_amount.

  1. Read max_amount in minor units. 2000 is $20.00 in usd, but the 2026-04-17 schema's own example notes that 100 means 100 yen for a currency with no minor unit.
  2. If tax, shipping or a quantity change pushes the total above max_amount after the token was issued, don't charge part of it or split it into two charges. Send the session back so the buyer approves the new total and a new token is issued.
  3. Check expires_at against your own clock right before authorizing, and don't keep the token to charge later. one_time is the only reason value the spec defines.
  4. Send an Idempotency-Key on every delegate_payment call (it's required), and keep your own record of which key produced which vault token, so a retry after a timeout doesn't create a second token.
  5. Read risk_signals (type card_testing, a score, and an action of blocked, manual_review or authorized), but don't depend on getting one: the 2026-04-17 release allows the array to be empty.
  6. Log the vault token id, the allowance and the session total together, without the card number or CVC, so you can show later what the agent was allowed to spend and what you charged.

What fields does the Agentic Commerce Protocol's delegated payment allowance require?

The Delegate Payment RFC defines one endpoint, POST /agentic_commerce/delegate_payment, that a payment provider implements. It takes a card (a funding card number or a network token; card is the only credential type today), an allowance, risk_signals, metadata and an optional billing address, and returns 201 Created with a vault token id (the RFC's example starts with vt_), a created timestamp and the correlation metadata.

What doesn't an ACP delegated payment allowance limit or record?

It doesn't describe the purchase. The allowance holds an amount ceiling, a currency, a session id, a merchant and an expiry. The line items, quantities, fulfillment option and totals live in the checkout session, so a total that changed after the token was issued is something the merchant has to catch by comparing the two.

How does ACP's delegate_payment endpoint handle retries and idempotency keys?

Idempotency-Key is required on the delegate_payment request (an opaque string up to 255 characters; UUID v4 is recommended). A request without one gets 400 with code idempotency_key_required.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Before my agent asks for a delegated payment token for this $42.50 ACP checkout at shop.example, check it against my agent's spending policy and record the decision with the checkout session id as the reference.”

One-click setup

{
  "tool": "authorize_spend",
  "arguments": {
    "credential_id": "YOUR_AGENT_CREDENTIAL_ID",
    "amount_minor": 4250,
    "currency": "USD",
    "merchant_domain": "shop.example",
    "category": "retail",
    "reference": "csn_..."
  }
}

Rightshold records spending decisions your agent asks for. It never holds or moves money, doesn't process cards or tokens, and isn't affiliated with OpenAI, Stripe or the Agentic Commerce Protocol project. Spec details are from the ACP repository's Delegate Payment RFC, the 2026-04-17 delegate_payment JSON schema and the 2026-04-17 changelog, read November 23, 2026. ACP is in beta and the RFC is marked Draft, so fields can change; pin the API-Version you tested. Not legal, payment or PCI compliance advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'