curl --request POST \
--url https://uat-interface.haipay.asia/usdc/collect/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"amount": "<string>",
"payType": "<string>",
"inBankCode": "<string>",
"callBackUrl": "<string>",
"callBackFailUrl": "<string>",
"clientType": "APP",
"currency": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"subject": "<string>",
"body": "<string>",
"notifyUrl": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {}
}业务ID(后台获取,需要根据URL中的币种传递对应的业务ID)
商户订单号(必须保证唯一性,长度不超过48)
48用户姓名,推荐使用真实姓名,格式:包含firstName和lastName,以空格分割的,示例:Donald John Trump
真实手机号(格式参考 电话号码格式 )
真实电子邮件
交易金额(禁止添加标点符号,例如:",") 范围参考:0.01-5000000
^\d+\.?\d{0,2}$支付方式类型
支付方式编码
用户支付成功后跳转地址
用户支付失败后跳转地址
APP、WEB、WAP、MINIAPP、OTHERS
APP, WEB, WAP, MINIAPP, OTHERS 法币,若不需要币种转换,请传USDT/USDC
用户唯一标识,格式:数字
^\d+$签名
支付备注
备注详情
回调地址
curl --request POST \
--url https://uat-interface.haipay.asia/usdc/collect/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"amount": "<string>",
"payType": "<string>",
"inBankCode": "<string>",
"callBackUrl": "<string>",
"callBackFailUrl": "<string>",
"clientType": "APP",
"currency": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"subject": "<string>",
"body": "<string>",
"notifyUrl": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {}
}