v1
latestOpenAPI 3.1.02026-07-2656258207.2 KBRefunds
Create a refund
Create a refund
post/refunds
Headers
X-Trace-Idstring
A unique identifier to track this operation. It must be between 12 and 255 characters in length.
X-Idempotency-Keystring
A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.
Request body
Example request
{
"amount": 12.34,
"reason": "requested_by_customer"
}Response
OK
Example response
{
"data": {
"amount_refunded": 12.34,
"reason": "requested_by_customer",
"status": "new",
"charge_id": "chg_VnUihmASmF"
}
}