1.1 QRCODE Creation
request URL
request method
request params
parameter name | Is it mandatory | type of data | length | example | description |
appId | mandatory | string | - | - | application APPID |
appName | mandatory | string | 1-100 | - | Merchant application name, format: letter + space, 1-100 characters |
mchOrderId | mandatory | string | 1-32 | CCP20220428011068111 | Merchant order id ((unique for customer or bill) format: letter + num, 1-32 characters |
channelCode | mandatory | string | - | - | channelCode: QRPH_STATIC_QR、QRPH_DYNAMIC_QR、QRPH_HYBRID_QR |
amount | optional | int | - | For channelCode is QRPH_DYNAMIC_QR & QRPH_HYBRID_QR is Mandatory, and the min amount 20 peso | Payment amount (unit: cents) PHP:500.10, should set 50010 cents |
customerName | mandatory | string | 1-128 | - | customer name, format:"firstName middleName lastName" (middle name optional) |
email | optional | string | 1-128 | - | customer email |
callbackUrl | optional | string | 1-256 | If the callback address exists, the callback address is used. If the callback address does not exist, the callback address is used | |
remark | optional | string | 1-256 | - | Qrcode Remark |
expireSeconds | optional | int | - | - | Expiration seconds (minimum 60s, maximum 3600s), if not uploaded, the default is 3600s(Effective only for QRPH_DYNAMIC_QR、QRPH_HYBRID_QR) |
sign | mandatory | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | sign |
response params
parameter name | type of data | length | example | description |
code | int | 11 | 1000 | Status code see reference |
message | String | 100 | success | The message of status code |
data | Object | - | - | Response Data |
- mchOrderId | String | 1-32 | E34302809202827219113 | Merchant order id (unique for customer) |
- qrcodeId | String | 50 | QR1007656756764275140 | Qr code ID |
- qrcodeContent | String | text | - | Qrcode Content (If you need to customize the repayment guidance page, you can generate the QR code by this content) |
- channelCode | String | 100 | QRPH_STATIC_QR | Collection Channel Code |
- callbackUrl | String | 150 | - | The callback url |
- createTime | string | - | 2022-07-02 18:12:46 | QrCode create time |
- updateTime | string | - | 2022-07-02 18:14:05 | QrCode update time |
- expiresTime | String | 2022-07-02 18:15:05 | QrCode expire time | |
- remark | String | 255 | - | remark |
- status | String | 50 | ACTIVE | QrCode status |
- qrLink | String | 100 | - | QrCode repayment guidance link |
successful response example
failed response example. code see reference