Summary
Before a payer signs a payment transaction, show them the exact per-recipient breakdown using previewPayout(invoiceId, amount).
Design
- On the
/pay/[id] page, after the payer enters an amount, call previewPayout and show a breakdown table: Recipient | Amount | Token
- Display while the payer reviews before clicking confirm
- Uses the same dust-correct rounding logic as the contract
Acceptance criteria
Summary
Before a payer signs a payment transaction, show them the exact per-recipient breakdown using
previewPayout(invoiceId, amount).Design
/pay/[id]page, after the payer enters an amount, callpreviewPayoutand show a breakdown table: Recipient | Amount | TokenAcceptance criteria
/pay/[id]