#chidiprime
1 messages · Page 1 of 1 (latest)
I'm trying to refund the customer from my platform balance
var options = new RefundCreateOptions
{
PaymentIntent = "pi_Aabcxyz01aDfoo",
Amount = 1000,
};
seeing that from the documentation...
Can you explain the payment intent there ?
PaymentIntent is an object that holds information about a specific payment.
If a customer paid you $5 for a service, this event will have a PaymentIntent. If you want to refund them, you will have to have a reference to this specific PaymentIntent, and you will be able to refund them $5 or less.
The ID starts with pi_xxx
ok