Main
/Payments
/Generate a QR-code
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 |
Parameter type
string uuidDefinition
uuid of a static wallet* - mandatory parameter
curl https://api.heleket.com/v1/wallet/qr \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{
"wallet_address_uuid": "8b03432e-385b-4670-8d06-064591096795",
}'Copy| Name | Definition |
|---|---|
| image | Base64 encode QR-code image |
Definition
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 |
Parameter type
string uuidDefinition
Invoice uuid* - mandatory parameter
curl https://api.heleket.com/v1/payment/qr \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{
"merchant_payment_uuid": "8b03432e-385b-4670-8d06-064591096795",
}'Copy| Name | Definition |
|---|---|
| image | Base64 encode QR-code image |
Definition
Base64 encode QR-code image
1{
2 "state": 0,
3 "result": {
4 "image": "data:image/png;base64,iVBORw0KGgoAAA..."
5 }
6}Copy