创建 VA 帐户
客户使用银行虚拟账户向商家付款
#
RequestPOST
#
Parameterapplication/json
Field | Type | Description |
---|---|---|
merchantCode | string [5..50] characters | Unique merchant code |
method | string | type of bank va Payment Method |
orderNum | string | This number should be unique for merchant. Dupliated numbers won't be accepted by platform. |
payMoney | number <int64> | amount to pay. Only integers are accepted. |
productDetail | string <=32 characters | description of the bill |
name | string <=32 characters | This name will be displayed on bill page when user pay to the VA |
string <email> | customer email | |
phone | string | user phone number |
notifyUrl | string <url> | When user pay to va, merchant will be notified on this url |
expiryPeriod | string [30..7200] characters | order/bill expiration time in minutes |
dateTime | string <date-time> | format yyyyMMddHHmmss |
appId | string Nullable | Application ID. Merchants can create their own applications according to the business. This field is optional. |
sign | string <=512 characters | Encrypted parameters. |
#
Request Example#
Response#
Success200
application/json
Field | Type | Description |
---|---|---|
platRespCode | string | result code: "SUCCESS" "FAIL" "UNKNOWN" "NOTEXIST" "ERROR" |
platRespMessage | string | description of resp code |
platOrderNum | string | unique order number in platform wide. |
orderNum | string | unique order number in merchant wide. Same as orderNum in request body. |
method | string | type of bank va |
name | string <= 32 characters | This name will be displayed on bill page when user pay to the VA |
string <email> | customer email | |
vaNumber | string | VA account |
payMoney | number <int64> | same as field in request body. |
payFee | number <int64> | fee charged by platform |
productDetail | string <= 32 characters | description of the bill. same as field in request body. |
sourcePartnerName | string | Payee name, will return when the request parameter method value is FT |
platSign | string | Encrypted response data |