Refund a captured order
POST /order-management/v1/refund-order
Refund a captured order
- application/json
Request Body
Refund money from captured order
- sessionid string
- amount integer
The total amount of the refund including VAT
cart object[]
The array of cart items to be refunded
Array [producttype ProductTypePossible values: [
physical
,digital
,discount
,shipping_fee
,sales_tax
,deposit
,surcharge
]The type of items being sold. When using 'discount', the unitPrice should be negative.
reference ProductReferenceThe SKU of the item
name stringquantity integerquantityunit stringunitprice integerUnit price excluding VAT in minor units
taxrate TaxRateThe applicable taxrate in minor units. Eg 25% = 2500
discount integerDiscount value in percentages. 10% = 1000
]
Responses
- 200
Successful refund of order
- application/json
- Schema
- Example (from schema)
Schema
- refundid string
{
"refundid": "string"
}
Loading...