Gluwa
Gluwa Documentation
Gluwa Documentation
  • What is Gluwa
  • Change Log
    • Gluwa API Change Log
    • Gluwa Wallet Change Log
    • Gluwa Exchange Change Log
  • Get Started
    • Gluwa Mobile App
      • Gluwa Invest (Investor DAO) FAQ
      • Gluwa Invest (Fixed-Term Interest Account) FAQ
      • Create a New Gluwa Wallet
      • Restore Wallet
      • Send Gluwacoin to an address
      • Make QR Code Payments
      • Create a Signature
      • Access Private Keys
      • Non-Custodial Wallet
      • Gluwa Lottery Account FAQ
      • Fees
      • Transaction Status
      • Delete your Gluwa Account
    • Gluwa Dashboard
      • API Keys
      • Webhooks
      • Addresses
      • Transactions
    • Gluwacoin
  • Branding
    • Buttons and Marks
  • Development
    • Environments
    • QR Codes
    • Webhooks
    • Creating Signatures
    • Idempotent Requests
    • Sending Address
    • Gluwa SDK for PHP
    • Gluwa SDK for .NET
    • Gluwa SDK for Java
    • Gluwa SDK for JavaScript (Node.js)
  • API
    • API Reference
    • Authorization
    • Currency and Conversion Symbols
    • Errors and Error Codes
    • Balance
    • Fee
    • Transaction
    • Payment QR Code
    • Wrap / Unwrap
  • Exchange API
    • Exchange Webhook
    • Quote
    • Order
    • Exchange Request
    • Order Book
Powered by GitBook
On this page
  • POST /v1/QRCode
  • Request
  • Response
  • Errors
  1. API

Payment QR Code

Generate QR Code to receive payments.

POST /v1/QRCode

Retrieve QR Code for a payment.

Request

Headers

Header

Type

Description

Authorization

string

Query Parameters

Attribute

Type

Description

format

string

Optional. Image format, image/png or image/jpeg. If not specified, the API returns Base64 encoded string.

Request Body

Attribute

Type

Description

Target

string

The address of the payment receiver.

Signature

string

Currency

string

Amount

string

Payment amount.

MerchantOrderID

string

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 blank or null. If you're not using it, just remove it.

Note

string

Optional. Optional memo attached to the transaction. Do not set this value to blank or null. If you're not using it, just remove it.

Expiry

int

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 blank or null. If you're not using it, just remove it.

Response

HTTP Status

Return Object

200

Base64 encoded image or .png or .jpeg file.

Errors

HTTP Status

Error Code

Description

400

InvalidUrlParameters

Invalid URL parameters

400

MissingBody

Request body is missing.

400

InvalidBody

Request validation errors.

400

ValidationError

Request validation errors.

400

BadRequest

Unsupported format query parameter value.

403

Forbidden

Not authorized to use this endpoint. Make sure your authorization header is correct and you are using valid API key and secret.

500

InternalServerError

Server error.

503

ServiceUnavailable

Service unavailable for the specified currency.

PreviousTransactionNextWrap / Unwrap

Last updated 3 years ago

Auth token using Basic scheme. See .

Address Signature of the Target value, generate in the same way as .

The of the payment. Not supported for BTC.

currency
API Keys and Secrets
X-REQUEST-SIGNATURE