Is there a hook that we can able to retrieve the payment detail specially payment intent Id after complete the order. I need to retrieve strip intent id
Strip provide a curl API to update payment metadata as
Curl:
https://api.stripe.com/v1/payment_intents/pi_1Dr1jX2eZvKYlo2C6r0iT7PO
where pi_1Dr1jX2eZvKYlo2C6r0iT7PO is the intent id that stripe generated intent id when a order get. Intent Id Also retrieved in commerce_strip module. So I am looking for a hook that can retrieve intent id once order get completed.