Hi all,

I've posted draft-craig-oauth-rar-payment-mandates-00:
https://datatracker.ietf.org/doc/draft-craig-oauth-rar-payment-mandates/

It covers what an AI agent may pay from a customer's bank account and how
the bank records what it decided. It defines:

- two RAR (RFC 9396) types: payment_mandate (named payees, per-payment and
per-period limits with a count, an approval mode) and single_payment;
- an ordered set of machine-readable reasons a payment falls outside a
mandate (new_recipient, payee_not_on_mandate, over_per_payment,
over_period_count, over_period_limit, every_payment,
over_approval_threshold);
- how a resource carries that reason when it asks for approval, either as a
mandate_reason claim in draft-rosomakho-oauth-txn-challenge or as an
approval_required error;
- a signed, hash-chained receipt for every decision, with personal data
kept as salted commitments outside the chain so it can be erased (GDPR,
POPIA).

This is meant to sit alongside the Transaction Authorization Challenge (
https://www.ietf.org/archive/id/draft-rosomakho-oauth-txn-challenge-00.html),
not replace it. Your draft says how to ask for approval of one transaction.
This one says when a payment needs approval, why and what record is kept.
I'd value your view on whether the mandate_reason claim is the right way to
compose the two.

It also touches the "execution layer evidence" gap in
draft-chen-oauth-agent-authz-use-cases.

There's running code: an Apache-2.0 proof of concept with a conformance
test for every reason and for the receipt format (
https://github.com/richard-craig/veridact-valet).

I'd welcome review, especially on:
1. whether the reason set and its order are right and whether the reasons
belong in an IANA registry;
2. composition with the transaction challenge;
3. the receipt format and the commitment scheme for personal data.

Kind regards
Richard Craig
_______________________________________________
OAuth mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to