Main
/Payments
/Generate a QR-code
Copy page
You can generate a QR-code for a static wallet address or for an invoice address. Scanning it, the user will receive the address for depositing funds.
| Name | Parameter type | Definition |
|---|---|---|
| wallet_address_uuid* | string uuid | uuid of a static wallet |
* - mandatory parameter
curl https://api.heleket.com/v1/wallet/qr \
-X POST \
-H 'merchant: YOUR_MERCHANT_UUID' \
-H 'sign: YOUR_SIGNATURE' \
-H 'Content-Type: application/json' \
-d '{
"wallet_address_uuid": "YOUR_WALLET_UUID"
}'Copy| Name | Definition |
|---|---|
| image | Base64 encode QR-code image |
1{
2 "state": 0,
3 "result": {
4 "image": "data:image/png;base64,iVBORw0KGgoAAA..."
5 }
6}Copy| Name | Parameter type | Definition |
|---|---|---|
| merchant_payment_uuid* | string uuid | Invoice uuid |
* - mandatory parameter
curl https://api.heleket.com/v1/payment/qr \
-X POST \
-H 'merchant: YOUR_MERCHANT_UUID' \
-H 'sign: YOUR_SIGNATURE' \
-H 'Content-Type: application/json' \
-d '{
"merchant_payment_uuid": "YOUR_PAYMENT_UUID"
}'Copy| Name | Definition |
|---|---|
| image | Base64 encode QR-code image |
1{
2 "state": 0,
3 "result": {
4 "image": "data:image/png;base64,iVBORw0KGgoAAA..."
5 }
6}Copy