Payments
Fetch payment by ID
Retrieve full details and current status of a specific payment. Always re-fetch before acting — status can change.
get/payments/{id}
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
Payment ID (pay_*).
Response
Payment details.
Changes
No recorded changes to this operation across all 1 revision of this API.