curl --location --request POST 'https://pay-gateway1.uat.useepay.com/api' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'transactionType=pay' \
--data-urlencode 'autoRedirect=true' \
--data-urlencode 'version=1.0' \
--data-urlencode 'signType=MD5' \
--data-urlencode 'merchantNo=500000000007362' \
--data-urlencode 'transactionId=202302081017053' \
--data-urlencode 'transactionExpirationTime=30' \
--data-urlencode 'appId=www.pay.com' \
--data-urlencode 'amount=120' \
--data-urlencode 'redirectUrl=https://gatewaytest.useepay.com/gateway-test/redirectV2u0' \
--data-urlencode 'currency=USD' \
--data-urlencode 'notifyUrl=https://gatewaytest.useepay.com/gateway-test/notifyV2u0' \
--data-urlencode 'echoParam=echoParam' \
--data-urlencode 'payerInfo={
"paymentMethod": "boleto",
"authorizationMethod": "cvv",
"paymentToken": "",
"cardNo": "4693960111089859",
"expirationMonth": "10",
"expirationYear": "24",
"email": "victor.yang@useepay.com",
"country": "BR",
"document": "84342411458",
"cvv": "565",
"firstName": "qiuhua",
"lastName": "yang",
"billingDescriptor": "",
"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": 1080,
"screenWidth": 1920,
"timeZoneOffset": -480,
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 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"
}
}' \
--data-urlencode 'orderInfo={ "subject": "订单标题", "goodsInfo": [ { "id": "商品编号", "name": "商品名称", "body": "商品描述", "category": "商品类目", "categoryTree": "商品类目树,不同级别类目使用”|”分割", "brand": "商品品牌", "quantity": 1, "price": 1234, "url": "商品url", "sku": "商品sku", "image": "商品图片url" } ], "deliveryMethod": "logistics", "deliveryTime": "", "shippingAddress": { "email": "victor.yang@useepay.com", "phoneNo": "+44 20 7734 9638", "firstName": "Victor", "lastName": "Yang", "street": "Heathcoat House, 20 Savile Row", "postalCode": "W1S 3PR", "city": "London", "state": "LND", "country": "GB" }}' \
--data-urlencode 'userInfo={ "userId": "victor007", "ip": "103.25.65.178", "email": "victor.yang@useepay.com", "phoneNo": "(323) 585-4433", "createTime": "20200520131400"}'