Create a Refund
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Amount in cents
ID of the payment_intent you are refunding.
duplicate, fraudulent, requested_by_customer, expired_uncaptured_charge, partial_capture Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
OK
The refund object.