Mastercard Agent Pay (merchant acceptance)
Mastercard Agent Pay is Mastercard's framework for certified AI agents that buy on behalf of consumers. Mastercard Developers publishes a merchant playbook, "Developer Playbook on Preparing for Agentic Commerce", in Markdown; this skill quotes its Agent Pay guidance on agent identification, replay protection, agentic tokens and the Level 3 payment object.
Scope. The pinned texts are Mastercard's developer guides, not a specification. They point to the Mastercard Agent Pay Acceptance Framework "for the complete Intent API specification and implementation details"; that framework is not publicly downloadable and is out of scope. The guides describe the playbook as reflecting "currently available public information" that "may evolve", so re-read them before relying on a rule.
Follow the workflow below step by step. Every rule here comes from a source in Sources. Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.
Inputs (fill in, or ask before starting)
- Role: Merchant, merchant platform or payment service provider receiving agent traffic; CDN or edge rule author.
- Target version: Mastercard Agent Pay (2026 playbook) (current). See
references/versions.md.
- Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill, re-read every URL in Sources and check the publisher for a newer revision or version line.
Invariants
- Example request. "Signature-Agent: "https://agentpay-key-directory.mastercard.com/""
- Understanding the Signature Headers. "Identifies the interaction type:
Agent-pay-auth, agent-browser-auth or agent-payer-auth"
- Verification Steps Reference. "Verify all required fields are present (
@authority, @path, created, keyid, expires, tag, alg, nonce) | Block request"
- Verification Steps Reference. "Confirm
expires - created ≤ 8 minutes"
- Replay Attack Protection. "Maintain a cache of seen nonces for the past 8 minutes. Reject any request with a previously seen nonce."
- Step 2: Validate the intent. "Reject the checkout if intent validation fails. Do not process payments against invalid, expired, or missing intents."
- Step 3: Validate the payment token. "If a message signature was present, confirm the nonce in the payment object matches the nonce from the message signature headers"
- Step 3: Validate the payment token. "If signature validation fails, the payment object may have been tampered with. Do not process the payment."
- Cards on File and Agentic Tokens. "AI Agents cannot use consumers' existing cards on file with merchants, even when logging a consumer into their merchant account."
Workflow
- Pick the version. Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.
->
references/versions.md
✓ The target version is recorded, and it is not a legacy line.
- Apply the pinned requirements. Walk the quotes in
references/requirements.md and implement each one that applies to the role.
-> references/requirements.md
✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.
- Upgrade (only when asked). Follow the upgrade section from the source line to the target.
->
references/versions.md
✓ The result cites the target line and no longer depends on a requirement that only the old line stated.
Verify before done
Reference index
references/versions.md: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.
references/requirements.md: quotes taken from the pinned specification, grouped by source. Load for step 2.
Related skills
Install related spec skills by name with npx skills add ScaleDockHQ/scaledock-skills --skill <name>: web-bot-auth, http-message-signatures, sd-jwt, visa-trusted-agent-protocol, agentic-commerce-protocol, ucp, ap2.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- Developer Playbook on Preparing for Agentic Commerce: Mastercard Developers guide, Overview page, read 2026-10-06, checked 2026-10-06.
- Level 1 Agentic Commerce - Enable Agent Support with Minimal Changes: Mastercard Developers guide, Level 1 page, read 2026-10-06, checked 2026-10-06.
- Level 3 Agentic Commerce - Advanced Programmatic Checkout: Mastercard Developers guide, Level 3 page, read 2026-10-06, checked 2026-10-06.
- Preparing for Agentic Commerce: Testing, Validation, and Reference Guide: Mastercard Developers guide, Reference page, read 2026-10-06, checked 2026-10-06.
1---2name: mastercard-agent-pay3description: >-4 Mastercard Agent Pay: verify and accept purchases from certified AI agents as a merchant, using Web Bot Auth signatures with the Agent-pay-auth tag, agentic tokens and the Agent Pay payment object. Covers the Mastercard Developers agentic commerce playbook (Levels 1 to 3) as published in 2026; the Agent Pay Acceptance Framework itself is not public and is not pinned. Use when a merchant site, CDN rule or checkout API must recognise Mastercard Agent Pay traffic, check Signature-Input and Signature headers against the Mastercard key directory, block replays, or validate an agentic payment token and intent. Triggers: Mastercard Agent Pay, Agent-pay-auth, agentic token, agentic commerce Mastercard, Signature-Agent, agentpay-key-directory, Verifiable Intent.5license: MIT6metadata:7 source: https://skillmd.com/skills/scaledockhq/mastercard-agent-pay8 author: ScaleDockHQ9 version: "1.0.0"10 kind: standard11---1213# Mastercard Agent Pay (merchant acceptance)1415Mastercard Agent Pay is Mastercard's framework for certified AI agents that buy on behalf of consumers. Mastercard Developers publishes a merchant playbook, "Developer Playbook on Preparing for Agentic Commerce", in Markdown; this skill quotes its Agent Pay guidance on agent identification, replay protection, agentic tokens and the Level 3 payment object.1617**Scope.** The pinned texts are Mastercard's developer guides, not a specification. They point to the Mastercard Agent Pay Acceptance Framework "for the complete Intent API specification and implementation details"; that framework is not publicly downloadable and is out of scope. The guides describe the playbook as reflecting "currently available public information" that "may evolve", so re-read them before relying on a rule.1819**Follow the workflow below step by step.** Every rule here comes from a source in [Sources](#sources). Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.2021## Inputs (fill in, or ask before starting)2223- Role: Merchant, merchant platform or payment service provider receiving agent traffic; CDN or edge rule author.24- Target version: Mastercard Agent Pay (2026 playbook) (current). See [`references/versions.md`](references/versions.md).25- Revision: the pinned revision in [Sources](#sources), unless the user names another.26- Sources: when refreshing this skill, re-read every URL in [Sources](#sources) and check the publisher for a newer revision or version line.2728## Invariants29301. **Example request.** "Signature-Agent: "https://agentpay-key-directory.mastercard.com/""312. **Understanding the Signature Headers.** "Identifies the interaction type: `Agent-pay-auth`, `agent-browser-auth` or `agent-payer-auth`"323. **Verification Steps Reference.** "Verify all required fields are present (`@authority`, `@path`, `created`, `keyid`, `expires`, `tag`, `alg`, `nonce`) | Block request"334. **Verification Steps Reference.** "Confirm `expires - created` ≤ 8 minutes"345. **Replay Attack Protection.** "Maintain a cache of seen nonces for the past 8 minutes. Reject any request with a previously seen nonce."356. **Step 2: Validate the intent.** "Reject the checkout if intent validation fails. Do not process payments against invalid, expired, or missing intents."367. **Step 3: Validate the payment token.** "If a message signature was present, confirm the nonce in the payment object matches the nonce from the message signature headers"378. **Step 3: Validate the payment token.** "If signature validation fails, the payment object may have been tampered with. Do not process the payment."389. **Cards on File and Agentic Tokens.** "AI Agents cannot use consumers' existing cards on file with merchants, even when logging a consumer into their merchant account."3940## Workflow41421. **Pick the version.** Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.43 -> [`references/versions.md`](references/versions.md)44 ✓ The target version is recorded, and it is not a legacy line.452. **Apply the pinned requirements.** Walk the quotes in [`references/requirements.md`](references/requirements.md) and implement each one that applies to the role.46 -> [`references/requirements.md`](references/requirements.md)47 ✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.483. **Upgrade** (only when asked). Follow the upgrade section from the source line to the target.49 -> [`references/versions.md`](references/versions.md)50 ✓ The result cites the target line and no longer depends on a requirement that only the old line stated.5152## Verify before done5354- [ ] The artifact cites the target line's revision from [Sources](#sources).55- [ ] Every applicable quoted requirement in [`references/requirements.md`](references/requirements.md) holds.56- [ ] The tag comparison accepts the Mastercard tag as both pages spell it (`Agent-pay-auth` on the Level 1 page, `agent-pay-auth` in the glossary) until Mastercard settles the case.57- [ ] Nothing from a preview line is emitted unless its posture is build and the user opted in.5859## Reference index6061- **`references/versions.md`**: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.62- **`references/requirements.md`**: quotes taken from the pinned specification, grouped by source. Load for step 2.6364## Related skills6566Install related spec skills by name with `npx skills add ScaleDockHQ/scaledock-skills --skill <name>`: `web-bot-auth`, `http-message-signatures`, `sd-jwt`, `visa-trusted-agent-protocol`, `agentic-commerce-protocol`, `ucp`, `ap2`.6768## Sources6970Status uses the publishing body's own maturity term. Checked is the date the source was last read.7172- [Developer Playbook on Preparing for Agentic Commerce](https://developer.mastercard.com/merchant-cloud/documentation/tutorials-and-guides/agentic-commerce-guide/index.md): Mastercard Developers guide, Overview page, read 2026-10-06, checked 2026-10-06.73- [Level 1 Agentic Commerce - Enable Agent Support with Minimal Changes](https://developer.mastercard.com/merchant-cloud/documentation/tutorials-and-guides/agentic-commerce-guide/21/index.md): Mastercard Developers guide, Level 1 page, read 2026-10-06, checked 2026-10-06.74- [Level 3 Agentic Commerce - Advanced Programmatic Checkout](https://developer.mastercard.com/merchant-cloud/documentation/tutorials-and-guides/agentic-commerce-guide/23/index.md): Mastercard Developers guide, Level 3 page, read 2026-10-06, checked 2026-10-06.75- [Preparing for Agentic Commerce: Testing, Validation, and Reference Guide](https://developer.mastercard.com/merchant-cloud/documentation/tutorials-and-guides/agentic-commerce-guide/24/index.md): Mastercard Developers guide, Reference page, read 2026-10-06, checked 2026-10-06.