The mobile phone number must be real. You can fix a correct mobile phone number, such as: 8095659738.
Request
Body Params application/json
{
"mchOrderId": "string",
"amount": "string",
"firstname": "string",
"currency": "string",
"lastname": "string",
"productinfo": "string",
"email": "string",
"phone": "string",
"callbackUrl": "string",
"redirectUrl": "string",
"noPayPage": "string",
"paymentMethod": "string",
"paymentType": "TCTD",
"cardNumber": "string"
}
Request Code Samples
curl --location --request POST '/gateway/base/biz' \
--header 'method: pay' \
--header 'signType: SHA512' \
--header 'serviceName: api.pay' \
--header 'mchId: 1416010331032883200' \
--header 'timestamp: 1631671670' \
--header 'sign: 32554324534545432543' \
--header 'Content-Type: application/json' \
--data-raw '{
"mchOrderId": "string",
"amount": "string",
"firstname": "string",
"currency": "string",
"lastname": "string",
"productinfo": "string",
"email": "string",
"phone": "string",
"callbackUrl": "string",
"redirectUrl": "string",
"noPayPage": "string",
"paymentMethod": "string",
"paymentType": "TCTD",
"cardNumber": "string"
}'
Responses
application/json {
"resultCode": "50",
"errorCode": "60",
"errorMsg": null,
"data": [
{
"orderId": "12",
"checkoutUrl": "https://courageous-quinoa.com/"
},
{
"orderId": "35",
"checkoutUrl": "https://outstanding-strategy.com/"
},
{
"orderId": "88",
"checkoutUrl": "https://fluffy-gripper.biz/"
}
]
}
Modified at 2025-12-05 12:56:10