refunds
Create a Refund
Create a Refund
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
amount
integer
requiredAmount in cents
payment_intent_id
string
requiredID 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