TheWavly

Why a standard

A UPI mandate authorises the money. Nothing yet records the purchase.

A UPI mandate or Reserve Pay block says how much may be debited. It does not say what the person asked for, so an agent’s wrong purchase still counts as authorised (who pays). The agent mandate records the purchase the person approved, alongside the payment rules that already exist.

Everyone sees the same recordThe agent company, merchant, payment provider and bank can each verify the same signed mandate and receipt, with the issuer’s published keys. None of them has to trust the others’ systems.
Checked before payment, not argued afterEach purchase is checked against the mandate before the money moves: proceed, ask the person, or stop. The answer is signed too.
No lock-inAnyone may implement it, issue mandates or verify them. TheWavly is one implementation, and its own records verify with a dependency-free, open verifier.

What a mandate says

The person’s words, as rules a machine can check.

Each rule says what happens when a purchase breaks it. The person’s own words are kept as a hash in the signed record, so they can be erased without breaking it.

RuleMeaningIf broken
itemsThe things the user approvedstop
max_amount_paiseMost for one purchaseask
min_amount_paiseExact bills: no less than thisstop
max_quantityHow manystop
budget_paiseTotal across purchasesask
max_purchasesHow many purchasesask
merchantsWhere fromstop
payeesWhich UPI IDs may be paidstop
deliver_toWhere it goesstop
conditionsWhat the user said out loud: refundable, lands before 11, 128 GB, not a subscriptionstop (ask if not stated)
"Book me a room in North Goa for 12–14 December.
 Refundable, free cancellation a day before,
 under ₹4,000."

{ "items": ["Hotel room"],
  "max_amount_paise": 400000,
  "conditions": [
    { "term": "refundable", "equals": true },
    { "term": "free_cancellation_hours",
      "at_least": 24 } ] }

→ a non-refundable room at ₹3,200: stop
→ a refundable room at ₹4,300: ask
→ a refundable room at ₹3,800: proceed

Three signed records

Approved, checked, and, if needed, decided.

All three are Ed25519-signed tokens, verifiable offline against keys the issuer publishes and never deletes.

MandateWhat the person approved. A change makes a new version, chained to the last, so the history cannot be reordered.
ReceiptThe answer to one check: proceed, ask or stop. It carries the amount and a fingerprint of the purchase, not the purchase, so it can be shared without exposing the order. Verify one.
FindingA human reviewer’s signed decision on a dispute: who was at fault and what remedy follows. An appeal is decided by a different reviewer.

Imports AP2 and Verifiable Intent mandatesOptional agent signatures with Ed25519 or P-256 keysUPI payees matched exactly, never Unicode-foldedFull text: wavly-formats-v1.md

Call for comment

Six questions we cannot answer alone.

Comments are open until 31 January 2027. We will publish a summary of what we heard, and version 2, with everyone who commented credited unless they ask not to be.

  1. Linking to the payment mandate. Should an agent mandate carry the reference of the UPI mandate or Reserve Pay block it sits behind, so a bank can see which purchase rules stand behind a debit?
  2. Terms merchants can send. Which purchase terms can Indian merchants reliably state at checkout: refundability, delivery time, variant, subscription? Conditions are only as good as the terms a merchant provides.
  3. Default thresholds. Should “ask the person” default to the amount above which the payment rules already require fresh authentication, or be set per mandate only?
  4. Who holds the mandate. The agent company, the person’s UPI app, the merchant, or a neutral party? Each choice changes who can be trusted to check it.
  5. Sharing a finding. What does a payment aggregator or bank need in a dispute finding to act on it: fields, format, or a reference to its own dispute codes?
  6. Languages. People will approve purchases in many Indian languages. What should the record keep: the original words, a translation, or both?