v1
latestOpenAPI 3.0.02026-07-26168846732.2 KBRefunds
Refunds - Create
Creates a refund against an already processed payment. In case of some processors, you can even opt to refund only a partial amount multiple times until the original charge amount has been refunded
post/refunds
Request body
Example request
{
"payment_id": "pay_mbabizu24mvu3mela5njyhpit4",
"refund_id": "ref_mbabizu24mvu3mela5njyhpit4",
"merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
"amount": 6540,
"reason": "Customer returned the product",
"split_refunds": {
"adyen_split_refund": {
"split_items": [
{
"amount": 6540
}
]
}
}
}Response
Refund created
Example response
{
"amount": 6540,
"connector": "stripe",
"split_refunds": {
"adyen_split_refund": {
"split_items": [
{
"amount": 6540
}
]
}
}
}