Handy Tips
Sample Code
Sample Error Response
code
: string Type of the error. For example, BAD_REQUEST_ERROR.
description
: string A description for the error. For example, The id provided does not exist.
source
: string Possible values:
business: Merchant action required.internal: Technical error at Razorpay’s server.
reason
: string The error reason. For example, input_validation_failed.
step
: NA Not applicable for API Error Codes, value displayed to maintain consistency of error object.
metadata
: Null value Not applicable for API Error Codes, value displayed to maintain consistency of error object.
API Error Source
Source | Explanation
business | Merchant action required.
internal | Technical error at Razorpay’s server.