Risk

Fraud on a product that cannot be taken back

A gift card code is as good as cash and cannot be recalled, so Hubble makes each fraud decision before the code exists. The principles behind that choice.

Hubble sells gift cards from 500+ brands through apps, banks and corporates. A gift card code is as good as cash. Once it is issued, it can be spent in seconds at the brand, and nothing we do afterwards brings it back. That one fact shapes how we think about fraud. This post shares the principles. We leave out detail on purpose, because a description of how a fraud control works is a guide to getting around it.

Why the decision comes before the code

A suspicious parcel can be stopped in transit. A disputed card payment can sometimes be reversed. A gift card code that has been read off a screen and used at checkout is gone.

So the decision cannot be a report someone reads the next morning. It has to be made before the code exists, at a point where saying no still costs nothing. Everything we learn afterwards is useful for the next order, but it cannot save this one.

If you take one idea from this post, take that one: find the point after which nothing can be taken back, and put the decision in front of it.

What makes it hard

  • It runs inside checkout. The decision adds time to every honest order, so it has to be quick, and most buyers should never notice it.
  • Partners differ. The same platform serves apps, banks and corporates with very different users. What looks unusual for one is normal for another.
  • Fraud moves fast. A new pattern can appear at any hour. A defence that only changes when software is released falls behind.
  • Both kinds of mistake cost money. Declining an honest buyer loses a sale and maybe a user. Letting a fraudster through loses the full value of the card.
  • Every decision has to be explainable later. A partner, a support agent or our own team will ask why one order was declined, often weeks later.

Machines decide, people steer

No person approves an order at checkout. A human queue there would turn every flagged order into a lost sale, and the people who wait are usually the honest ones. So the decision in the moment is automatic.

People still own the outcome. They decide what the system should do, look at what it did, and change it when the world changes. They work beside the checkout path, not in it, so their judgement shapes every order without making any buyer wait.

This split matters more than any single technique. Machines are good at being fast and consistent. People are good at noticing that something new is happening and deciding what to do about it. Asking either to do the other’s job makes both worse.

A wrongful decline can be undone, a loss cannot

The two mistakes are not the same size or shape.

Declining an honest buyer Letting a fraudster through
What it costs One sale, and some trust The full value of the card
Can it be undone? Yes: the buyer can try again, or be cleared No
Who sees it The buyer, at once Us, later

A wrongful decline is visible and fixable. A loss is silent and final. That difference is why we lean towards caution, and also why we work hard to keep declines rare: a decline that is fixable is still a bad experience for someone who did nothing wrong.

Explainable from the first day

Every decision has to be explainable long after it was made, even after the way we decide has changed many times. We built that in from the start rather than adding it later.

It pays twice. A support agent or a partner gets a real answer about a single order. And our own team can see what a change in approach actually did on real orders, instead of guessing.

The trade-offs we accepted

  • Some honest buyers are declined. We would rather lose a sale we can win back than a card we cannot.
  • No person in the checkout path. People shape the system and own its outcomes, but they never hold up an order.
  • Explainability is a cost we pay on every order. Recording enough to explain each decision later takes effort on every order, most of which nobody will ever ask about. We pay it because the one that is asked about matters.

What we would tell another team

Find the point after which nothing can be taken back, and put the decision in front of it. Keep people beside the automatic path instead of inside it. Weigh your two mistakes honestly: the one you can undo and the one you cannot are not equal. And make every decision explainable from the first day, because you will need it sooner than you expect.

If you would like to work on problems like this, see careers at Hubble. Our partner API is in the API docs.

Questions people ask

Why not let the order through and review it afterwards?

Because once a gift card code is issued it can be spent at once and cannot be recalled. A review that comes after the code is a record of a loss, not a way to stop it. So the decision has to come before the code exists.

Does a person approve gift card orders by hand?

No. A buyer is waiting at checkout, so a human queue would turn every flagged order into a lost sale, and the people kept waiting are mostly honest. People steer the system instead of sitting inside it.

Why does Hubble not explain its fraud checks in detail?

Because a detailed description of a fraud control is a guide to getting around it. We share the principles we work to and leave the mechanics out on purpose.

Build with us, or on us

Read the docs, or see the roles we are hiring for.