RepostedStripe logo

Stripe · OA

Rejected

Stripe SWE Intern Payment Intent OA: 1 Experience

Software engineer · InternshipSep 2024
Shared by

Stripe SWE intern OA, September 2024: a four-part Payment Intent task ending in refund timeouts; rejected two days later.

At a glance

  • Process: an OA in four parts; rejected two days later (01).
  • Asked recently: the Payment Intent state machine: create, attempt, succeed, update, fail, refund, then timestamps and refund windows (01).
  • Difficulty: the candidate felt it went well but was rejected.
  • Practise first: Part 4 — Timing Matters.

Coverage: one Stripe software engineering intern candidate; OA around September 2024 (report month). Parts 1–3 are described from another firsthand report of the same task.

What came up

Topic Reports Last seen
State machines and simulation 1 of 1 Sep 2024

Questions we found

Algorithms / Data Structures

Question Reports Last seen
Payment Intents, Part 1 to Part 4 1 Sep 2024

1 detailed candidate timeline

01: Payment intents with a refund window

Interview date: September 2024 (report month) · Role: Software Engineering Intern · Result: rejected two days after the OA

  1. The candidate's screenshot showed Part 4; Parts 1–3 match another firsthand report of the same task.
  2. Part 1: handle INIT, CREATE, ATTEMPT and SUCCEED; an intent goes REQUIRES_ACTION → PROCESSING → COMPLETED, a success adds to the merchant balance, invalid commands do nothing, and balances are sorted by merchant ID.
  3. Part 2: UPDATE changes the amount only in REQUIRES_ACTION, never to a negative value.
  4. Part 3: FAIL sends a processing intent back to REQUIRES_ACTION; REFUND subtracts a completed intent's amount once.
  5. Part 4: every command has a strictly increasing timestamp; INIT may set a refund timeout. Refunds are accepted through success timestamp + timeout, inclusive; no or negative timeout means no limit, zero disables refunds.

Common questions

What is the Stripe Payment Intent OA?

Report 01 got a four-part state machine: payments, amount updates, failures and refunds, then refund time windows.

Keep practicing

Sources: Anywhere useful interview info can be found.

0 total reactions. Your reactions: none.
0 comments

Comments

0

No comments yet — be the first to share what you know.