Checkout payment
跳转支付
post
https://{paymentApiUrl}
/V2022-03/checkout/payment
V2022-03/checkout-payment

跳转支付请求报文示例

curl --request POST \
--url https://{paymentApiUrl}/V2022-03/checkout/payment \
--header 'Content-Type: application/json' \
--header 'request-id: 58675' \
--header 'request-time: 1651888520935' \
--header 'gateway-no: 12345001' \
--header 'sign-info: 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F035661B822B' \
--data '{
"billingAddress": {
"address": "FAEPFRBRTGCC",
"city": "shenzhen",
"country": "CN",
"email": "[email protected]",
"firstName": "Fvyhdm",
"lastName": "Azrpnz",
"phone": "13989847368",
"state": "WEWBZ",
"zip": "675934"
},
"callbackUrl": "https://CallResult",
"customerId": "",
"deliveryAddress": {
"shipAddress": "mfdgohmqkpocemkqwtks",
"shipCity": "MQOHUPOX",
"shipCountry": "BR",
"shipFirstName": "SFDMPG",
"shipLastName": "USJAXT",
"shipPhone": "62519594707",
"shipState": "WEWBZ",
"shipZip": "512008"
},
"goodsDetails": [
{
"goodsCount": "1000",
"goodsPrice": "139",
"goodsTitle": "Ipad min"
}
],
"isMobile": "0",
"orderAmount": "336.73",
"orderCurrency": "CNY",
"orderNo": "NEW_API2520767716960",
"paymentMethod": "Credit Card",
"platform": "platform",
"remark": "TEST",
"returnUrl": "https://returnUrl"
}'

结果对象属性描述

property name
type
description
code
String
返回码
message
String
返回信息
data
Object
数据对象
redirectUrl
String
checkout模式下商户跳转客户的支付页面地址
orderNo
String
商户订单号
tradeNo
String
预下单流水号
orderAmount
String
商户订单金额
orderCurrency
String
商户订单币种
orderStatus
String
【交易状态】
待处理:pending
成功:success
失败:fail
orderInfo
String
银行返回信息
remark
String
备注