NICEPAY API
...
API Virtual Account SNAP
Notification - API Virtual Account SNAP
11 min
about notification api virtual account snap this with standards uses to send on x signature guidance validation the following is guidance to x signature validation on request header notify sha256withrsa (public key, stringtosign) stringtosign = client id + “|” + x timestamp information specific to notification regarding public key will be provided by team to via email, because public key credential used in notification is different from transaction (registration, inquiry & ) contact integration team through email ( mailto\ integration\@nicepay co id ) for further or assistance the following is example of x signature result from above guidance validation myyscwbs00bm0tjq/xy7uu1goh8qxjyyslo88rfrhq+mlyqkmtq nkmlzdps+ merchant notification api virtual account snap 338,338 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type request notification header parameter 169,169,169,169 true unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type unhandled content type request notification body parameter 205,120,88,144,144 true unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type center unhandled content type unhandled content type response notification header parameter 169,169,169,169 true unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type unhandled content type unhandled content type center unhandled content type center unhandled content type unhandled content type response notification body parameter 176,120,89,144,144 true unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type 1 1 unhandled content type sample parameter for notification api virtual account snap request parameter curl curl location 'https //www merchantbaseurl com/api/v1 0/transfer va/payment' \\ \ header 'content type application/json' \\ \ header 'x timestamp 2023 11 23t07 44 11+07 00' \\ \ header 'x signature 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5' \\ \ header 'x client key 82150823919040624621823174737537' \\ \ data '{ "partnerserviceid" "70151021", "customerno" "10000001", "virtualaccountno" "7015102110000001", "virtualaccountname" "john test", "trxid" "abcdefgh1234", "paymentrequestid" "008", "hashedsourceaccountno" "abcdefghijklmnopqrstuvwxyz123456", "sourcebankcode" "008", "paidamount" { "value" "10000 00", "currency" "idr" }, "trxdatetime" "20201231t235959z", "additionalinfo" { "bankcd" "bmri", "goodsnm" "test", "vacctvaliddt" "20221110", "vacctvalidtm" "161037" } }' response parameter sample response //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", "hashedsourceaccountno" "abcdefghijklmnopqrstuvwxyz123456", "sourcebankcode" "008", "paidamount" { "value" "10000 00", "currency" "idr" }, "trxdatetime" "20201231t235959z", "additionalinfo" { "bankcd" "bmri", "goodsnm" "test", "vacctvaliddt" "20221110", "vacctvalidtm" "161037" } } }