Snipcart V3 order.token equivalent? token for newly completed order

Hi,

When an order completes I have an event listener that redirects to the ‘order success’ page on cart confirm.

How can i access the order token for the newly completed purchase, so I can call the Snipcart API for the newly created order.

order.token (v2?) does not work, what do i use for v3?

thank you

Snipcart.store.getState().cart.token

returns null…

document.addEventListener(‘snipcart.ready’, () => { window.Snipcart.events.on(‘cart.confirmed’, async (cartConfirmResponse) => {
console.log(Snipcart.store.getState().cart.token);
})
});

Stored the token as a variable before cart confirmed