NICEPAY API
...
API NICEPAY Inquiry Convenienc...
Inquiry - API NICEPAY Inquiry Convenience Store SNAP
8 min
tentang inquiry api nicepay inquiry convenience store snap bagian ini berisi tentang {{informasi}} terkait {{api}} dengan standar {{snap}} {{yang}} digunakan pada {{metodebayar}} {{cvs}} dengan fitur {{nicepay}} inquiry {{cvs}} (nico) agar dapat memeriksa {{status}} {{transaksi}} inquiry api nicepay inquiry convenience store snap {{silakan}} mengajukan akses token terlebih dahulu untuk melakukan autentikasi melalui {{bagian}} docid\ bo7josdlhhb tmde6tgs api endpoint https //\[merchant domain]/api/v 1 0/cvs/inquiry method post description untuk melakukan pemeriksaan {{status}} {{transaksi}} nico content type application/json pada saat melakukan {{proses}} {{integrasi}} , {{nicepay}} akan mengirimkan public key kepada {{merchant}} kemudian, {{merchant}} wajib memberi {{informasi}} terkait endpoint {{api}} inquiry cvs dan mengirimkan client id & client secret sesuai dengan spesifikasi {{nicepay}} kepada tim {{nicepay}} hal tersebut perlu dilakukan agar {{nicepay}} dapat mengajukan akses token dan melakukan inquiry data {{pelanggan}} {{yang}} berada di sisi {{merchant}} sehingga, {{proses}} {{pembayaran}} dapat dijalankan dengan lancar oleh {{pelanggan}} {{anda}} request inquiry transaction header parameter parameter tipe kebutuhan deskripsi contoh 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 inquiry transaction body parameter parameter tipe ukuran kebutuhan deskripsi partnerserviceid string 4 mandatory prefix customerno string 8 mandatory {{customer}} number payno string 12 mandatory payno number inquiryrequestid string 40 mandatory unique identifier from {{nicepay}} mitracd string 4 mandatory docid\ tm257gq3dxgzf98uz0l33 response inquiry transaction body parameter parameter tipe ukuran kebutuhan deskripsi 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 inquiryrequestid string 40 mandatory unique identifier from {{nicepay}} totalamount object mandatory total amount value number 12 mandatory value currency string 3 mandatory currency partnerreferenceno string 40 mandatory {{merchant}} reference number mitracd string 4 mandatory docid\ tm257gq3dxgzf98uz0l33 paynoexpireddatetime string 25 mandatory payno expired date time sample parameter json request { "partnerserviceid" "7015", "customerno" "89101110", "payno" "701589101110", "inquiryrequestid" "41807553358950093184", "mitracd" "alma" } json response { "responsecode" "2000000", "responsemessage" "successful", "paynodata" { "partnerserviceid" "7015", "customerno" "89101110", "payno" "701589101110", "paynoname" "john test", "goodsname" "pembelian john test", "paynophone" "087771122333", "paynoemail" "jhon\@test com", "inquiryrequestid" "41807553358950093184", "totalamount" { "value" "10000 00", "currency" "idr" }, "partnerreferenceno" "abcdefgh1234", "mitracd" "alma", "paynoexpireddatetime" "2024 07 03t12 08 56+07 00" } }