Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
amount
integer
required

Amount in cents

payment_intent_id
string
required

ID of the payment_intent you are refunding.

reason
enum<string>
Available options:
duplicate,
fraudulent,
requested_by_customer,
expired_uncaptured_charge,
partial_capture
metadata
boolean

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
id
string