API Reference
Log In

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

Response Fields

Field Name

Possible Values

Description

status

  • true
  • false
  • null

Indicates the status of the payment.

  • true => Successful
  • false => Failed
  • null => Initiated

instrument_type

  • CARD
  • EMI
  • NETBANKING
  • UPI
  • WALLET

Indicates the instrument type used for the payment.

failure

  • null
  • Object:
    • reason
    • message

Gives the failure reason of why the payment failed. This will have non-null values for failed payments only.

reason => Type of failure.
message => Failure message returned by upstream provider.

billing_instrument

  • null
  • Unknown card
  • Domestic Regular Credit Card (Visa/Mastercard)
  • Domestic Premium Credit/Charge Card (Amex/Diners)
  • Domestic Regular Debit Card (Visa/Mastercard)
  • International Regular Credit Card (Visa/Mastercard)
  • International Premium Credit/Charge Card (Amex/Diners)
  • International Regular Debit Card
  • Domestic Netbanking Category A (HDFC/ICICI)
  • Domestic Netbanking Category B (Other banks)
  • Wallet
  • UPI
  • Unknown netbanking choice
  • EMI Payment
  • Bank Transfer

Gives the subcategory of the 'instrument_type' that was used to make the Payment.

payout

  • null
  • Link: v2 API link of payout object.

Gives you the Payout details once the Payout has been processed.

The response will be 'null' for the cases where the Payout has not been processed yet.

payment_request

  • null
  • Link: v2 API link of payment request object.

Response will be 'null' if payment is not made against a payment request.

If payment is made against a payment request, response will be the v2 API link of payment request object.

order_info

Object

Gives information about the order for which the payment is made.

Language
Authentication
Header
Click Try It! to start a request and see the response here!