requestParameters
# requestParameters
only english
- CashierMode (model1):
| parameters | type | required | describe | example |
|---|---|---|---|---|
| mchNo | string(32) | Y | mchNo,in`Merchant Platform - Personal Center - Personal Information | PHOT000001 |
| timestamp | long | Y | timestamp | ja6R8eukQY9jc8zrhtf34654ungj7u8sdgdfjfs |
| sign | string | Y | signature | PHOT000001 |
| orderNum | string(64) | Y | merchantOrderNumber | 1749029774 |
| amount | degits(14,2) | Y | Payment amount (supports two decimal places) | |
| method | string(16) | C | method | GCASH GCASH_WAP MAYA MAYA_WAP |
| downNotifyUrl | string(255) | Y | callbackUrl | https://host:port/notifyUrl |
| redirectUrl | string(512) | Y | redirectUrl | https://host:port/notifyUrl |
| expiryPeriod | int(5) | Y | orderExpirationTime(unitMinutes) 。If there are no special requirements, the expiration time should be set as large as possible, and it is easy to expire if the time is too short | 1440 |
| customerName | string(64) | Y | customerName | Jack |
| customerEmail | string(64) | Y | customerEmail | [email protected] |
| customerPhone | string(32) | Y | customerPhone | 1234567890 |
| productDetail | string(100) | Y | productDetail | 1234567890 |
# responseParameeters
| parameters | type | required | describe | example |
|---|---|---|---|---|
| success | boolean | Y | ||
| code | String | Y | ||
| msg | String | Y | ||
| timeStamp | String | Y | timestamp | |
| data | Object | Y | responseData | JSON object, the following are the fields in data |
| orderNum | String | Y | merchantOrderNumber | 23645782 |
| platOrderNum | String | Y | platOrderNum | 987654321 |
| amount | string | Y | amount | 10000 |
| fee | string | Y | theAmountOfTheHandlingFee | 5.32 |
| method | String | Y | method | GCASH |
| productDetail | String | Y | productDetail | Macbook Pro |
| customerName | String | Y | customerName | Amot |
| customerEmail | String | Y | customerEmail | [email protected] |
| customerPhone | String | Y | customerPhone | 123456789 |
| validTime | Long | Y | validTime | |
| cashierUrl | String | Y | cashierUrl | |
| payData | Object | N | payData | |
| payDataType | String | N | payDataType |