{
"appId": "6e2d4b6f926c44f8ab4e0f5c76cdec69",
"sign": "tVa+aoAXH0ls1IoPznzkFyF+4v+iTZaCSttPWmYl1kCHeh8mwao8cqAD7Y7wdymcr9yavKh4bKT18KeLu27g7Q5GqhEQ0cm1dkARe+i2xoH32la4HAzBfPj9liULDawGoPbo739+FLgZnV79CLaiukvqtnkgI/Km6J/KccRPl2CtS4PUjxCyRicOAcv91KZiVOxyhoP9bKhvwtCkCIlkpBHKWskBPCxxfctoORjgXWj7FhRPLYBuRDaczfmr2um9aNXhVoH1XFZf7Gu67n6RmeB0kc2dHFPI89JEI0PwGq+bvbCAEUtHK4SlLexCtbMoCgGWKTJbSMDTvVF126jz8g==",
"param": "{\"mchOrderId\":\"EXAMPLE00000001\",\"amount\":1000,\"customerName\":\"Jason\",\"channelCode\":\"TRUEMONEY_URL\",\"email\":\"jasonbourne@gmail.com\",\"mobile\":\"0612345678\",\"notifyUrl\":\"https://example.com\",\"redirectUrl\":\"https://google.com\",\"expireSeconds\":3600,\"timestamp\":\"1715099419\"}"
}curl --location --request POST '/open-api/webpay/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "6e2d4b6f926c44f8ab4e0f5c76cdec69",
"sign": "tVa+aoAXH0ls1IoPznzkFyF+4v+iTZaCSttPWmYl1kCHeh8mwao8cqAD7Y7wdymcr9yavKh4bKT18KeLu27g7Q5GqhEQ0cm1dkARe+i2xoH32la4HAzBfPj9liULDawGoPbo739+FLgZnV79CLaiukvqtnkgI/Km6J/KccRPl2CtS4PUjxCyRicOAcv91KZiVOxyhoP9bKhvwtCkCIlkpBHKWskBPCxxfctoORjgXWj7FhRPLYBuRDaczfmr2um9aNXhVoH1XFZf7Gu67n6RmeB0kc2dHFPI89JEI0PwGq+bvbCAEUtHK4SlLexCtbMoCgGWKTJbSMDTvVF126jz8g==",
"param": "{\"mchOrderId\":\"EXAMPLE00000001\",\"amount\":1000,\"customerName\":\"Jason\",\"channelCode\":\"TRUEMONEY_URL\",\"email\":\"jasonbourne@gmail.com\",\"mobile\":\"0612345678\",\"notifyUrl\":\"https://example.com\",\"redirectUrl\":\"https://google.com\",\"expireSeconds\":3600,\"timestamp\":\"1715099419\"}"
}'{
"code": 10000,
"message": "Success",
"data": {
"payUrl": "https://tmn-dev.app.link/commoncashier?deeplink=ascendmoney%3A%2F%2Fwallet.truemoney.co.th%2Fapp%2F660000000012%3Ftype%3Dcommoncashier%26method%3De8cc7c8bcc5a189239a1b5e0e31d8f98",
"transactionId": "C1218702956934697612",
"mchOrderId": "EXAMPLE00000001",
"expiresTime": "2023-12-31 23:00:00"
}
}