Predictika · Subscription refund gate
An AI billing-support agent reads a customer's request and proposes an action on a subscription: a refund, a cancellation or a goodwill credit. Before the action is carried out, the agent sends it to Predictika, which checks it against a declarative model of typical subscription-billing practice and returns a verdict, every reason and the figures it computed.
This validator checks a proposed action on a single subscription, whatever the request — not just the scenarios shown below.
Any single subscription action of these kinds is in scope, not only the scenarios pictured here. Not covered: tax, currency conversion, chargebacks, fraud checks and the customer's account history beyond the figures the agent supplies. The windows and caps are illustrative, drawn from general practice; this is not any company's policy.
7 scenarios in 4 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Proposing agent: AI billing-support agent (scripted)
Before carrying out the action, the agent must call Recorded run
What this means
Our assessment of what a typical rules-based tool (billing-system rules, support macros and approval routing) does with the same cases. It is our assessment, a judgment about effort and reliability, not a claim that nothing can be built.
| What the validator caught | Typical rules-based tool | Predictika |
|---|---|---|
| A refund request that is over the amount charged, in a window that depends on the billing cycle | Only with care The window is usually a single number, so an annual plan gets the monthly window or the reverse. | The window is computed from the billing cycle (14 or 30 days) and the amount is tested against what was charged. |
| Cancelling an account that is past due | Only with workarounds Cancel and balance checks live in different systems, so the agent cancels first and finds the debt later. | The balance is a field of the request; a past-due cancellation is blocked until it is settled. |
| A goodwill credit that is fine alone but over the yearly cap with this one added | Only with workarounds Each credit is approved alone; the running yearly total has to be tracked elsewhere. | The yearly total is a field of the request; the validator tests the $50 cap and returns needs approval. |
| Exact boundaries: day 14 of a monthly plan passes, day 15 does not; $50 of credits passes, $51 does not | Only with care Off-by-one errors in windows and caps are common and only show up on edge cases. | Each boundary was run on both sides on the live validator. |
Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the request; approval findings need a person to sign off; everything else is computed.
| 1 | A refund must be requested within the refund window: 14 days after the charge for monthly billing, 30 days for annual. Duplicate charges are exempt. |
| 2 | A refund cannot be more than the amount charged. |
| 3 | A refund needs a payment method on file. |
| 4 | A downgrade cannot carry a refund. |
| 5 | An upgrade must carry a positive prorated charge. |
| 6 | A past-due account must settle its balance before it can be cancelled. |
| 7 | A trial can be extended only while the subscription is in trial. |
| 8 | A trial cannot run longer than 30 days in total. |
| 9 | Billing cannot be paused on a business plan. |
| 10 | A renewal dispute needs auto-renew to have been on. |
| 11 | Goodwill credits above $50 for the year need a person to authorize them. |
The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.
The agent's request. Please refund $139 on account A-20817. The customer's Plus annual plan was charged $119 twenty-two days ago and the customer says it was an accidental purchase.
Verdict: Blocked.
The agent's request. Please refund $119 on account A-20817. The customer's Plus annual plan was charged $119 twenty-two days ago and the customer says it was an accidental purchase.
Verdict: Allowed.
The agent's request. Please cancel account A-31544 on the Plus monthly plan. The account is past due with $42.50 outstanding and the customer says they are not using the product.
Verdict: Blocked.
The agent's request. Please cancel account A-31544 on the Plus monthly plan. The customer has paid the $42.50 that was outstanding, so the account is now active and current, and the customer says they are not using the product.
Verdict: Allowed.
The agent's request. Please apply a goodwill credit to account A-40276 on the Premium annual plan, for a technical issue. With this credit, the customer's goodwill credits for the year would total $80.
Verdict: Needs approval.
The agent's request. Please apply a goodwill credit to account A-40276 on the Premium annual plan, for a technical issue. With this credit, the customer's goodwill credits for the year would total $50.
Verdict: Allowed.
The agent's request. Please refund $149 on account A-52930. The Premium annual plan was charged $149 forty-one days ago and the customer says they are not using the product.
Verdict: Blocked.
The text of the narrated walkthrough, step by step.