支付/预授权

API

跳转式收银台

POST BASE_URL/cashier

Headers

Name
Type
Description

Content-Type*

String

application/x-www-form-urlencoded

Request Body

Name
Type
Description

sign*

string

签名值

signType*

string

签名类型 MD5 / RSA (4)

echoParam

string

回声参数,Response 中将会原样返回 (256)

notifyUrl

string

异步通知地址 (512)

userInfo*

string

json string, 消费者信息, 请参考消费者信息

payerInfo*

string

json string, 付款方信息, 请参考payerInfo

currency*

string

货币单位,请参考货币单位一节

orderInfo*

string

json string, 订单信息, 请参考orderInfo

amount*

string

订单金额, 必须大于0,单位为对应货币的最小货币单位参考货币单位一节 (12)

appId*

string

提交审核的网站, 需与商户后台网站审核值一致 (128)

transactionExpirationTime*

integer

交易过期时间(单位为分钟) (6)

transactionType*

string

pay / authorization (18)

transactionId*

string

订单号, 需要唯一 (64)

merchantNo*

string

商户号 (16)

autoRedirect

boolean

true/ false 默认 true

version*

string(5)

目前固定为 1.0 (5)

redirectUrl

String

重定向请求的跳转地址 max=512

terminalType*

String(8)

终端类型 WEB/H5

Pay Result

字段
长度
描述
是否必要

merchantNo

max=16

max=16 商户编号,由 USEEPAY 分配

yes

transactionId

max=64

商户订单号,需保证在商户端不重复

yes

transactionType

max=18

交易类型:pay/authorization

yes

reference

max=32

USEEPAY 订单号

amount

max=12

支付金额,单位为对应币种的最小货币单位(详见 ISO 4217)

yes

currency

max=3

3 位 ISO 大写字母货币代码(详见 ISO 4217)

yes

resultCode

max=32

业务结果(详见 业务结果码判断交易是否成功的依据

yes

errorCode

max=4

错误码(详见 错误码 errorCode)

errorMsg

max=256

错误码消息描述

echoParam

max=256

回声参数,响应报文会原样返回

sign

max=256

签名

yes

Last updated