Cash Common
Redirect
通用
POST
USEEPAY_PATH/cashier
Headers
Name
Type
Description
content-type*
String
application/x-www-form-urlencoded
Request Body
Name
Type
Description
transactionType*
String
交易类型 : pay
version*
String(5)
目前固定为 1.0
signType*
String
商户生成签名字符串所使用的签名算法类型,目前支持:RSA/MD5
merchantNo*
String(16)
商户号
transactionId*
String(64)
商户订单号
transactionExpirationTime
String(6)
过期时间 (分钟)
appId*
String (128)
网站域名
echoParam
String(256)
回声参数,响应报文会原样返回
payerInfo*
String
Json格式的String 付款方信息
redirectUrl
String(512)
跳转商户地址
autoRedirect
String
false: 不跳转 默认true
country*
String
国家二字码
Params
PayerInfo Object
参数
必选
类型
说明
paymentMethod
Y
String
具体的看指定的支付方式
name
Y
String
姓名
Y
String
邮箱
document
Y
String
个人身份证
{
"paymentMethod": "oxxo",
"name": "Pedro Gomes",
"email": "pedrogomes@dlocal.com",
"document": "42243309114"
}
UserInfo Object
参数
必选
类型
说明
userId
N
string
max=128 用户id
ip
Y
string
max=128 IPv4或IPv6
N
string
max=128用户邮箱
phoneNo
N
string
max=32 用户手机号
{
"ip": "103.25.65.178"
}
Last updated