← Questions

Build a transaction rule engine with an AI assistant

0
StripeCodingLast asked Nov 2026

A coding interview question asked in Stripe's onsite coding (debug, integrate, build) round, last asked Nov 2026. It tests ai-assisted coding, parsing and rules.

In an editor with a built-in AI coding assistant, implement a rule engine that decides whether each payment transaction is accepted or blocked. The task grows in parts, and few people finish them all, so structure the code so that each…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Stripe · Onsite coding: debug, integrate, build · Last asked Nov 202660 min · Project editor with starter code and tests: fix bugs in an unfamiliar codebase, wire an external API spec into a service, or complete a skeleton in parts · Varies by session: some onsites have one AI-assisted session and an integration session without AI

What it tests

ai-assisted coding · parsing · rules

Your code and the AI tutor open when you unlock this question.