Configurable expiry for agreements created via Subscriptions app
You can now control how long a PayTo payment agreement created via Subscriptions app stays valid before it expires. The paymentAgreementRequest API used to invoke Azupay’s Subscription app accepts a new optional field, agreementExpiryMinutes, giving payers more time to complete authorisation when they need it.
Previously, payment agreements created via Subscriptions app used a fixed 10 minute expiry, which could lapse before a payer finished authorising. You can now set any value from 5 to 7199 minutes to suit your checkout flow. If you do not supply the field, the expiry stays at the default of 10 minutes, so nothing changes unless you choose it.
This brings paymentAgreementRequest in line with the paymentAgreement API, using the same validation rules.
👉 To use it, include agreementExpiryMinutes in your paymentAgreementRequest API calls.
📘 Learn more here: Payment Agreement Request API reference and Payment Agreement Request API guide
