Refund Request

The Refund Request API empowers merchants to initiate refund requests for their orders. By leveraging this API, merchants can seamlessly trigger the refund process for a specific order. 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
int64

Your provided order ID while creating the order.

string

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

double
required

The amount you need to refund. This may be the full amount of the order or a partial amount for the order.

double

The processing fees amount. It should be calculated from your side, or you can use our Refund/RefundFee/Calculate API to obtain the amount.

string

Your refund reference MADFU while refund.

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