How billing works
Payware bills in advance: each charge records the period it covers. Use payment transactions and outcome events to confirm settlement; scheduled period dates alone do not prove payment.
create ──► incomplete ──paid──► active ──renewal due──► charge next period
│ │ │
│ declined │ fails ├─ success → period advances, stays active
▼ ▼ └─ failure → past_due, retried with backoff
(stays incomplete, past_due ──retries exhausted──► unpaid (or canceled)
expires after 23h → incomplete_expired)
| Status | Meaning |
|---|---|
incomplete | First payment not yet successful (declined, or awaiting confirmation). Not retried; becomes incomplete_expired after 23 hours. |
incomplete_expired | Terminal after an incomplete subscription ages past 23 hours. A late successful charge opens a durable payment review for external refund/service resolution. |
trialing | In a trial; nothing is charged until trial_end, then the first period is charged. |
active | Billing is active. Check payment records for confirmation; an elapsed-period resume can be active while its new charge is pending. |
past_due | A renewal charge failed. Retries run until next_payment_attempt stops being set. |
unpaid | Retries exhausted (default action). Can recover if a late payment succeeds. |
paused | Collection paused; not billed. |
canceled | Terminal. |
Retries. After a failed renewal the subscription becomes past_due and next_payment_attempt
is set. Retries wait 60 min, then 300 min, then 1440 min (the last interval repeats).
There are 3 retries after the first attempt; when they are exhausted the subscription moves to unpaid. A payment.failed event includes retry_at.
Emails to your customer. Payware emails the customer (in your invoicing profile's language, English without one) in your name, with your invoicing profile's email address, or your account's, as the contact in the message (the sender is a no-reply address):
- when a renewal payment fails for the first time: the amount and when Payware tries again;
- when the retries are exhausted: the subscription is
unpaid(orcanceled, if the account is set to cancel) and is not charged again on its own; - seven days before a yearly subscription (a price with
interval: "year") renews: the amount and the date. It is sent once per period, and not for a subscription that is set to cancel at period end, paused or in a trial.
The retries in between send nothing, and neither do declined first payments, prorations or one-off payments. Turn all of these off with customer_notifications: false on POST /v1/account (or in Settings) if you send your own emails from the payment.failed webhook.
Remote outcomes. A payment is marked successful only when NETOPIA Payments confirms it and the confirmation matches the payment. Explicit failures fail; unknown or 3-D Secure-required states, HTTP errors and malformed responses stay unresolved until reconciled.
Ambiguous results. Transport errors and timeouts remain pending and are reconciled with NETOPIA Payments after a short delay. Provider errors are never treated as success.
Unresolved attempts are checked again with growing delays, from 5 minutes up to 24 hours.
Timing. Billing runs about every hour and is batched, so a charge can be processed later than its due time.
Cancellation. DELETE /v1/subscriptions/:id cancels immediately (no refund).
?at_period_end=true, or cancel_at_period_end: true on update, keeps the paid period and
sets a fixed cancel_at deadline and cancels without a further charge once due. This also applies
to paused subscriptions; resume checks the deadline before charging.
Proration. Changing items mid-period charges the price difference for the remaining part of
the period (as a separate payment transaction with proration: true). Prorated decreases return
409 proration_credit_unsupported; no refund transaction or credit is created. With
proration_behavior: "none", items change immediately and their new recurring amount is billed
from the next period. See the update example.