Count per period enforcement on Payment agreements for PayTo payment initiations
To make sure every PayTo payment stays within what your payer has agreed to, Azupay now enforces the count per period limit on your payment agreements for payment initation payments.
Each PayTo agreement has a frequency and a countPerPeriod. Together, they set how many payments you can collect in each period. If you submit a payment initiation that would take you over that limit, we’ll reject it with an error and the payment won’t be sent. Once the next period begins, the count resets.
How periods are calculated
Periods are anchored to the agreement’s startDate in Sydney time, not to calendar weeks, months or years. A weekly agreement that started on a Tuesday, for example, runs each period from Tuesday to the end of the following Monday. Each period includes its start date and ends just before the next one begins.
Month-based frequencies (MONTHLY, QUARTERLY, SEMIANNUAL and ANNUAL) always count forward from the original start date. If a month doesn’t have that day, the boundary falls on the last day of the month instead.
What counts towards the limit
Payment initiations with a status of CREATED, PENDING, SETTLED, RETURN_IN_PROGRESS, RETURN_COMPLETE or RETURN_FAILED count towards the current period. A payment initiation that ends in FAILED doesn’t use up your allowance, so you can retry within the same period.
Agreements with an ADHOC frequency aren’t affected by this change.
