The design is close to buildable. The core is solid, and four small additions to the doc would close real holes before you write code. None of them changes the architecture.

**What's already strong**
- **Payment is outside the database transaction**, and the order id is sent as the provider's idempotency key. A timeout followed by a retry can't charge the customer twice.
- **The stock reservation can't oversell.** The conditional `UPDATE ... WHERE available >= :qty` handles two buyers racing for the last unit with no extra locking.
- **Unknown payment results have an owner.** They go to `202`, then the reconciliation job, then a 30-minute alert. Many designs leave this case undefined.
- **The email is queued only after `PAID` commits**, so a failed email never fails the order.
- **The test list already covers the hard payment cases:** a timeout then success, and a timeout on every attempt.

**Fix before building**

1. **The reconciliation job doesn't put stock back when it marks an order `FAILED`.** Step 5 restores stock on a decline, but step 6 only says "settles them as `PAID` or `FAILED`." For example, a charge times out three times and the provider later reports it declined. The job marks the order `FAILED`, but the 2 units stay reserved forever. Have step 5 and step 6 both call the same "fail order and release stock" operation.

2. **The job runs on both instances, so stock can be released twice.** Both instances pick up the same `PENDING` order, both see "declined," and both add the quantity back. Stock goes up by 2× the order quantity. Make every status change conditional, e.g. `UPDATE orders SET status = 'FAILED' WHERE id = :id AND status = 'PENDING'`, and restore stock only if that update changed a row. This also protects step 5 if it ever overlaps with the job. Optionally, add a Postgres advisory lock so only one instance runs the job at a time.

3. **The case where the provider has no record of the charge isn't defined.** Example: an instance crashes after step 2 commits but before step 3 runs. The order is `PENDING` and the provider has never heard of it. Decide what the job does here: mark the order `FAILED` and release stock after some cutoff, or retry the charge. Write that choice down.

4. **Add tests for the job:** it settles an order as `PAID`, it settles one as `FAILED` and stock comes back, it handles "provider has no record," and two runs at once release stock only once.

**Worth a sentence each, not blockers**
- **Lock rows in a fixed order.** Two carts like {A, B} and {B, A} can deadlock in step 2, and Postgres then aborts one with an error instead of a `409`. Update SKUs in sorted order.
- **Clients have no way to see the final status.** A client that gets `202` needs something like `GET /orders/{id}` to poll.
- **Prices should come from the server.** State that `unit_price` and `total` come from your catalog, not the client's cart.
- **Scope the idempotency key** to `(customer_id, idempotency_key)`, so one customer's key can't return another customer's order.
- **Say how orders and inventory share a transaction.** Step 2 updates both in one transaction, while the code rules say no module reads another module's tables. One line will do: inventory exposes a reserve function that runs inside the caller's transaction.

Here is the order lifecycle with fixes 1–3 applied:

```mermaid
stateDiagram-v2
    [*] --> PENDING: stock reserved, order inserted
    PENDING --> PAID: charge succeeded (request or reconciliation job)
    PENDING --> FAILED: declined or no charge found, stock released once
    PAID --> [*]
    FAILED --> [*]
```

Fixes 1–3 are a few lines in the doc each, so you can still start tomorrow.

VERDICT: READY WITH CHANGES
