| Field Name | Type | Required | E.g. | |
|---|---|---|---|---|
| paymentType | payment type; QRIS:(扫码) , WALLET_ZALO:(越南ZALO钱包) , WALLET_MOMO:(越南MOMO钱包), WALLET_VIET:(越南Viettel钱包) | String | Required | QRIS |
curl --location --globoff 'https://{{base_url2}}/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 '{
"amount": "20000.00",
"callbackUrl": "https://b3b5-117-42-55-134.jp.ngrok.io/india-merchant/core/callback",
"redirectUrl":"http://www.baidu.com",
"currency": "VND",
"paymentType": "QRIS",
"email": "sudanandau@gmail.com",
"firstname": "lee",
"lastname": "jamsa",
"mchOrderId": "29398129319236",
"phone": "254112018639",
"productinfo": "your pro simple desc"
}'{
"resultCode": "000000",
"errorCode": "000000",
"errorMsg": null,
"data": [
{
"orderId": "202302031621412192101593088",
"checkoutUrl": "http://localhost:8081/gateway/base/pay/adedebfa1287f741369540e2798dbbccbddb3fb917a54eb3ef173032961326f6a8d4d656f7fbea0115c5da04e99d63668c8db9f52edf915799922324a0259b01"
}
]
}