NICEPAY API
...
API NICEPAY Inquiry Convenienc...
Request Access Token - API NICEPAY Inquiry Convenience Store SNAP
8 min
tentang request access token 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 mengajukan token untuk melakukan {{proses}} {{transaksi}} request access token api nicepay inquiry convenience store snap sebelum melakukan proses integrasi, merchant perlu mengirimkan base url (merchant domain) via email kepada tim integrasi nicepay ( mailto\ integration\@nicepay co id ) agar merchant dapat mengakses api nico setelah menerima url base, nicepay akan memberikan public key kepada merchant, sehingga merchant dapat langsung memulai proses integrasi get access token {{nicepay}} akan mengajukan generate access token kepada {{merchant}} melalui {{api}} access token {{yang}} diberikan akan mengikuti format dari {{merchant}} dan memiliki waktu kedaluwarsa 15 menit api endpoint https //\[merchant domain]/api/v 1 0/access token/b2b method post description untuk melakukan request access token {{transaksi}} nico content type application/json request access token header parameter parameter tipe kebutuhan deskripsi contoh content type string mandatory string media type of {{the}} resource application/json x timestamp string mandatory {{nicepay}} timezone yyyy mm ddthh\ mm\ ss (2024 01 22t15 00 01+07 00) x client key 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 request access token body parameter parameter tipe ukuran kebutuhan deskripsi granttype string 8 mandatory {{customer}} name additionalinfo string 17 mandatory goods/item name request access token response parameter parameter tipe ukuran kebutuhan deskripsi responsecode string 5 mandatory response code responsemessage string 100 mandatory response message accesstoken string 150 mandatory access token tokentype string 8 mandatory type token expiresin string 17 mandatory session expiry in second additionalinfo string 17 mandatory additional information sample parameter json request { "granttype" "client credentials", "additionalinfo" {} } json response { "responsecode" "2007300", "responsemessage" "successful", "accesstoken" "xy8duzzavv9bwdxxrxcb89tsuvk4mf4kx4lgfe4acrvxr7xderhbe1", "tokentype" "bearer", "expiresin" "900", "additionalinfo" {} }