Function: isAutoPayable()¶
Defined in: rine-core/dist/src/x402/policy.d.ts:14
Whether a requirement may pay without asking: the policy allows auto-pay
(autoPay is not false) and the amount is at/below the threshold.
Parameters¶
| Parameter | Type |
|---|---|
policy |
PaymentPolicy |
req |
PaymentRequirements |
Returns¶
boolean