This release aligns the v2 Checkout Sessions integration with the current API specification.
- Add current Session response fields, including
clientAccessToken, customer and payment details, profile ID, and lifecycle timestamps. - Add
STATUS_OPEN,STATUS_EXPIRED,isOpen(), andisExpired()while retaining legacy fields and helpers for compatibility. - Update the create-session example to use top-level payment data and a client access token for frontend checkout. The
requiredCustomerDetailsoption remains in private beta.
See #939 and the full comparison.