The design is close: two small additions to the write-up and you can start building tomorrow. Both are in the path where a payment result is unknown, and neither changes your approach.

**What already holds up**
- **No overselling:** the conditional `UPDATE stock ... WHERE available >= :qty` inside the order transaction prevents it without locks.
- **No double charge:** using the order id as the provider's idempotency key makes all retries one charge.
- **No stuck transactions:** the charge call sits outside any database transaction, so a slow provider cannot hold rows.
- **Unknown results are handled:** the order stays `PENDING`, the client gets `202`, and the reconciliation job settles it later.

**Change 1: make the `PENDING` → `FAILED` / `PAID` transition happen only once**

The design does not say the status update checks the current status, and with two instances the reconciliation job may run on both.
- **Failing case:** an order for 1 unit of the last-stock SKU ends up `PENDING`. Both instances' jobs pick it up, both hear "declined", and both run step 5.
- **Wrong result:** `available` goes from 0 to 2, and the next two customers both buy a unit that exists once.
- **Expected:** `available` goes to 1.
- **Fix:** settle with `UPDATE orders SET status = ... WHERE id = :id AND status = 'PENDING'`, and restore stock only if that update changed a row. Use the same statement in steps 4, 5 and 6.

**Change 2: say what the job does when the provider has no record of the charge**

Step 6 says the job settles orders as `PAID` or `FAILED`, but there is a third answer.
- **Failing case:** the instance crashes after step 2 commits and before step 3 sends the charge. The provider answers "no such charge".
- **Wrong result:** the order stays `PENDING` forever and its stock stays reserved. The 30-minute alert fires, but nobody has a defined action.
- **Expected:** the order becomes `FAILED` and the stock is restored.
- **Fix:** treat "no charge found" as `FAILED` once the order is older than a threshold (10 minutes is safely past the roughly 30 seconds of in-request retries), and restore the stock through the guarded update from change 1.

**Tests to add for these**
- Two reconciliation runs on the same declined order restore stock once.
- An order with no charge at the provider is failed and its stock restored after the threshold.

**One thing to confirm with whoever builds the client**

After a decline, a retry with a new card must send a new `Idempotency-Key`. If it reuses the old key, step 1 returns the old `FAILED` order and the customer cannot pay.

VERDICT: READY WITH CHANGES
