TL;DR
- The profile requires pushed requests, so payment details never travel through the browser address bar.
- Tokens are bound to a key, which means a stolen token is useless to whoever copied it.
- An agent is just a client, so the profile applies to it, but consent and key ownership still need a decision.
- Five questions decide whether a payment platform is ready for agents.
What FAPI 2.0 is#
The Financial-grade API Security Profile (FAPI) 2.0 is a profile of OAuth 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 URI, and the browser uses only that reference. This is the pattern in pushed authorization requests, defined in RFC 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 DPoP (RFC 9449) or with mutual TLS (RFC 8705). Clients also use PKCE (RFC 7636) with the S256 method, so a stolen authorization code is not enough.
For the plain-language version of these two ideas, the DPoP and PAR explainer 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#
This post as Markdown · RSS · JSON feed
New posts by email
One email a week with new posts and labs. Unsubscribe anytime.
Your address is stored with Kit, which sends the emails. Details