Documents
Fetch document content
Retrieve the binary content of a previously uploaded document. Returns the raw file bytes.
post/documents/{id}/content
Request
- Base URLhttps://api.razorpay.com/v1
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://mcp.razorpay.com/authorizeClient credentialsToken URLhttps://mcp.razorpay.com/tokenScopesread_only
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Document ID. Exactly 14 alphanumeric characters.
Response
Document binary content.