请求参数

# 请求参数

注:参数禁止使用中文

  • 收银台模式 (模式1):
参数 类型 必填 描述 示例
mchNo string(32) Y 商户编号,在商户平台-个人中心-个人信息中获取 PHOT000001
timestamp long Y 请求时间戳 1749029774
sign string Y 签名字符串 ja6R8eukQY9jc8zrhtf34654ungj7u8sdgdfjfs
orderNum string(64) Y 商户订单号 T1749029774
amount degits(14,2) Y 付款金额(支持两位小数) 100.01
method string(16) C 支付方式 ,收银台模式下可以为空 GCASH
GCASH_WAP
MAYA
MAYA_WAP
downNotifyUrl string(255) Y 订单支付成功异步通知地址(用来接收订单交易成功后的通知) https://host:port/notifyUrl
redirectUrl string(512) Y 成功跳转url https://host:port/notifyUrl
expiryPeriod int(5) Y 订单过期时间(单位:分钟) 。 1440
customerName string(64) Y 客户名称 Mark
customerEmail string(64) Y 用户邮箱 [email protected]
customerPhone string(32) Y 用户手机号码 1234567890
productDetail string(100) Y 产品详情 1234567890

# 响应参数

参数 类型 必填 描述 示例
success boolean Y 请求业务是否成功
code String Y 状态码
msg String Y 返回信息信息 交易描述
timeStamp String Y 时间戳 1749029774
data Object Y 响应数据 JSON对象,下面是data中的字段
orderNum String Y 商户订单号 23645782
platOrderNum String Y 平台订单号 987654321
amount string Y 支付金额 10000
fee string Y 手续费金额 5.32
method String Y 支付方式 GCASH
productDetail String Y 产品详情 Macbook Pro
customerName String Y 客户名称 Amot
customerEmail String Y 客户邮件 [email protected]
customerPhone String Y 客户手机号码 123456789
validTime Long Y 有效期 1749180960097
cashierUrl String Y 链接 https://www.google.com
payData Object N 支付信息
payDataType String N 支付信息类型 CASHIER_URL