requestParameters
# requestParameters
# NoteChineseIsProhibitedForRequestParameters
parameters | type | required | describe | example |
---|---|---|---|---|
mchNo | string(32) | Y | mchNo,in`Merchant Platform - Personal Center - Personal Information | PHOT000001 |
timestamp | Long | Y | timestamp | 1749029774 |
sign | string | Y | signature | ePvTFhiRrARcZKBcRG0l89rqisPIuZQStYqBIwSMPaqvqbc3dFevgS9jt |
orderNum | string(64) | Y | merchantOrderNumber | 1890021234234 |
amount | degits(14,2) | Y | Payment amount (supports two decimal places) | |
feeType | Integer(1) | Y | theTypeOfCommission | 0:deductedFromTheAmountPaid,1:handlingFeeIsNotIncluded |
downNotifyUrl | string(255) | Y | callbackAddress | http://notify.com |
bankCode | string(32) | Y | bankCode | referToAppendixII BankCode directory |
bankCard | string(64) | Y | bankCard | 12312431241 |
accountName | String(64) | Y | customerName | Amot |
description | string(255) | Y | description | Macbook Pro |
# responseParameters
parameters | type | required | describe | example |
---|---|---|---|---|
success | boolean | Y | ||
code | String | Y | statusCode | |
msg | String | Y | msg | 'successful' |
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 | 12.25 |
feeType | String | Y | theTypeOfCommission | 0:deductedFromTheAmountPaid,1:handlingFeeIsNotIncluded |
status | String | Y | status | 0-Pending 1-Processing 2-Payout Success 3-Order Revocation (Order Failed) 4-Payout Failed 5-Bank Payout Processing |
statusMsg | String | Y | statusMsg | |
bankCode | String | N | bankCode | referToAppendixII BankCode directory |
bankCard | string(64) | Y | bankCard | 12312431241 |
accountName | String(64) | Y | customerName | Amot |
description | string(255) | Y | description | description |
sign | String | Y | 签名 | PI1453242857400963072 |