No, I didn’t get a direct way to have it.
While I figure it out I’ve created a private app in the merchant with read_order scope. I use this access to query graphQL api for the order with the same checkout_token that we recieve at the payment endpoint, last part in the cancel url. From there I can get the order_num, checkout_id …
With the order Id, I can get then using the REST Api all the order details.
With checkout_token, i found out another way that no need to create a new private app.
We can use the webhook orders/create that would be called when an order is created and it would return checkout_token. So, we can map this to the one that we receive from cancel url.