Order Controller
Refund order
Process refund for an order with refund reason
post/orders/refund/{id}
Path parameters
idnumber required
Example:1
The ID of the entity
Request body
Example request
{
"refundAmount": 50,
"refundReason": "Customer requested refund due to product issue"
}Response
Order refunded successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.