Payment QR Code
Generate QR Code to receive payments.
POST /v1/QRCode
POST /v1/QRCode
Retrieve QR Code for a payment.
Request
Headers
Header | Type | Description |
Authorization |
| Auth token using |
Query Parameters
Attribute | Type | Description |
format |
| Optional. Image format, |
Request Body
Attribute | Type | Description |
Target |
| The address of the payment receiver. |
Signature |
| Address Signature of the |
Currency |
| The currency of the payment. Not supported for |
Amount |
| Payment amount. |
MerchantOrderID |
| Optional. A string value attached to the payment which can be used for traceability between Gluwa and your application. Do not set this value to |
Note |
| Optional. Optional memo attached to the transaction. Do not set this value to |
Expiry |
| Optional. The lifetime of the QR code in seconds. By default, the QR code will expire in 10 minutes. Do not set this value to |
Response
HTTP Status | Return Object |
200 | Base64 encoded image or |
Errors
HTTP Status | Error Code | Description |
400 |
| Invalid URL parameters |
400 |
| Request body is missing. |
400 |
| Request validation errors. |
400 |
| Request validation errors. |
400 |
| Unsupported |
403 |
| Not authorized to use this endpoint. Make sure your authorization header is correct and you are using valid API key and secret. |
500 |
| Server error. |
503 |
| Service unavailable for the specified currency. |
Last updated