Skip to main content
Docs

Collections and bank debits

A collection is one planned payment in. It is collected from the payer's saved bank account (an ACH debit set up through Stripe's bank-account linking, with the payer's authorisation) on your Stripe account. A card can be a backup, only if the payer agreed to it in their terms.

Triggers#

TriggerFires whenDebit date
on_acceptanceThe mandate becomes active.On activation. The acceptance confirmation is the notice.
on_dateThe start of the day (tenant time zone) on date. Notices go out before.The date.
before_stageThe stage opens, or at a lead time before its expected_date when anchor is expected_date.The trigger time plus the event notice days; never earlier than the expected date minus the lead days.
on_stage_approvalThe stage is approved, or an agreed outcome releases money for it.The trigger time plus the event notice days. Voided if the stage closes without any release.
manualNever automatically. The payer pays now, or a member retries.The optional date, used only for reminders. A manual collection is never late.

Stages open in sequence. When a trigger fires, the collection becomes pending with a debit date, and the payer gets a pre-debit notice (amount, date, bank account last four digits and purpose). An event-triggered debit is attempted only while its notice was delivered; if the address bounced the debit waits, you get an urgent inbox item, and the debit date moves after a notice goes through.

Notices and reminders#

Reminders for dated collections go out before the debit date (3 days and 1 day by default). Every failure notice names the next step: a retry date, adding a payment method, or paying now. These notices are mandatory; they are not switched off by notification settings.

Retries by return code#

Bank debits come back with return codes. The engine follows the bank-network rules and retries only where that is allowed.

CategoryExamplesWhat happens
insufficient_fundsR01, R09Presented again up to twice, spaced out, within 40 days of the first attempt. Then the backup card if the payer agreed, else the payer is asked to act.
account_unusableAccount closed, invalid details, frozen, restrictedNo retry. The method is blocked. Backup card if agreed, else the payer adds a new account.
not_authorizedR05, R07, R08, R10 and similarNo retry and no automatic backup, because the payer disputed the authority. The payer must authorise again and the tenant gets an inbox item.
card_soft_declineGeneric decline, do not honourUp to 2 retries a few days apart.
card_hard_declineLost, stolen, expired cardNo retry; the payer is asked to act.
authentication_requiredCard needs authenticationThe payer completes it in the portal.
rail_limitBank-debit volume or weekly limitNot the payer's fault: no late or default clock, no automatic retry; the tenant is told to resolve it with Stripe.
transientStripe or network error at createRetried safely under the same key, up to 3 tries in an hour.

A member retry (POST /collections/:id/retry) and a payer's pay-now follow the same caps. Breaking them answers 409 retry_not_allowed with a reason and next_allowed_at.

Backup card#

A card is used as a backup only if the terms allow it, the payer saved a card and gave consent for this mandate, and the failure was insufficient funds (after retries) or an unusable account. The payer is emailed first ("we will charge your backup card ending 4242 on …"), and the backup attempt starts after 24 hours.

Late and default#

  • Late: at the end of the due date plus the grace days (tenant time zone), an unpaid collection becomes late for payer-side reasons: a retry is scheduled, the payer must act, or the payer has no usable method. A collection that is unpaid because Holdyn, the connection or the rail could not attempt it never becomes late. Effects are set in the terms: notices to everyone, an inbox item and optionally a hold on later releases.
  • Default: after a further number of days late, the mandate becomes defaulted. Releases and further debits pause as the terms say. The payer can still pay. What happens next is for the parties and the tenant: a cure, an amendment such as a payment plan, or a cancellation with refund. Holdyn moves nothing.
  • Cure: a successful payment, or an amendment that voids or reschedules the collection, ends the delinquency and lifts holds of that kind.

Settlement and the return hold#

A bank debit that succeeds is not yet usable. It counts as settled after the return hold: a number of days you set, and for business accounts a number of US banking days. Only settled money counts for the funds_settled check. With a hold of zero days the product shows an exposure warning, because a consumer's bank can return a debit for a long time. Cards count at once.

Paying ahead and manually#

If the terms allow, a payer can pay a scheduled collection early. Nobody can mark a collection paid without Stripe: the status follows Stripe's confirmation.

Collections and bank debits · Holdyn Business docs