Cancel Order

This API allows you to cancel an existing order. It invalidates the specified order, ensuring that it will no longer be processed or fulfilled.

Note:

You must provide either an orderId returned from createOrder API response or a hash returned from createIntent API response.

POST https://integration.coinmena.com/onramp-merchants/widget/cancelOrder

Request Body

NameTypeDescription

orderId

String

OrderId obtained from the createOrder API response

hash

String

Hash obtained from the createIntent API response

{
  "status": 1,
  "data": {
    "orderId": "1443",
    "status": -3
  },
  "code": 200
}

Last updated