Handy Tips
authorized to captured and not to collect payments. You can use our products to accept payments.
Fork the Razorpay Postman Public Workspace and try the Payments APIs using your Test API Keys.
Related Guides
About Payments Set Up Webhooks Sample PayloadsEndpoints
-
post
/v1/payments/:id/capture- Capture a Payment: Captures a payment. -
get
/v1/payments/:id- Fetch a Payment With ID: Retrieves details of a specific payment using id. -
get
/v1/payments/:id/?expand[]=card- Fetch a Payment With ID (Example 1): Retrieves details of all the payments that is created, with thecardparameter. -
get
/v1/payments/:id/?expand[]=emi- Fetch a Payment With ID (Example 2): Retrieves details of all the payments that is created, with theemiparameter. -
get
/v1/payments/:id/?expand[]=offers- Fetch a Payment With ID (Example 3): Retrieves details of all the payments that is created, with theoffersparameter. -
get
/v1/payments- Fetch All Payments: Retrieves details of all payments. -
get
/v1/payments?expand[]=card- Fetch All Payments (Example 1): Retrieves expanded card details of a payment. -
get
/v1/payments?expand[]=emi- Fetch All Payments (Example 2): Retrieves expanded EMI details of a payment. -
get
/v1/orders/:id/payments- Fetch Payments Based on Orders: Retrieves payments linked to an Order. -
get
/v1/payments/:id/card- Fetch Card Details of a Payment: Retrieves card details of a payment. -
patch
/v1/payments/:id/- Update a Payment: Edits an existing payment.