v1

latestSwagger 2.02026-08-045928532.7 MB
Orders

post/api/v1.0/orders/{id}/refund

Path parameters

idinteger required

Request body

RefundReasonstring

Refund reason

RefundAmountnumber double required

Refund amount

NotifyCustomerboolean required

If true, the system sends notification to the customer about the refund

Example request

{
  "RefundReason": "reason",
  "RefundAmount": 20,
  "NotifyCustomer": true
}

Response

The order is successfully refunded.