Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Amount in cents
Required range:
x > 0ID of the payment_intent you are refunding.
Available options:
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.
Response
200 - application/json
OK
The refund object.

