Embedded Checkout
Handle result
UI state vs payment state
Map sheet events to checkout_completed, checkout_cancelled, checkout_failed, or requires_action. Then GET /v1/payments/{id} or wait for webhooks. Do not fulfil on the client callback alone.
The SDK cannot mark a payment succeeded.