Run in Apifox
Request Body Params application/json
{
"mchOrderId" : "string" ,
"amount" : "string" ,
"firstname" : "string" ,
"currency" : "string" ,
"lastname" : "string" ,
"productinfo" : "string" ,
"email" : "string" ,
"callbackUrl" : "string" ,
"redirectUrl" : "string" ,
"noPayPage" : "string" ,
"clientIp" : "string" ,
"phone" : "string" ,
"paymentMethod" : "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",
"callbackUrl": "string",
"redirectUrl": "string",
"noPayPage": "string",
"clientIp": "string",
"phone": "string",
"paymentMethod": "string"
}' Responses application/json Generate Code
{
"data" : [
{
"orderId" : "80" ,
"links" : "https://icy-riser.name/" ,
"checkoutUrl" : "https://admired-zebra.biz/"
}
] ,
"success" : true ,
"resultCode" : "1" ,
"errorCode" : "34" ,
"errorMsg" : "ex est ea culpa"
} Modified at 2025-12-05 12:56:10