Proving an API call is genuine: mutual Transport Layer Security (TLS), tokens and signed messages
Is this the right software, is the request unchanged, can it be replayed? Sender-constrained tokens, mutual Transport Layer Security (TLS), DPoP and signed messages.
L1–L4 are part of the Pro pass
L0 Explain simply
Asha Traders pays its suppliers through an app built by Larkpay. When Asha presses pay, Larkpay's software sends a request to Bank Alfa's computer system. Nobody at Bank Alfa watches it arrive.
So the bank's system must decide alone whether to act. It cannot see a face or hear a voice. It has only the request itself, and anyone on the internet could try to send one.
Three plain questions come before everything else. Is this really the software it claims to be? Is the request exactly as it was sent? And is this a fresh request, or an old one sent a second time?
Each question has an everyday answer. A badge answers the first. A sealed envelope answers the second. A dated slip answers the third. This topic is about the technical badges, seals and slips that banks use on their APIs. An API (application programming interface) is a doorway that lets one program ask another program to do something.
(SYNTHETIC / TRAINING ONLY. Asha Traders, Larkpay, Bank Alfa and Maya Chen are invented. The standards named later are real. They are cited at the end.)
Maya Chen, a payments operations analyst at Bank Alfa, sees what happens when one of the three checks fails. A refused call is not a breakdown. It is the door doing its job.
Two neighbours are easy to mix up with this. One is consent: did Asha agree to this payment? The topic on authentication journeys covers it. The other is proof months later: can anyone show who sent it? That is non-repudiation. This topic covers only the moment of the call.
PICTURE IT
A reception desk that checks the pass, the seal and the date
Picture a members-only office with a reception desk. A messenger arrives with an envelope. The receptionist looks at the messenger's pass, and the pass carries a photo that must match the person. The receptionist checks that the seal on the envelope is unbroken. Last, the receptionist reads the date on the slip and refuses a slip that is too old.
A pass lost in the street is no use to a stranger, because the photo does not match. A broken seal means someone opened the envelope. An old slip means this may be a copy of an earlier visit.
THE REAL JOB API message security lets a bank's system decide, without any person watching, whether a call is from the right software, unchanged and fresh.
- Larkpay's software sends a call
- The bank checks who is calling
- The bank checks the token fits the caller
- The bank checks the message is unchanged
- The bank checks the proof is fresh
- The call goes ahead or is refused
HOW THE PICTURE MAPS
| In the picture | In the payment |
|---|---|
| The messenger at the desk | Larkpay's software calling the bank's APIWho: Larkpay |
| The reception desk | Bank Alfa's system that checks each callWho: Bank Alfa |
| A pass with the messenger's photo | A sender-constrained token, tied to the program it was issued to |
| Matching the photo to the person | Showing the key or certificate the token is tied to |
| The seal on the envelope | A signature on the message, the job of the separate Message Signing profile |
| A dated slip that goes out of date | A proof checked for freshness, so an old copy is refused |
| The receptionist writing down a refused visit | The refusal that Maya Chen reads to see which check failedWho: Maya Chen |
WHERE THIS PICTURE STOPS
- A desk shows one visit. A real API call happens in milliseconds, with no person looking. So the checks must be built into the software, and nobody can use judgement on the day.
- A photo pass shows who is at the desk. It does not show that the office owner agreed to the visit. Whether the customer consented is a separate question, handled by the authentication journey.
- A seal shows an envelope was not opened. It does not make a record for later. Proof months after the call is the job of non-repudiation, and a leaked key would let a thief pass every check.
- Token binding, client authentication, authorization and named message signatures are separate checks. DPoP does not sign an arbitrary payment body or prove payer consent. FAPI final specifications were opened for this revision.
- The pass metaphor illustrates possession only; it does not establish a real-world identity or authority to pay. DPoP is not itself OAuth client authentication.
HOOK
Who is calling, was it changed, is it fresh?
REMEMBER IT THIS WAY
A chunk: a long list grouped so it is easier to hold.
Three checks per call: sender, content, freshness.
| In the trick | What it stands for |
|---|---|
| who is calling | authentication, shown by a token tied to the sender's certificate or key |
| was it changed | integrity, shown by a signature on the message |
| is it fresh | replay protection, shown by a proof checked for freshness |
The three questions leave out consent and later proof, which belong to other topics.
TELL A FRIEND
A bank's computer cannot see who is calling, so it asks: is it the right software, is the message unchanged, is it fresh? A token tied to its sender, plus a signed message, answers them, but none of it shows the customer agreed.
OFTEN MIXED UP WITH Proving who sent it (non-repudiation). API message security decides at the moment of the call whether to accept it. Non-repudiation is the evidence kept so that, months later, a sender finds it harder to deny what they sent.
CURRENT AS CHECKED
1 FIGURE
OpenID Financial-grade API (FAPI) 2.0 Security Profile and Message Signing: approval status and dates
The 2.0 Security Profile final specification is dated 22 February2025. The FAPI 2.0 Message Signing final specification is dated 25 September2025; its approval announcement was26 September2025. Specification dates and membership/announcement dates are different locators. These are versioned technical profiles, not a universal payment-law mandate. The earlier FAPI 1.0 profile is a different document; name the actual adopted release.
CHECKED 2026-11-06RECHECK BY 2027-04-11
Sources & standards — 2 sources
- Official requirementFinal specification22 February2025; announcement date separate
FAPI (Financial-grade API) 2.0 Security Profile — final specification approval ↗ — OpenID Foundation · Final specification header22 February2025 and operative §5.3; opened6 November2026.
Primary final specification operative sections5–6 opened6 November2026. Named technical profile requirements only; not a universal legal mandate. Message Signing has explicit front-channel-request, sequence and real-world identity limits.
- Official requirementFinal specification25 September2025; approval announcement26 September2025
FAPI (Financial-grade API) 2.0 Message Signing — final specification approval ↗ — OpenID Foundation · Final specification header25 September2025; separate Foundation approval announcement26 September2025; operative §§5–6 opened.
Primary final specification operative sections5–6 opened6 November2026. Named technical profile requirements only; not a universal legal mandate. Message Signing has explicit front-channel-request, sequence and real-world identity limits.
PRACTISE AND KEEP
Sources for this topic — 9 sources
- Scheme-specific ruleFinal specification22 February2025; announcement date separate
FAPI (Financial-grade API) 2.0 Security Profile — final specification approval ↗ — OpenID Foundation · FAPI 2.0 Security Profile and Attacker Model approved as OpenID Final Specifications in February 2025. The Security Profile lists that the authorization server issues only sender-constrained access tokens, by the mutual-TLS method of RFC 8705 or the DPoP method of RFC 9449, and it incorporates pushed authorization requests, RFC 9126; a second search excerpt of the openid.net final profile text repeats this (search excerpt, page not opened)
Primary final specification operative sections5–6 opened6 November2026. Named technical profile requirements only; not a universal legal mandate. Message Signing has explicit front-channel-request, sequence and real-world identity limits.
- Scheme-specific ruleFinal specification25 September2025; approval announcement26 September2025
FAPI (Financial-grade API) 2.0 Message Signing — final specification approval ↗ — OpenID Foundation · FAPI 2.0 Message Signing approved as an OpenID Final Specification, announced 26 September 2025 after a 60-day public review; a specification separate from the Security Profile (search excerpt, page not opened)
Primary final specification operative sections5–6 opened6 November2026. Named technical profile requirements only; not a universal legal mandate. Message Signing has explicit front-channel-request, sequence and real-world identity limits.
- Scheme-specific rule
RFC (Request for Comments) 8705 — OAuth 2.0 Mutual-TLS (Transport Layer Security) Client Authentication and Certificate-Bound Access Tokens ↗ — Internet Engineering Task Force · Abstract: OAuth client authentication and certificate-bound access tokens using mutual TLS with X.509 certificates; a protected resource can check that a token was issued to the client presenting it; wording re-confirmed in the rfc-editor.org abstract by a second search excerpt (search excerpt, page not opened)
Seen as a WebSearch excerpt on the access date (the abstract on the Internet Engineering Task Force (IETF) and Request for Comments (RFC) Editor pages); the RFC text was not opened. No claim about the format of the binding claim or any parameter is made on a page citing this entry.
- Scheme-specific rule
RFC (Request for Comments) 9449 — OAuth 2.0 Demonstrating Proof of Possession (DPoP) ↗ — Internet Engineering Task Force · Abstract: sender-constraining OAuth 2.0 tokens at the application level, allowing detection of replay attacks with access and refresh tokens; the client proves it holds a key pair with a JWT in a DPoP HTTP header and the authorization server binds issued tokens to the public key (search excerpt, page not opened)
Seen as a WebSearch excerpt of the Request for Comments (RFC) abstract (rfc-editor.org and datatracker.ietf.org results) on the access date; the RFC text was not opened. No date, lifetime, header value or claim name is stated on any page citing this entry.
- Official requirement
FAPI — the Financial-grade API security profile ↗ — OpenID Foundation · The Financial-grade API security profile over OAuth 2.0 and OpenID Connect; the working group publishes a 1.0 profile and a 2.0 suite
Search excerpts only, page not opened: verified from web-search excerpts on the access date, so no requirement is quoted from the specification text here.
The profile is versioned and support dates move — the 1.0 implementer's draft the UK standard originally adopted has since passed its stated end-of-support date. Any claim about which profile a given interface implements should name the release and the date it was checked.
- Scheme-specific rule
Open Banking Standards — security profiles ↗ — Open Banking Limited · The UK standard's adoption of the OpenID Foundation's Financial-grade API profile at its 1.0 release
Search excerpts only, page not opened: verified from web-search excerpts on the access date.
Profiles and their support dates move: the implementer's draft the standard originally adopted has since passed its stated end-of-support date, and the standard has published guidance on later profiles. Any claim about what a given release requires should name that release and the date it was checked.
This is the same document family as
open-banking-pisandopenbanking-authentication-methods, read at a different section. - Scheme-specific rule
STET PSD2 API documentation ↗ — STET · STET's framework states REST, OAuth2, JSON and HTTP signatures as its technology choices
Search excerpts only, page not opened: verified from web-search excerpts on the access date.
The documentation is published in numbered parts — a framework part and a functional-model part — and the parts carry different version numbers, so no document version is recorded here. A claim tied to a specific requirement should name the part and the release it was read in.
- Market practice
Glossary: digital signature ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · A digital signature, when properly implemented, provides a mechanism for verifying origin authentication, data integrity and signatory non-repudiation (search excerpt of the glossary entry, page not opened)
Seen as a WebSearch excerpt on the access date (search restricted to csrc.nist.gov); the page was not opened.
The search tool also returned the Federal Information Processing Standard 186-3, Digital Signature Standard, in the same result list. The sentence about third-party evidence is the kind of wording that standard carries. The excerpt did not say which document it came from, so only the glossary page is cited. A later check suggests the words 'cannot easily repudiate' are the older 186-3 wording, now replaced, while the newer standard speaks of signatory non-repudiation.
The words 'cannot easily repudiate' are the reason this site teaches non-repudiation as evidence that makes a false denial hard, not as a fact nobody can dispute.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Larkpay, Asha Traders, Bank Alfa and Maya Chen are a teaching construction and the institutions are invented. The three questions (which program is calling, is the message unchanged, is it fresh) are this site's grouping and are not a list any standard publishes. The plain gloss of Transport Layer Security (TLS) and certificates, the refusal scenario and its fixes, the comparison of connection-level and message-level binding, and the five design choices are this site's reasoning. The Financial-grade API (FAPI) 2.0 and DPoP facts were seen only as web-search excerpts, from the Foundation's and the Internet Engineering Task Force (IETF)'s own pages, and no full specification text was opened. Three items the brief asked for are left out because no excerpt of the Security Profile or Message Signing text confirmed them: that Proof Key for Code Exchange (PKCE) is required by the Security Profile (an excerpt showed it only in the older Baseline profile), that the hybrid flow is removed, and which signing methods the Message Signing profile uses. No endpoint, header value, error code or token lifetime is stated for any real system.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.