Function: paymentConfirmReason()¶
Defined in: rine-core/dist/src/x402/pay-confirm.d.ts:20
Why paying req needs a person's yes, or null when the surface may go ahead.
Outside SignedOnly only an untrusted policy asks, so a default setup sees
nothing new. Under SignedOnly the signed auto_pay/repay fields decide,
never a caller's flag: above the auto-pay line, or a re-pay the policy does
not allow, asks too.
Parameters¶
| Parameter | Type |
|---|---|
read |
PolicyRead |
req |
PaymentRequirements |
mode |
SpendPolicyMode |
opts |
{ repay: boolean; } |
opts.repay |
boolean |
Returns¶
PayConfirm | null