Thank you page: access current order's payment id?

Hi community,
I’m trying to figure out if there is a way to obtain the payment id for a given order from a thank you page block extension?
This payment id is the one our payment app gets when a payment is created , but on the thank you page I’m having trouble to locate it.

This payment id corresponds exactly with what I can see when viewing the order details:

is this possible or I have to get the order id and send it to my api to fetch via graphql the payment id?

thanks for your kind assistance cheers