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

# QR Codes

> API Documentation for Razorpay Curlec QR Codes. Create, Close and Fetch QR Codes using APIs. Check the various use cases and code samples.

Available in
🇮🇳 India
🇲🇾 Malaysia

You can use Razorpay Curlec QR Codes to create QR Codes and share them with customers to accept digital payments. You can create and manage QR Codes using APIs or from the Dashboard.\
\


Refer to the QR Code Flow and Integration Checklist before you begin integrating with the APIs for QR Codes.\
\


> [card] [Create a Customer](https://razorpay.com/docs/my/api/customers/create.md)
>
> `POST` `/v1/customers`
>
> Creates a customer that you can optionally link when creating a Dynamic QR Code.

> [card] [Create a QR Code](https://razorpay.com/docs/my/api/qr-codes/create.md)
>
> `POST` `/v1/payments/qr_codes`
>
> Creates a QR Code.

> [card] [Close a QR Code](https://razorpay.com/docs/my/api/qr-codes/close.md)
>
> `POST` `/v1/payments/qr_codes/:id/close`
>
> Closes a QR Code.

> [card] [Fetch All QR Codes](https://razorpay.com/docs/my/api/qr-codes/fetch-all.md)
>
> `GET` `/v1/payments/qr_codes?count=2`
>
> Retrieves details of all QR Codes.

> [card] [Fetch a QR Code with ID](https://razorpay.com/docs/my/api/qr-codes/fetch-with-id.md)
>
> `GET` `/v1/payments/qr_codes/:id`
>
> Retrieves details of a specific QR Code using id.

> [card] [Fetch QR Codes for a Customer ID](https://razorpay.com/docs/my/api/qr-codes/fetch-customer-id.md)
>
> `GET` `/v1/payments/qr_codes?customer_id=\{customer_id\}`
>
> Retrieves QR Codes generated for a Customer id.

> [card] [Fetch QR Codes for a Payment ID](https://razorpay.com/docs/my/api/qr-codes/fetch-payment-id.md)
>
> `GET` `/v1/payments/qr_codes?payment_id=\{payment_id\}`
>
> Retrieves QR Codes by Payment id.

> [card] [Fetch Payments for a QR Code](https://razorpay.com/docs/my/api/qr-codes/fetch-payments.md)
>
> `GET` `/v1/payments/qr_codes/:id/payments`
>
> Retrieves payments made on a QR Code.

> [card] Update a QR Code
>
> `PATCH` `/v1/payments/qr_codes/:id/payments`
>
> Updates payments made on a QR Code.

> [card] [Refund Payments](https://razorpay.com/docs/my/api/refunds/create-normal.md)
>
> `POST` `/v1/payments/:id/refund`
>
> Creates a refund for a payment.

## Related Guides
