Documents
Fetch Document Information
Fetch Document Information using Razorpays API.
GET
Use this endpoint to retrieve the details of any document that was uploaded earlier.
Path Parameters
string
required
The unique identifier of the document.
Response Parameters
string
The unique identifier of the document uploaded.
string
Indicates the type of entity. In this case, it is
document.string
The reason you are uploading this document. Here, it is
dispute_evidence.integer
Indicates the size of the document in bytes.
string
Indicates the nature and format in which the document is uploaded. Possible values include:
- image/jpg
- image/jpeg
- image/png
- application/pdf
integer
Unix timestamp at which the document was uploaded.
Errors
The API `<key/secret>
` provided is invalid.
The API `<key/secret> ` provided is invalid.
Code:
400The API credentials passed in the API call differ from the ones generated on the Dashboard.- Different keys for test mode and live modes.
- Expired API key.
_id is not a valid id.
_id is not a valid id.
Code:
400- The id is not 14 characters long.
- The id is not alphanumeric.