Documents
Fetch Document Content
Fetch Document Content using Razorpays API.
GET
Available in🇮🇳 India🇺🇸 United States
Use this endpoint to download an earlier uploaded document. The response is the raw file content (binary) with the original Content-Type header (for example, image/jpeg for an uploaded image), not a JSON object.
Path Parameters
string
required
The unique identifier of the document.
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.