Cancel Order

The Order Cancellation API allows merchants to cancel an order before receiving payment from the customer. This enables merchants to halt the processing of an order using either the invoice code or merchant reference. At least one of two parameters should be provided: either orderId or merchantReference.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Your provided Invoice Code while creating the order.

string

Your reference order number that you sent to MADFU while creating the order.

Headers
string
required

JWT Token that generated from /merchants/token/sign-in API without 'Bearer ' keyword.

string
required

Your API Key. This key is required for authentication and authorization purposes.

string
required

Your App Code. This code identifies your application to the server.

string
required

Platform TypeId. This ID indicates the type of platform you are using.

string
required

Authorization. This token grants access to protected resources.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json