#robertotmuniz

1 messages · Page 1 of 1 (latest)

frail riverBOT
next sluice
native crypt
#

is charge ID the same as invoice Id?

#

how do I find the chargeId of an invoice already paid?

next sluice
#

You can get the charge ID from invoice->payment_intent->latest_charge

native crypt
#

thank you very much

#

and the chargeId from a one time payment is the paymentIntentId?

opaque gazelle
#

No, a payment intent is an intent to capture payment, where a charge is the actual charge on the payment

#

if you retrieve the payment intent and it was paid, the latest_charge field will be set to the charge ID