跳转至

网银支付收银台

请求方式 body 编码 接口地址
POST form-urlencoded UTF-8 集测:https://olbankcountertest.shengpay.com/cashier
生产:https://olbankcounter.shengpay.com/cashier

请求参数

变量名 类型 必填 示例值 描述
version String(32) Y V5.0.0 版本号,默认属性值为: V5.0.0
charset String(32) Y UTF-8 字符集,默认属性值为:UTF-8
mchId String(16) Y 93751497 商户号
outMemberId String(32) Y 93751497 商户平台会员号
mchOrderNo String(50) Y 商户订单号(只允许使用数字、字母,确保在商户系统唯一)
orderAmount int Y 订单金额(单位:分)
orderTime String(14) Y 20110808112233 商户订单提交时间(格式:yyyyMMddHHmmss)
currency String(14) Y CNY 货币类型
payChannel String(8) N 19 支付渠道(借记卡:19,贷记卡:20,B2B)
instCode String(8) N 机构编码(指定payChannel和instCode时为直连银行模式)
pageUrl String(256) Y 支付成功后客户端浏览器回调地址
backUrl String(256) Y 服务端通知地址
productName String(56) Y 商品名称
productDesc String(128) N 商品描述
productUrl String(128) N 商品地址
profitSharing String(2) Y 是否需要分账,如果需要分账,请先开通分账合同
Y-是,需要分账
N-否,不分账
buyerIp String(20) Y 买家IP地址(防钓鱼用)
ext String(128) N 扩展(支付完成后,按照原样返回给商户)
nonceStr String(32) Y pWUVWVYWNQhnTXpQzhIzMGCwqBkZclzg 随机字符串
signType String(8) Y RSA 签名类型
sign String (1024) Y 签名

请求示例

1
version=V5.0.0&charset=UTF-8&mchId=93744866&outMemberId=huahua035&mchOrderNo=1635731216268&orderAmount=1&orderTime=20211101094656&expireTime=20211108094656&currency=CNY&payChannel=&instCode=&pageUrl=http://olbankcounter.sdptest.shengpay.com/notify&returnUrl=&backUrl=http://olbankcounter.sdptest.shengpay.com/notify&productName=product&productDesc=a_blue_by_0.99&productUrl=http://product.url.com&depositId=&depositIdType=&depositAccountType=&buyerIp=10.132.97.21&profitSharing=N&ext=remark&signType=MD5&sign=4D02ED3419C4EFD7438F54472FA90C6E
Back to top