v1
latestOpenAPI 3.1.02026-07-2631427.2 KBCreate a Refund
Refund the funds from a Charge to the Payment Method.
Creating a Refund will refund a Charge that has previously been created. Funds will be returned to the Payment Method that was originally charged.
You can optionally refund only part of a charge. You can do so multiple times, until the entire charge has been refunded.
post/v1/refunds
Request body
Example request
{
"amount_to_refund": "10000"
}Response
Example response
Example response
{
"id": "rfnd_179937907841176576",
"resource": "refund",
"amount": 10000,
"amount_human_readable": "100.00",
"charge": "chrg_146231656762572800",
"created": "2022-09-07T13:40:41.751Z",
"currency": "usd",
"customer": "cust_199440887619523584",
"customer_reference_id": "69727f0f-8865-4d20-8f63-4ff4fafdacd8",
"metadata": {},
"reference": null,
"status": "succeeded"
}