Prepay
Referred to as prepay
Last updated
Referred to as prepay
Last updated
merchantNo*
string
Merchant ID
storeNo*
string
Store ID
amount*
number
The price amount.
currency*
number
The supported transaction currency is "USD", "CNY".
settleCurrency*
string
The supported settlement currency is "USD".
vendor*
string
The possible payment channels are "alipay", "wechatpay".
ipnUrl*
string
The instant Payment Notification Handler URL. IPN URL must be secure.
openid
string
openid from WeChat, which is only needed for the Wechat Mini-Program.
reference*
string
The Invoice Number of the transaction in the merchant's system.
terminal*
string
The possible values are: "MINIPROGRAM", "APP".
description
string
The description of the transaction which will be displayed on the invoice.
note
string
The payment note.
timeout
integer
The timeout in minutes. The default value is 120.
verifySign*
string
The parameter signature.
Parameter
Type
Description
result
object
The wechat-mini result object.
The wechat-app result object.
The alipay-app result object.
ret_msg
string
The response return message.
ret_code
string
The response return code. For more details, see here.
Parameter
Type
Description
timeStamp
string
The timestamp.
nonceStr
string
A random string.
package
string
prepay_id information.
signType
string
The signature type.
paySign
string
The signature.
Parameter
Type
Description
appid
string
The App Id.
noncestr
string
A random string.
package
string
The value is 'Sign=WXPay'.
partnerid
string
partnerid information.
prepayid
string
prepay_id information.
sign
string
The signature.
timestamp
string
The timestamp.
Parameter
Type
Description
payInfo
string
The payment information.