The design is sound and you can start building tomorrow, provided you settle four gaps first; each is a sentence or two in the doc, not a redesign. The core is right: stock reserved atomically, the charge made outside the transaction with the order id as the provider idempotency key, and a reconciliation job for unknown outcomes.

## Fix before building

1. **Reconciliation has no rule for "provider has no record of this charge".** Step 6 says it settles orders as `PAID` or `FAILED`, but there is a third answer.
   - Case: the instance crashes after step 2 commits and before step 3 calls the provider. The order is `PENDING`, the stock is reserved, and the provider has never heard of it.
   - Without a rule, it stays `PENDING` and holds stock until the 30-minute alert.
   - State that "not found" means `FAILED` plus stock restore. This is safe because the 2-minute age threshold is longer than the whole retry window in step 3.

2. **Status changes are not guarded, so stock can be restored twice.** There are two instances, so the reconciliation job can run twice at once, and it can overlap with a request still in step 5.
   - Case: both jobs see order A as `PENDING` and declined, both mark it `FAILED`, and both add its quantity back. `available` is now too high and you oversell.
   - Make every transition `UPDATE orders SET status = … WHERE id = … AND status = 'PENDING'`, and only restore stock or queue email if that changed a row.

3. **The idempotency key is unique globally, not per customer.**
   - Case: two customers send the same key (a buggy client, a short counter). The second gets the first customer's order back.
   - Make the constraint `(customer_id, idempotency_key)`.
   - Also decide what happens when the same key arrives with a different cart; I'd return `422`.

4. **The doc does not say where prices come from.** If `unit_price` and `total` are taken from the cart the client sends, a client can set its own price. State that the server looks prices up and computes the total, and that this total is the amount charged.

## Small additions while you're in there

- **Confirmation email on the reconciliation path:** step 4 queues the email only in the request path. An order settled as `PAID` by reconciliation, or a crash between the commit and the queueing, sends no email. Have reconciliation queue it too, or write the email job in the same transaction as the `PAID` update.
- **Lock order:** two carts holding the same two SKUs in opposite order can deadlock in step 2. Update stock rows in sorted SKU order.
- **Request duration:** four attempts at 5 s plus backoff is roughly 30 s. Check that the load balancer timeout is longer, or cut the retries and lean on reconciliation.
- **After a `202`:** the doc has no `GET /orders/{id}` for the client to poll for the outcome.
- **Tests:** the list covers the request path well. Add these:
  - reconciliation for each of paid, declined and not found;
  - two reconciliation runs on the same order;
  - two concurrent requests with the same key;
  - two buyers racing for the last unit.

VERDICT: READY WITH CHANGES
