NICEPAY API
...
API Virtual Account SNAP
Notification - API Virtual Account SNAP
9 min
about notification api virtual account snap this api with the snap standards uses to send the payment transaction notification on the virtual account payment method x signature guidance validation the following is guidance to proceed x signature validation on request header notify sha256withrsa (public key, stringtosign) stringtosign = client id + “|” + x timestamp information specific to {{the}} {{snap}} notification {{api}} regarding {{the}} public key will be provided by {{the}} {{nicepay}} team to {{the}} {{merchant}} via email, because {{the}} public key credential used in {{the}} {{snap}} notification {{api}} is different from {{the}} {{snap}} transaction {{api}} (registration, inquiry & {{paymentproduct}} ) {{please}} contact {{the}} integration team through email ( integration\@nicepay co id ) for further {{information}} or assistance the following is the example of x signature result from the above guidance validation" myyscwbs00bm0tjq/xy7uu1goh8qxjyyslo88rfrhq+mlyqkmtq nkmlzdps+ merchant notification api virtual account snap 180,555,117 false false false unhandled content type false unhandled content type false unhandled content type false unhandled content type unhandled content type unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type request notification header parameter 132,121,118,120,144 false true false unhandled content type false center unhandled content type false center unhandled content type false unhandled content type false unhandled content type false center unhandled content type false center unhandled content type false unhandled content type false unhandled content type false center unhandled content type false center unhandled content type false unhandled content type false unhandled content type false center unhandled content type false center unhandled content type false unhandled content type false unhandled content type false center unhandled content type false center unhandled content type false unhandled content type request notification body parameter 176,120,88,144,144 false true false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type true center unhandled content type false center unhandled content type false unhandled content type response notification header parameter 149,102,70,120,144 false true false unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type false center unhandled content type false unhandled content type false unhandled content type true center unhandled content type false center unhandled content type false unhandled content type response notification body parameter 176,120,89,144,144 false true false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type false unhandled content type false unhandled content type false left unhandled content type false left unhandled content type false unhandled content type sample post for notification sample request notification //header section content type application/json x timestamp 2023 11 23t07 44 11+07 00 x signature 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5 x client key 82150823919040624621823174737537 { "partnerserviceid" "70151021", "customerno" "10000001", "virtualaccountno" "7015102110000001", "virtualaccountname" "john test", "trxid" "abcdefgh1234", "paymentrequestid" "2020102900000000000001", "paidamount" { "value" "10000 00", "currency" "idr" }, "trxdatetime" "20201231t235959z", "additionalinfo" { "bankcd" "bmri", "goodsnm" "test", "vacctvaliddt" "20221110", "vacctvalidtm" "161037" } } sample response notification //header section content type application/json x timestamp 2023 11 23t07 44 16+07 00 { "responsecode" "2002500", "responsemessage" "success", "virtualaccountdata" { "partnerserviceid" "70151021", "customerno" "10000001", "virtualaccountno" "7015102110000001", "virtualaccountname" "john test", "trxid" "abcdefgh1234", "paymentrequestid" "2020102900000000000001", "paidamount" { "value" "100000 00", "currency" "idr" }, "trxdatetime" "20201231t235959z" }, "additionalinfo" { "bankcd" "bmri", "goodsnm" "test" } }