Skip to main content
Refer to the QR Code Flow and Integration Checklist before you begin integrating with the APIs for QR Codes. Fork the Razorpay Postman Public Workspace and try the QR Codes APIs using your Test API Keys. About QR Codes

Endpoints

  • post /v1/payments/qr_codes - Create a QR Code: Creates a QR Code.
  • post /v1/payments/qr_codes/:id/close - Close a QR Code: Closes a QR Code.
  • get /v1/payments/qr_codes?count=2 - Fetch All QR Codes: Retrieves details of all QR Codes.
  • get /v1/payments/qr_codes/:id - Fetch a QR Code with ID: Retrieves details of a specific QR Code using id.
  • get /v1/payments/qr_codes?customer_id={customer_id} - Fetch QR Codes for a Customer ID: Retrieves QR Codes generated for a Customer id.
  • get /v1/payments/qr_codes?payment_id={payment_id} - Fetch QR Codes for a Payment ID: Retrieves QR Codes by Payment id.
  • get /v1/payments/qr_codes/:id/payments - Fetch Payments for a QR Code: Retrieves payments made on a QR Code.
  • patch /v1/payments/qr_codes/:id/payments - Update a QR Code: Updates payments made on a QR Code.
  • post /v1/payments/:id/refund - Refund Payments: Creates a refund for a payment.