NICEPAY API
...
Payment API - SNAP
API QRIS SNAP
Check Status Transaction - API QRIS SNAP
7min
about check status transaction api qris snap this api with snap standards uses to check the payment transaction status on the qris payment method check status transaction api qris snap please request the access token firsthand before executing the check status transaction api through the request access token api snap docid 92feymrqs iebhxrfgxuq section service code 47 api endpoint /nicepay/api/v1 0/qr/qr mpm query http method post description check status transaction api content type application/json request check status header parameter parameter type mandatory description example content type string (127) mandatory type of the content application/json x timestamp string (25) mandatory using iso 8601 as timestamp format transaction date time, in format yyyymmddthh\ mm\ ss+07 00 time must be in gmt+7 (jakarta time) 2022 03 21t10 11 40+07 00 authorization string (variable) mandatory "bearer" + { access token } x signature string (variable) mandatory signature will be generated by merchant snap api testing x partner id string (20) mandatory nicepay client id ( mid ) ionpaytest x external id string (40) mandatory unique messaging reference id generated by merchant numeric string reference number that should be unique in every transaction in one day channel id string (5) mandatory unique channel merchant credential id number client id + "01" = channel id "ionpaytest" + "01" = "ionpaytest01" ionpaytest01 request check status body parameter parameter parameter type mandatory nicepay parameter description or example example originalreferenceno string (40) mandatory txid nicepay transaction id or identifier ionpaytest08202106091121206416 originalpartnerreferenceno string (40) mandatory referenceno unique transaction id from merchant ncpy20221017161458 merchantid string (10) mandatory imid nicepay merchant id ionpaytest externalstoreid string (32) mandatory storecd merchant id from acquirer pay side nicepay servicecode string (2) mandatory transaction type indicator (service code of the original transaction request) 47 additionalinfo object mandatory {} response check status parameter parameter parameter type mandatory nicepay parameter description exam ple responsecode string (7) mandatory responsecd error code to specify the error returned general response code and message api snap docid\ bjr4kjamzcknln 5zrnvw 2005100 responsemessage string (150) mandatory responsemsg debug message to provide more information successful originalreferenceno string (40) mandatory txid nicepay transaction id or identifier ionpaytest08202106091121206416 originalpartnerreferenceno string (40) mandatory referenceno unique transaction id from merchant ncpy20221017161458 servicecode string (2) mandatory transaction type indicator (service code of the original transaction request) 51 latesttransactionstatus string (2) mandatory status transaction status api snap docid\ nvclmbygxr5uc 5qmyu7 00 paidtime string (25) mandatory transdt , transtm transaction date using iso 8601 format yyyy mm ddthh\ mm\ ss 2022 07 20t07 15 00+07 00 amount object mandatory "amount" { } value string (12) mandatory amt transaction amount note amount format, currently only supported idr (indonesian currency rupiah) then value includes 2 decimal digits which are seperated by a dot ( ) 10000 00 currency string (3) mandatory currency default value idr idr additionalinfo object mandatory "additionalinfo" { } merchantid string (10) mandatory imid nicepay merchant id ionpaytest paymenttrxsn string (32) mandatory paymenttrxsn payment transaction number from acquirer side 07202210051341224326 canceltrxsn string (32) conditional canceltrxsn cancel transaction number from acquirer side if payment has been cancelled 07202210051341224326 cancelamt string (12) conditional transaction amount note amount format, currently only supported idr (indonesian currency rupiah) then value includes 2 decimal digits which are seperated by a dot ( ) 10000 00 requesttime string (25) mandatory reqdt , reqtm transaction date using iso 8601 format yyyy mm ddthh\ mm\ ss 2022 07 20t07 15 00+07 00 goodsnm string (200) mandatory goods name merchant goods 1 billingnm string (100) mandatory buyer name buyer name userid string (128) mandatory userid qris user id 213nauasiqbih341bdjashf1204gkjbcasc externalstoreid string (32) mandatory storecd merchant id from acquirer pay side nicepay sample parameter sample request //header section content type application/json authorization bearer eyj0exaioijkv1qilcjhbgcioijiuzi1nij9 eyjzdwiioijutkldrvfsmdgxiiwiaxnzijoitkldrvbbwsisim5hbwuioijosunfuefziiwizxhwijoimjaync0wnc0xofqwntowmzo1nloifq== in mypmwhwgxrywntbz7rdgg6 uqjzslfux9ayn37ek= x timestamp 2024 04 18t09 00 40+07 00 x signature xvvjtqccts7cfxp4fe8aqtqitg0ostthfxe4rftireuu9cnvthkh7elbtidmueha2y0plync7+goqsqwyf1wha== x partner id \ tniceqr081 x external id 11044820240418 channel id tniceqr08101 { "originalreferenceno" "tniceqr08108202404181012168473", "originalpartnerreferenceno" "ordno2022120215134035", "merchantid" "tniceqr081", "externalstoreid" "nicepaystoreid1", "servicecode" "47", "additionalinfo" {} } sample response { "responsecode" "2005100", "responsemessage" "successful", "originalreferenceno" "tniceqr08108202404181012168473", "originalpartnerreferenceno" "ordno2022120215134035", "servicecode" "47", "latesttransactionstatus" "00", "paidtime" "2024 04 18t10 14 07+07 00", "amount" { "value" "100 00", "currency" "idr" }, "additionalinfo" { "goodsnm" "test snap transaction nicepay", "billingnm" "john doe", "merchantid" "tniceqr081", "paymenttrxsn" "101378968850945616", "canceltrxsn" "", "userid" "101378968850945616", "externalstoreid" "nicepaystoreid1", "requesttime" "2024 04 18t10 12 16+07 00" } }