Solutionunvalidated
You can then use retrievePaymentIntent to retrieve a subset of information about the transaction. — client-side in the step you create PaymentIntent and before confirming them. Tension: It's totally safe to have it again in client-side. Outcome: On server-side, the same Retrieve Payment Intent API will returns the full transaction information.
80cca14f-96bb-41b5-8ac1-700906b842ff
You can then use retrievePaymentIntent to retrieve a subset of information about the transaction. — client-side in the step you create PaymentIntent and before confirming them. Tension: It's totally safe to have it again in client-side. Outcome: On server-side, the same Retrieve Payment Intent API will returns the full transaction information.