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": "QRIS"
}
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": "QRIS"
}'
Responses
application/json {
"data": [
{
"qrCodeString": "9",
"orderId": "51",
"currency": "occaecat ullamco consectetur",
"checkoutUrl": "https://sinful-gym.com/"
},
{
"qrCodeString": "4",
"orderId": "12",
"currency": "culpa",
"checkoutUrl": "https://unusual-horst.org/"
}
],
"success": false,
"resultCode": "84",
"errorCode": "3",
"errorMsg": "esse non"
}
Modified at 2025-12-05 12:56:10