#Slush
1 messages · Page 1 of 1 (latest)
Hello! You would probably want to store the Charge ID, which are the IDs starting with ch_ and py_.
Both. All ch_ and py_ objects are Charges.
ch_ IDs represent card Charges, and py_ IDs represent Charges which used other forms of payment.
So as long as I store the charge id ill be good to go?
Probably? If your goal is only to issue a Refund you pass the Charge ID to this API: https://stripe.com/docs/api/refunds/create
You could also store the Payment Intent instead (pi_) if you're using those. You can pass that to the Refund API as well.
I successfully implemented this https://stripe.com/docs/payments/quickstart
on .net
So I should store both ChargeID and PI ?