What they ask
You get 45 minutes to an hour, and about thirty minutes of it is actual coding. Beside the code sits an AI chat or CLI panel that looks like Cursor. You pick its model at the start. The task comes with a README and two lists, one of transactions and one of rules. Each rule names an action (accept or block) followed by an if clause. Part 1 has flag rules such as BLOCK if fraud_flag and ACCEPT if trusted_partner, matched by plain string equality.
Part 2 adds comparisons and joins them with AND and OR, as in ACCEPT if trusted_partner AND amount > 10000. Rules from both parts live in one processor and run in the order they were added, and once a rule accepts or blocks, the rest are not evaluated. What happens to a transaction that no rule matches is not known. A staff candidate who got this in August expected part 2 to be more if clauses, and started down the wrong road before seeing that the grammar itself had changed.
Part 3 varies. In one September account it was string rules, such as a card name or merchant name that must not equal a given value. A few others only got AND and OR in part 3.
What decides it
Nobody has seen the rubric. Interviewers disagree on how much to hand over. One candidate let the assistant do most of the work and was asked why they were so confident in code they had not written. Another typed a skeleton by hand and was asked why they were not using the assistant. A third wrote their own solution first, asked the assistant for one, verified it step by step, added unit tests and fixed small things by hand. They were told to use the assistant more aggressively. A fourth was told at the start that speed did not matter, and then failed on speed.
A June candidate asked the recruiter for feedback afterwards and shared it. Their AI round was rated solid good. They had the assistant read the README and propose a plan, reviewed the plan themselves, had it implement and write tests, then ran the tests. They warned that the assistant will over-engineer and may drop a condition without saying so. A July intern who got the offer worked the same way, and their advice was to make sure the interviewer sees you using the assistant, not handing it the judgment.
Naming and test cases get nitpicked, even when the assistant wrote them. Keep talking while the model works, too. More than one interviewer graded silence as a gap in reasoning.
How we would prepare
Take any small spec and set a timer. Have an assistant propose a plan, cut the plan into three bounded tasks, hand over each one, read every diff before you accept it, and ask for tests. Try to get through the whole cycle in under twenty minutes, talking as you go.
Practice saying why you take a change or turn it down. The interviewer will stop you to ask about code you did not type. Candidates who had the right code but could not explain it were marked down.
When the grammar grows, the assistant tends to keep the old path and lose a branch of the new one. So write the test for the new branch before you ask for the implementation. Then run it.
Read the README before you prompt anything, and say so. Pick a fast model and a language you read quickly, since most of your minutes go to reading. Python and Java have both been used.
If you have a round like this at another company too, the AI coding interview guide says how theirs differs.
Frequently asked, briefly answered
Is Stripe's AI-enabled programming exercise in the phone screen or the onsite?
Both now. It started in late April 2026 as an onsite round, in place of one classic coding round. By August staff candidates were getting it as the technical phone screen too, and in one India loop interns had it as one of two onsite rounds, 45 minutes each. Recruiters sometimes announce the switch only days before, so assume you will get it.
Which AI model do I get?
You choose it at the start. Candidates have had Claude, Opus among them, as well as Gemini Flash and a Codex agent. Speed differs a lot. One candidate waited over a minute for each answer on a slow model and recommends Gemini Flash for pace.
How hard is Stripe's AI round?
Opinions split. One candidate called it easier than Stripe's own phone screen and OA questions. An intern who passed it called the AI round the hardest.
What else is in Stripe's interview loop?
The AI round is one of four or five. The others are the Bikemap integration task, a bug squash in an open-source repo in your own IDE, a payments system design (usually a ledger) and a hiring manager round with a block on how you use AI. In the bug squash, the disaster that keeps coming up is a local environment that was not set up before the call.
Practice problems tagged for Stripe
We built Transaction Rule Parser from these reports. Its first two parts follow them closely: flag rules against a README contract, then comparisons with AND and OR in one ordered processor where the first match wins. The third and fourth, string literals and rejecting malformed rules up front, are ours, worked out from the differing accounts of part 3. After each part the interviewer asks you to explain a choice, such as the precedence you picked or why a bad rule fails at construction. Browse the catalog without logging in, and sign in when you want to solve one.
Had this round recently? Tell us how it went and we will add it here.