Cash Common

Redirect

通用

POST USEEPAY_PATH/cashier

Headers

NameTypeDescription

content-type*

String

application/x-www-form-urlencoded

Request Body

NameTypeDescription

transactionType*

String

交易类型 : pay

version*

String(5)

目前固定为 1.0

signType*

String

商户生成签名字符串所使用的签名算法类型,目前支持:RSA/MD5

merchantNo*

String(16)

商户号

transactionId*

String(64)

商户订单号

transactionExpirationTime

String(6)

过期时间 (分钟)

appId*

String (128)

网站域名

amount*

String(12)

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

currency*

String(3)

3 位 ISO 大写字母货币代码(详见 ISO 4217) 目前仅支持EUR

notifyUrl*

String(512)

echoParam

String(256)

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

payerInfo*

String

Json格式的String 付款方信息

userInfo*

String

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

redirectUrl

String(512)

跳转商户地址

autoRedirect

String

false: 不跳转 默认true

country*

String

国家二字码

Params

PayerInfo Object

参数必选类型说明

paymentMethod

Y

String

具体的看指定的支付方式

name

Y

String

姓名

email

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

email

N

string

max=128用户邮箱

phoneNo

N

string

max=32 用户手机号

{
  "ip": "103.25.65.178"
}

Last updated