ExampleOfARequestPacket
# ExampleOfARequestPacket
{
"amount": "100.01",
"customerEmail": "[email protected]",
"customerName": "Lilia",
"customerPhone": "082122965511",
"downNotifyUrl": "http://123.com",
"expiryPeriod": 30,
"mchNo": "PHOT000012",
"method": "GCASH",
"orderNum": "T1749094557367",
"productDetail": "Test Pay",
"redirectUrl": "http://123.com",
"sign": "OONffWTn8Cqzb005QeGvra5RY8bYCcRA7eDl/awsPQjr+Ndmie3GujI9AKK9YpnCDa/jBTqd4fejZPPNI+WCik7JLtW5a9MEGd5mSUvb86FosMWYQH9Uzm94EV3iTAXA6YUVhAph3OLVEqJN0rgvuA8xxnkmtXHoQu+BfTy0cVApkmrQcrr3dJXJdAyUUxg6OdGqjrGW9faboUcsnWIeZ6xXvXL0Z/YY47b5i4ReCvZJ55PfsX5EW46MhK/8KWZ6CKdKemNamYp0xN7auJEHOs4lqRDwLAlU2xCAGTt75ylrSgsG2cdeE8GySajXc1KLzbs1UmoFqZOiPoBJ+BU0Cw==",
"timestamp": 1749094557367
}
# signature
[email protected]://123.com30PHOT000012GCASHT1749094557367Test Payhttp://123.com1749094557367
# ExampleOfAResponsePacket
# PlaceAnOrderAtTheCashier(model1)ExampleOfASuccessfulResponsePacket
{
"success": true,
"code": "9999",
"timeStamp": 1749094560116,
"data": {
"orderNum": "T1749094557367",
"platOrderNum": "PRE1930468620123504640",
"amount": 100.01,
"fee": 2,
"method": "GCASH",
"productDetail": "Test Pay",
"customerName": "Lilia",
"customerEmail": "[email protected]",
"customerPhone": "082122965511",
"validTime": 1749180960097,
"cashierUrl": "www.baidu.com",
"payData": "www.baidu.com",
"payDataType": "CASHIER_URL"
}
}
# failed response
{"success":false,"code":"0002","msg":"signature verification failed!","timeStamp":1749039508719,"data":null}