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": {}
}Business ID (obtained in the backend; must correspond to the currency in the URL)
Merchant order number
48User name, recommended to use real name, format: include firstName and lastName, separated by space, example: Donald John Trump
Real mobile number
Real email address
Transaction amount (prohibited to add punctuation marks such as ",") Range reference: 0.01-5000000
^\d+\.?\d{0,2}$Redirect URL after successful payment
Redirect URL after failed payment
APP, WEB, WAP, MINIAPP, OTHERS
APP, WEB, WAP, MINIAPP, OTHERS Fiat currency. If no currency conversion is required, pass USDT/USDC
Unique user identifier (e.g., userId), used for risk control system, must be valid, otherwise it will affect the transaction. Format: digits, letters, or symbols -~!@#$%&*()_.
^\d+$Signature
Payment note (title, product name, reason)
Note details
webhook URL
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": {}
}