Cancel Order

Cancels an order, invalidating it from being payable.

SecurityMarketplace API Key | Merchant Secret Token | Merchant JWT
Request
path Parameters
orderId
required
string
Responses
200
400
401
403
404
405
406
409
422
429
500
503
delete/orders/{orderId}
Request samples
Response samples
application/json
{
  • "orderId": "ordr_Z2icv3UXMhzzOEVl",
  • "merchantId": "mcht_Z2icvnUXMhzzOEVh",
  • "referenceOrderId": "ORD-12411",
  • "amount": {
    },
  • "surcharge": {
    },
  • "customerEmailAddress": "string",
  • "customerPhoneNumber": "string",
  • "customerName": "string",
  • "orderType": "online",
  • "orderTypeDetails": {
    },
  • "description": "string",
  • "items": [
    ],
  • "discountAmount": 0,
  • "shipping": {
    },
  • "billing": {
    },
  • "metadata": { },
  • "status": "created",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}
Copyright © April Solutions 2023. All right reserved.