getSessionAsync

Asynchronously retrieves the current state and details of a wallet checkout session from the customer's perspective.

Parameters

id

The unique identifier of the checkout session.

parameters

Parameters required for retrieving the checkout session object.

cancellationSignal

A signal for canceling the asynchronous operation (nullable).

callback

The callback to be invoked upon completion or error.