NICEPAY API
...
API NICEPAY Inquiry Convenienc...
Payment - API NICEPAY Inquiry Convenience Store SNAP
7 min
about payment api nicepay inquiry convenience store snap this {{api}} with {{snap}} standard contains {{information}} used on {{the}} {{cvs}} {{paymethod}} with {{the}} {{nicepay}} inquiry {{cvs}} (nico ) feature, which allows {{merchant}} s to store {{customer}} 's data and generate their own {{va}} numbers within their {{system}} , provided they adhere to {{nicepay}} ’s {{va}} creation guidelines payment api nicepay inquiry convenience store snap please request {{the}} access token firsthand before doing {{the}} authentication through the docid tojmsjfropbm5rod4lcu section api endpoint https //\[merchant domain]/api/v 1 0/cvs/payment method post description to {{proceed}} {{the}} nico {{transaction}} {{status}} content type application/json when {{proceed}} ing with {{the}} integration {{process}} , {{nicepay}} will send a public key to {{the}} {{merchant}} the {{merchant}} must then provide {{the}} api cvs inquiry endpoint details and submit {{the}} client id & client secret in accordance with {{nicepay}} ’s specifications this step is necessary so that {{nicepay}} can request an access token and {{proceed}} with {{the}} {{customer}} data inquiry on {{the}} {{merchant}} ’s side as a result, {{customer}} s can complete {{the}} {{payment}} {{process}} seamlessly request payment transaction header parameter parameter type required description example content type string mandatory string media type of {{the}} resource application/json authorization string mandatory access token transaction bearer "accesstoken" x timestamp string mandatory {{nicepay}} timezone yyyy mm ddthh\ mm\ ss (2024 01 22t15 00 01+07 00) x partner id string mandatory {{merchant}} id ionpaytest x signature string mandatory {{nicepay}} signature generated by {{partner}} / {{merchant}} created using asymmetric signature sha256withrsa algorithm ( private key , stringtosign ) stringtosign = client id + “ | ” + x timestamp x external id string mandatory reference number that should be unique in every {{transaction}} 11245542345212 channel id string mandatory device identification on which {{the}} {{api}} {{service}} s ionpaytest request payment transaction body parameter parameter type length required description partnerserviceid string 4 mandatory prefix customerno string 8 mandatory {{customer}} number payno string 12 mandatory payno number paynoname string 100 mandatory payno name goodsname string 200 mandatory goods name paynophone string 15 mandatory payno phone paynoemail string 100 mandatory payno email partnerreferenceno string 40 mandatory {{merchant}} reference number paymentrequestid string 30 mandatory unique identifier from {{nicepay}} paidamount string mandatory paid amount value string 12 mandatory transaction amount currency string 3 mandatory currency transactiondatetime string 25 mandatory transaction date time mitracd string 4 mandatory docid\ tm257gq3dxgzf98uz0l33 response payment transaction body parameter parameter type length required description responsecode string 5 mandatory response code responsemessage string 100 mandatory response message paynodata object mandatory payno data partnerserviceid string 4 mandatory prefix customerno string 8 mandatory {{customer}} number payno string 12 mandatory payno number paynoname string 100 mandatory payno name goodsname string 200 mandatory goods name paynophone number 15 mandatory payno phone paynoemail string 100 mandatory payno email partnerreferenceno string 40 mandatory {{merchant}} reference number paymentrequestid string 30 mandatory unique identifier from {{nicepay}} paidamount object mandatory paid amount value string 12 mandatory transaction amount currency string 3 mandatory currency transactiondatetime string 25 mandatory transaction date time mitracd string 4 mandatory docid\ tm257gq3dxgzf98uz0l33 sample parameter json request { "partnerserviceid" "7015", "customerno" "89101110", "payno" "701589101110", "paynoname" "john test", "goodsname" "pembelian john test", "paynophone" "087771122333", "paynoemail" "jhon\@test com", "partnerreferenceno" "abcdefgh1234", "paymentrequestid" "ionpaytest03202212021529034686", "paidamount" { "value" "10000 00", "currency" "idr" }, "transactiondatetime" "2014 07 03t12 08 56+07 00", "mitracd" "alma" } json response { "responsecode" "2000000", "responsemessage" "successful", "paynodata" { "partnerserviceid" "7015", "customerno" "89101110", "payno" "701589101110", "paynoname" "john test", "paynophone" "087771122333", "paynoemail" "jhon\@test com", "partnerreferenceno" "abcdefgh1234", "paymentrequestid" "ionpaytest03202212021529034686", "paidamount" { "value" "100000 00", "currency" "idr" }, "transactiondatetime" "2019 07 03t12 08 56+07 00", "mitracd" "alma" } }