## Read session data This method returns an object that contains data about the Checkout Session. This method returns a [Session object](/js/custom_checkout/session_object). **Syntax:** `actions.getSession(...)` ### Read session data ```js const checkout = stripe.initCheckout({ clientSecret: 'CLIENT_SECRET', }); checkout.loadActions().then(function(result) { if (result.type === 'success') { // Use the actions object to interact with the Checkout Session const actions = result.actions; var session = actions.getSession(); } } ``` ```es_next const checkout = stripe.initCheckout({ clientSecret: 'CLIENT_SECRET', }); const result = await checkout.loadActions(); if (result.type === 'success') { // Use the actions object to interact with the Checkout Session const actions = result.actions; const session = actions.getSession(); } ```