SMS Inquiry
9 min
about sms inquiry the uses this to check transmission using inquirymms (only successful transmission ) specification for inquiry sms api url /nicepay/direct/v2/sms check status request method \<font color="#3b9f0f">post\</font> , \<font color="#3b9f0f">json\</font> merchant token sha256 ( timestamp + imid + txid + merchantkey ) request parameter for inquiry sms parameter type size description example / notes timestamp \<font color="#2166ae">required\</font> n 14 request date 20221219110059 txid \<font color="#2166ae">required\</font> an 30 transaction id ionpaytest10202212191102221919 imid \<font color="#2166ae">required\</font> an 10 id ionpaytest msgrefno \<font color="#2166ae">required\</font> ans 40 order number msg 20221219110053 merchanttoken \<font color="#2166ae">required\</font> an 255 token e14233565538732e4273338e8b9ac36618028ffce810747913cd5e39b3fee4f9 response parameter for inquiry sms response objects can be added without prior parameter type size description example / notes resultcd n 4 response code docid\ izmchc6jmzb25kdg4zzmk 0000 resultmsg an 255 response message error code docid 4 fpewlvczfhcvygxwck9 success txid an 30 transaction id (key from ) ionpaytest10202212191102221919 when success transdt n 8 transmission date 20221219 transtm n 6 transmission time 110222 msgrefno ans 40 order number (key from ) msg 20221219110059 recipientno n 16 receiver phone number 081294529025 or 6281294529025 when success msgstatus n 2 transmission status code docid\ conk uxb2z6nn8ffruztw 00 sample json java request requestmap put("timestamp", "20221219110059"); requestmap put("txid", "ionpaytest10202212191102221919"); requestmap put("imid", "ionpaytest"); requestmap put("msgrefno", "msg 20221219110053"); requestmap put("merchanttoken", "e14233565538732e4273338e8b9ac36618028ffce810747913cd5e39b3fee4f9"); json request { 	"timestamp" "20221219110059", 	"msgrefno" "msg 20221219110059", 	"imid" "ionpaytest", 	"txid" "ionpaytest10202212191102221919", 	"merchanttoken" "e14233565538732e4273338e8b9ac36618028ffce810747913cd5e39b3fee4f9" } json response { "resultcd" "0000", "resultmsg" "success", "txid" "ionpaytest10202212191102221919", "transdt" "20221219", "transtm" "110222", "msgrefno" "msg 20221219110059", "recipientno" "081294529025", "msgstatus" "00" } see also sms transmit docid\ z0wcvvtj6jzfmmxa1wffl to know detail used to sending message notification sms docid\ l8bsszk8vkuohfc6oxlv to learn detail used to send