Capture an order
POST /order-management/v1/capture-order
Capture an order
- application/json
Request Body
Capture order
- sessionid string
- amount integer
The total amount of the capture including VAT
cart object[]
The array of cart items to be captured
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
- 201
Successful Capture of order
- application/json
- Schema
- Example (from schema)
Schema
- captureid string
{
"captureid": "string"
}
Loading...