> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# QR Codes (Image Content)

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

Create Razorpay [QR Codes](/docs/payments/qr-codes) and share them with customers to accept digital payments.

<Info>
  **Feature Request**

  This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
</Info>

Fork the Razorpay Postman Public Workspace and try the QR Codes (Image Content) APIs using your [Test API Keys](/docs/api/authentication#generate-api-keys).

<a href="https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-90436eef-f17f-4bc1-9d13-b622a4270125" target="_blank">![Run in Postman](https://run.pstmn.io/button.svg)</a>

<CardGroup cols={2}>
  <Card title="Create a QR Code" href="/docs/api/qr-codes/image-content/create">
    `POST` `/v1/payments/qr_codes`

    Creates a QR Code.
  </Card>

  <Card title="Close a QR Code" href="/docs/api/qr-codes/image-content/close">
    `POST` `/v1/payments/qr_codes/:qr_id/close`

    Closes a QR Code.
  </Card>

  <Card title="Fetch All QR Codes" href="/docs/api/qr-codes/image-content/fetch-all">
    `GET` `/v1/payments/qr_codes?count=2`

    Retrieves details of all QR Codes.
  </Card>

  <Card title="Fetch a QR Code With ID" href="/docs/api/qr-codes/image-content/fetch-with-id">
    `GET` `/v1/payments/qr_codes/:qr_id`

    Retrieves details of a QR Code using id.
  </Card>

  <Card title="Fetch QR Codes for a Customer ID" href="/docs/api/qr-codes/image-content/fetch-customer-id">
    `GET` `/v1/payments/qr_codes?customer_id=\{customer_id\}`

    Retrieves QR Codes generated for a Customer id.
  </Card>

  <Card title="Fetch QR Codes for a Payment ID" href="/docs/api/qr-codes/image-content/fetch-payment-id">
    `GET` `/v1/payments/qr_codes?payment_id=\{payment_id\}`

    Retrieves QR Codes by Payment id.
  </Card>

  <Card title="Fetch Payments for a QR Code" href="/docs/api/qr-codes/image-content/fetch-payments">
    `GET` `/v1/payments/qr_codes/:qr_id/payments`

    Retrieves payments made on a QR Code.
  </Card>

  <Card title="Refund Payments" href="/docs/api/qr-codes/image-content/refunds">
    `POST` `/v1/payments/:id/refund`

    Refunds payments made on a QR Code.
  </Card>
</CardGroup>

## Related Guides

* [About QR Codes](/docs/payments/qr-codes)
