# FAPI 2.0 for agents that touch payments

> FAPI 2.0 is the OpenID Foundation profile for payment-grade APIs. What it requires for requests and tokens, and where an AI agent that starts a payment fits.

- URL: https://iamops.dev/fapi-2-0-agents-that-touch-payments/
- Language: en
- Author: Argo
- Published: 2026-12-02
- Category: Knowledge
- Depth: Deep dive
- Audience: Researchers and builders
- Time: 8 min
- Topics: FAPI, OAuth, Payments

## TL;DR

- The profile requires [pushed requests](https://iamops.dev/fapi-2-0-agents-that-touch-payments/#pushed-authorization-requests), so payment details never travel through the browser address bar.
- [Tokens are bound to a key](https://iamops.dev/fapi-2-0-agents-that-touch-payments/#sender-constrained-tokens), which means a stolen token is useless to whoever copied it.
- [An agent is just a client](https://iamops.dev/fapi-2-0-agents-that-touch-payments/#where-an-agent-fits), so the profile applies to it, but consent and key ownership still need a decision.
- [Five questions](https://iamops.dev/fapi-2-0-agents-that-touch-payments/#questions-for-vendors) decide whether a payment platform is ready for agents.

**Audience: Enterprise architects.** Architects and product owners of payment or open-banking <abbr title="application programming interface">API</abbr>s who are asked to let AI agents start payments. Read the first two sections for the requirements, and the last for the questions to put to the vendor.

## What FAPI 2.0 is

The Financial-grade API Security Profile (<abbr title="Financial-grade API Security Profile">FAPI</abbr>) 2.0 is a profile of <abbr title="Open Authorization">OAuth</abbr> 2.0 from the OpenID Foundation. A profile does not invent a new protocol. It removes choices the base specification leaves open, and it makes the remaining ones strict. The Final specification is dated February 2025 and comes with an attacker model. The working group says the profile is used by many ecosystems for open data, open banking and identity initiatives.

For an architect, the useful part is the list of requirements. Each one closes a specific way that a payment request or token could be abused.

## Pushed authorization requests

In the usual flow, the browser carries the authorization request to the server, so amounts and payee details sit in the address bar and in logs. Under FAPI 2.0 the client sends the request directly to the server first, over its own back channel. The server returns a short-lived request <abbr title="Uniform Resource Identifier">URI</abbr>, and the browser uses only that reference. This is the pattern in pushed authorization requests, defined in <abbr title="Request for Comments">RFC</abbr> 9126.

The practical effect is that the authorization server sees the full payment request before the user does, so it can check it before showing a consent screen.

## Sender-constrained tokens

A bearer token works for whoever holds it. FAPI 2.0 requires access tokens that are bound to the client's key. The binding is done with <abbr title="Demonstrating Proof of Possession">DPoP</abbr> (RFC 9449) or with mutual <abbr title="Transport Layer Security">TLS</abbr> (RFC 8705). Clients also use <abbr title="Proof Key for Code Exchange">PKCE</abbr> (RFC 7636) with the S256 method, so a stolen authorization code is not enough.

![Sequence: the AI agent pushes a payment request, gets a request URI, obtains a token bound to its key, and a payment call with a replayed token is refused.](https://iamops.dev/img/fapi-2-0-agents-that-touch-payments.svg)

*Bound tokens. A payment call is refused when the token is not bound to the key that makes the call.*

For the plain-language version of these two ideas, [the DPoP and <abbr title="Pushed Authorization Requests">PAR</abbr> explainer](https://iamops.dev/dpop-par-rar-explained/) covers them without code. The figure shows the sequence for an agent. The refusal at the end is the case that matters most. A token copied out of an agent's memory or log should fail on the payment API, not succeed because it was valid at some point.

## Where an agent fits

FAPI 2.0 does not mention agents. An AI agent that starts a payment is an OAuth client, so the profile applies to it in the same way it applies to a banking app. My reading is that three decisions are still left to the bank or platform, and the profile does not make them for you.

The first is who approves the payment. The consent screen should show the amount and payee that the agent submitted, not only the agent's name. The second is which key the token is bound to. A key that belongs to the agent, with its own rotation and revocation, is easier to cut off than a shared service key. The third is how long one approval lasts. An agent may run for hours, so the approval should cover one payment or one bounded batch, not an open-ended session.

The profile also does not replace payment limits or fraud checks. A token can be bound to the right key and still be used for the wrong payment. Those checks run on the payment side, and they should be tested with the agent in the loop.

## Questions for vendors

- Does the authorization server accept pushed requests, and does it refuse a payment request sent through the browser alone?
- Are access tokens bound to a key, and can the agent's key be rotated or revoked without touching the user's other sessions?
- Does the consent screen show the amount and payee the agent submitted, and can the user see when the approval ends?
- Where does the payment limit run, and does it run on every call or only at the start of a session?
- Can one audit record show the user, the agent, the key and the payment together?

If a vendor answers the first two and is vague on the rest, the profile is in place but the agent design is not finished.

## Sources

- [FAPI 2.0 Security Profile (Final)](https://openid.net/specs/fapi-security-profile-2_0-final.html)
- [OpenID Foundation FAPI working group](https://openid.net/wg/fapi/)
- [RFC 9126: Pushed Authorization Requests](https://www.rfc-editor.org/rfc/rfc9126.html)
- [RFC 9449: DPoP](https://www.rfc-editor.org/rfc/rfc9449.html)
- [RFC 8705: Mutual-TLS Client Authentication](https://www.rfc-editor.org/rfc/rfc8705.html)

Discuss: [X](https://x.com/iamopsdev) | [LinkedIn](https://www.linkedin.com/company/iamops-dev/)
