Run in Apifox
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" ,
"paymentType" : "WALLET"
} 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",
"paymentType": "WALLET"
}' Responses application/json Generate Code
{
"data" : [
{
"orderId" : "29" ,
"checkoutUrl" : "https://irresponsible-trolley.name/"
} ,
{
"orderId" : "44" ,
"checkoutUrl" : "https://inexperienced-lyre.biz/"
} ,
{
"orderId" : "7" ,
"checkoutUrl" : "https://fond-complication.us/"
}
] ,
"resultCode" : "29" ,
"errorCode" : "3" ,
"errorMsg" : "aliqua nulla ullamco ex proident"
} Modified at 2025-12-05 12:56:10