This will fetch the details of a payment on Instamojo. You need to use a token that is obtained using the Application Based Authentication.
|Field Name||Possible Values||Description|
|Indicates the status of the payment.|
true => Successful
false => Failed
* null => Initiated
|Indicates the instrument type used for the payment.|
|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.
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)
Unknown netbanking choice
* Bank Transfer
|Gives the subcategory of the 'instrument_type' that was used to make the Payment.|
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.
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.|