The data inside a generated Transfer Quick Response Code is data that is needed to perform a transfer.
{
"merchant_globally_unique_identifier": "com.p2pqrpay",
"merchant_bic": "PAEYPHM2XXX",
"merchant_credit_account": "985889386153",
"merchant_name": "ENG-19818-ged",
"merchant_city": "Manila",
"country_code": "PH",
"merchant_category_code": "6016",
"currency": 608,
"amount": 123.45, // peso
"merchant_mobile_number": "+63-9913729861",
"bill_number": "***",
"mobile_number": "+63-9913729862",
"store_label": "***",
"loyalty_number": "LOYALTY1",
"reference_label": "test12",
"customer_label": "cust1",
"terminal_label": "12345678",
"purpose_of_transaction": "***"
}
This data when encoded as a QR string, by following the EMV QR standard for payments, will become a single string.
00020101021227770012com.p2pqrpay0111PAEYPHM2XXX02089996440304129858893861530514+63-99137298615204601653036085406123.455802PH5913ENG-19818-ged6006Manila62980012com.p2pqrpay0103***0214+63-99137298620303***0408LOYALTY10506test120605cust10708123456780803***6304ED03
This QR string can then be parsed into structured data as mentioned in the standard that can then be used for payments
[
{
"tag": "00",
"length": 2,
"value": "01"
},
{
"tag": "01",
"length": 2,
"value": "12"
},
{
"tag": "27",
"length": 77,
"value": "0012com.p2pqrpay0111PAEYPHM2XXX02089996440304129858893861530514+63-9913729861",
"children": [
{
"tag": "00",
"length": 12,
"value": "com.p2pqrpay"
},
{
"tag": "01",
"length": 11,
"value": "PAEYPHM2XXX"
},
{
"tag": "02",
"length": 8,
"value": "99964403"
},
{
"tag": "04",
"length": 12,
"value": "985889386153"
},
{
"tag": "05",
"length": 14,
"value": "+63-9913729861"
}
]
},
{
"tag": "52",
"length": 4,
"value": "6016"
},
{
"tag": "53",
"length": 3,
"value": "608"
},
{
"tag": "54",
"length": 6,
"value": "123.45"
},
{
"tag": "58",
"length": 2,
"value": "PH"
},
{
"tag": "59",
"length": 13,
"value": "ENG-19818-ged"
},
{
"tag": "60",
"length": 6,
"value": "Manila"
},
{
"tag": "62",
"length": 98,
"value": "0012com.p2pqrpay0103***0214+63-99137298620303***0408LOYALTY10506test120605cust10708123456780803***",
"children": [
{
"tag": "00",
"length": 12,
"value": "com.p2pqrpay"
},
{
"tag": "01",
"length": 3,
"value": "***"
},
{
"tag": "02",
"length": 14,
"value": "+63-9913729862"
},
{
"tag": "03",
"length": 3,
"value": "***"
},
{
"tag": "04",
"length": 8,
"value": "LOYALTY1"
},
{
"tag": "05",
"length": 6,
"value": "test12"
},
{
"tag": "06",
"length": 5,
"value": "cust1"
},
{
"tag": "07",
"length": 8,
"value": "12345678"
},
{
"tag": "08",
"length": 3,
"value": "***"
}
]
},
{
"tag": "63",
"length": 4,
"value": "ED03"
}
]