post https://api.fiuu.com/RMS/API/staticqr/index.php
For merchant to generate static QR code of e-wallet
Method: POST or GET
| Field Name | Data Type(Size) | M/O | Description |
|---|---|---|---|
| merchantID | Alphanumeric, 32 chars | M | Merchant ID provided by PG |
| channel | Alphanumeric, 32 chars | M | Channel requested: • AlipayQR - Alipay Static QR • WeChatPayQR - WeChat Pay Static QR • DuitNowQR - DuitNow Static QR • PayNowQR- PayNow Static QR |
| orderid | Alphanumeric, 40 chars | M | Items ID. E.g: S001 |
| currency | Alphabet, 3 chars | M | ISO-4217 currency code. |
| amount | Numeric | C | The total amount to be paid in one purchase order. 2 decimal points and no commat (,) is allowed. Mandatory except DuitNowQR and PayNowQR |
| bill_name | Alphanumeric, 128 chars | M | Items name. |
| bill_desc | Text | M | Item description. |
| checksum | Alphanumeric, 32 chars | M | This is a request integrity protection hash string. |
Checksum = md5( {merchantID}{channel}{orderid}{currency}{amount}{verify_key} )
Response
| Field Name | Data Type(Size) | M/O | Description |
|---|---|---|---|
| status | Boolean | M | true/false |
| qrcode_data | URL | M | QR-Code data. Available for status true. |
| qrcode_link | URL | M | Link to view QR-Code image. Available for status true. |
| error_code | Alphanumeric | M | Error code when status is false. |
| error_mesg | Text | M | Error description when status is false. |
| error_code | error_mesg |
|---|---|
| SQ001 | Missing required parameter FieldName. |
| SQ002 | System is busy now, temporarily out of service. Please try again later. |
| SQ003 | Merchant info not found. |
| SQ005 | Invalid checksum value. |
| SQ004 | Currency not supported. |
| SQ006 | Your account doesn't subscribe to this channel. Please contact our support teams to enable this. |
