Cash Common
POST
https://pay-gateway1.uat.useepay.com/cashier请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Body 参数application/x-www-form-urlencoded
country
string
国家二字码
示例值:
MX
transactionType
string
必需
交易类型 : pay
示例值:
pay
autoRedirect
string
可选
false: 不跳转 默认true
示例值:
true
version
string
必需
目前固定为 1.0 (5)
示例值:
1.0
signType
string
必需
商户生成签名字符串所使用的签名算法类型,目前支持:RSA/MD5
示例值:
MD5
merchantNo
string
商户号(16)
示例值:
500000000009133
transactionId
string
商户订单号(64)
示例值:
202302081017053
transactionExpirationTime
string
可选
过期时间 (分钟)(6)
示例值:
6
appId
string
网站域名(128)
示例值:
www.pay.com
amount
string
必需
支付金额,单位为对应币种的最小货币单位(详见 ISO 4217)(12)
示例值:
1000
redirectUrl
string
可选
跳转商户地址(512)
示例值:
https://gatewaytest.useepay.com/gateway-test/redirectV2u0
currency
string
必需
3 位 ISO 大写字母货币代码(详见 ISO 4217) 目前仅支持EUR(3)
示例值:
EUR
notifyUrl
string
异步通知(512)
示例值:
https://gatewaytest.useepay.com/gateway-test/notifyV2u0
echoParam
string
可选
回声参数,响应报文会原样返回(256)
示例值:
echoParam
payerInfo
string
必需
Json格式的String 付款方信息, 请下方
示例值:
{ "paymentMethod": "credit_card", "authorizationMethod": "threeds2.0", "billingDescriptor": "", "mpiData": { "threeDSVersion": "", "cavv": "", "dsTransId": "", "eci": "", "xid": "" }, "threeDS2RequestData": { "deviceChannel": "browser", "acceptHeader": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "colorDepth": 24, "javaEnabled": "false", "language": "zh-CN", "screenHeight": 1000, "screenWidth": 1600, "timeZoneOffset": -480, "userAgent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" }, "billingAddress": { "houseNo": "El Gallo Giro(https://gallogiro.com/)", "email": "victor.yang@useepay.com", "phoneNo": "(323) 585-4433", "firstName": "Victor", "lastName": "Yang", "street": "7148 Pacific Blvd, Huntington Park, CA 90255", "postalCode": "90225", "city": "Huntington Park", "state": "CA", "country": "US" }}
userInfo
string
必需
json string, 消费者信息,请参考消费者信息
示例值:
{ "userId": "victor007", "ip": "103.25.65.178", "email": "victor.yang@useepay.com", "phoneNo": "(323) 585-4433", "createTime": "20200520131400"}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例Request
{
"paymentMethod": "oxxo",
"name": "Pedro Gomes",
"email": "pedrogomes@dlocal.com",
"document": "42243309114"
}
最后修改时间: 1 年前