Checkout Payment Sheet Adapter
Public Checkout transport used by the native payment sheet.
The adapter never accepts a merchant API key. It loads merchant identity and commercial terms from Checkout, keeps mutation retries idempotent, propagates valid host trace context, and emits only privacy-safe diagnostics.
Parameters
HTTP boundary used to call public Checkout.
Optional host-owned diagnostic source.
Constructors
Creates a production Checkout adapter.
Functions
Submits the confirmation token for the current payment attempt.
Starts or retries payment with a stable key for the exact selection.
Retrieves the latest authoritative payment state from Checkout.
Requests a replacement confirmation code with replay protection.
Retrieves the client-safe Checkout projection for the finalized Order.
Retrieves the client-safe range for a customer-selected amount.
Creates the finalized Order for a payer-selected amount.
Updates a payer-selected amount while the Checkout Order is still pristine.