Skip to main content

Cancel Order

The Cancel Order API is used to cancel a previously generated transaction that has not yet been paid by the customer. The purpose of this API is to prevent payment from being made on transactions that are no longer valid or intended. This API is typically used in scenarios such as:

  • The customer cancels the order before completing the payment.
  • The customer wishes to change the selected payment method.
  • The merchant decides not to proceed with the transaction for specific reasons.

Once the cancellation is successfully executed, the transaction status will be updated to cancelled and it can no longer be paid.

Data Request

NoNameTypeMandatoryMin LengthMax LengthDescription
1 orderObjectM112Detail of Order

Sample Request

{
"order": {
"id": "FK002502070000196",
"amount": "22000"
}
}

Data Response

Sample Response

{
"responseCode": "2000000",
"responseMessage": "Request has been processed successfully",
"processingTime": 0.24898290634155273,
"traceId": "93a76615-a2c2-44fd-9dd3-1c0a22a6fe23"
}