Generate QR
Technical Specification
Environment | Method | URL |
---|---|---|
Development | POST | https://snapstag.finnet.co.id/v1.0/qrqr/qr-mpm-generate |
Production | POST | https://snap.finnet.co.id/v1.0/qrqr/qr-mpm-generate |
Body Request
No | Name | Type | Mandatory | Min Length | Max Length | Description |
---|---|---|---|---|---|---|
1 | partnerReferanceNo | String | O | 1 | 64 | Transaction identifier on service consumer system |
2 | amount | Object | M | 1 | 2 | Required, if qr_type = 12 |
3 | FeeAmount | Object | M | 1 | 2 | Detail of Fee Amount |
4 | merchantId | String | M | 1 | 64 | Merchant identifier, unique per each merchant |
5 | subMerchantId | String | M | 1 | 32 | Sub Merchant ID |
6 | terminald | String | O | 1 | 16 | Terminal identification |
7 | validityPeriod | String | M | 1 | 25 | The time when the QRIS invalid |
8 | additionalInfo | Object | M | 1 | 6 | Additional Info |
Sample Request
{
"partnerReferenceNo": "INV112024033108340012600007",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"FeeAmount": {
"value": "0.00",
"currency": "IDR"
},
"merchantId": "FM2103300001",
"subMerchantId": "FM2007160001",
"terminalId": "213141251124",
"validityPeriod": "2024-04-17T12:03:38-07:00",
"additionalInfo": {
"tips_indikator": "00",
"tips_fixamount": "0",
"tips_percentage": "0",
"note": "",
"qr_type": "12",
"callback_payment": "https://demos.finnet.co.id/apiqrismerchanct/qr/callback-qris-static/index.php"
}
}
Body Response
No | Name | Type | Mandatory | Min Length | Max Length | Description |
---|---|---|---|---|---|---|
1 | responseCode | Enum | M | 1 | 7 | BI SNAP Response Code. |
2 | responseMessage | String | M | 1 | 150 | BI SNAP Response Message. |
3 | referenceNo | String | M | 1 | 64 | Transaction identifier on service provider system. Must be filled upon successful transaction |
4 | partnerReferenceNo | String | O | 1 | 64 | Transaction identifier on service consumer system |
5 | qrContent | String | M | 1 | 512 | QR String MPM. |
6 | merchantName | String | O | 1 | 25 | Registered Merchant Name |
7 | qrUrl | String | O | 1 | 256 | QR URL for download QR Image |
8 | terminalId | String | O | 1 | 16 | Terminal Identification |
9 | additionalInfo | Object | O | 1 | 4 | Additional Info |
Sample Response
{
"responseCode":"2004700",
"responseMessage":"Request has been processed successfully",
"referenceNo":"weoOiX7RIjSBA31QGcUxrJLyaKFH0z5T",
"partnerReferenceNo":"INV012021",
"qrContent":"00020101021226620013ID.FINPAY.WWW01189360077732007160010212FM20071600010303UKE51410014ID.CO.QRIS.WWW0212ID12345678910303UKE520458145303360540410005502025602505802ID5909Test Sogi6015JAKARTA SELATAN61051271062100706finnet630490FF",
"merchantName":"Test Dapur",
"qrUrl":"https://qrurl?img=12345",
"terminalId":"213141251124",
"additionalInfo":{
"merchantId":"FM2103300001",
"subMerchantId":"FM2007160001",
"nmid":"123456612388",
"validityPeriod": "2024-04-17T12:03:38-07:00"
}
}