Unified Checkout Demo
Request Capture Context
Once you are ready to render the checkout page, you need to request the Capture Context from the
/up/v1/capture-contexts
endpoint. The capture context request below drives Unified Checkout's
behavior, including accepted payment types, card networks, address information to be collected, and more.
The capture context request also allows you to optionally pass in previously collected information (e.g.
billing and shipping) to pre-fill this into Unified Checkout. The request produces a JWT that is
used to initialize Unified Checkout.