#Pedro Hercules
1 messages · Page 1 of 1 (latest)
Hi, you should be able to attain this from the charge object on the Payment Intent. Look at the data[0]->payment_method_details->card->last4.
how can i get the charge object of the payment intent ?
You can retrieve the Payment Intent: https://stripe.com/docs/api/payment_intents/retrieve
and the response will have the charge id
so, with this i use the capture method of the Charge ?
I do not understand what you're asking on the follow up question. Can you add more details on what you're exactly trying to do here?