sofort_Direct
全球收单-SandBox环境
全球收单-SandBox环境
POST
/api
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Body 参数application/x-www-form-urlencoded
transactionType
string
必需
示例值:
pay
version
string
必需
示例值:
1.0
signType
string
必需
示例值:
MD5
merchantNo
string
商户号(16)
示例值:
500000000009133
transactionId
string
商户订单号(64)
示例值:
202212070142347
transactionExpirationTime
string
可选
示例值:
6
appId
string
网站域名(128)
示例值:
www.pay.com
amount
string
必需
示例值:
123
redirectUrl
string
可选
示例值:
https://gatewaytest.useepay.com/gateway-test/redirectV2u0
currency
string
必需
示例值:
EUR
notifyUrl
string
异步通知(512)
示例值:
https://gatewaytest.useepay.com/gateway-test/notifyV2u0
echoParam
string
可选
示例值:
echoParam
payerInfo
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" }}
orderInfo
string
可选
示例值:
{"subject":"订单标题"}
userInfo
string
必需
示例值:
{ "userId": "victor007", "ip": "103.25.65.178", "email": "victor.yang@useepay.com", "phoneNo": "(323) 585-4433", "createTime": "20200520131400"}
示例代码
返回响应
修改于 2023-10-14 01:58:30