API Reference
Log In
API Reference

Create a Refund

This will refund a payment made on Instamojo. You need to use a token that is obtained using the Application Based Authentication.

Valid values for type are:

TypeDescription
RFDDuplicate/delayed payment.
TNRProduct/service no longer available.
QFLCustomer not satisfied.
QNRProduct lost/damaged.
EWNDigital download issue.
TANEvent was canceled/changed.
PTHProblem not described above.
Path Params
string
required
Form Data
string
required

A three letter short-code identifying the reason for this case.

string
required

Additonal text explaining the refund.

string
Defaults to Paid amount

This field can be used to specify the refund amount. For instance, you may want to issue a refund for an amount lesser than what was paid. Default is paid amount.

string
required
Defaults to required

Mandatory parameter in the body from the second case creation onwards for the payment to prevent duplicate case creations due to replay of APIs

Headers
string
Defaults to Bearer <your-token>
Responses

Language
Credentials
Header
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json