NICEPAY API
...
API NICEPAY Inquiry Virtual Ac...
Request Access Token - API NICEPAY Inquiry Virtual Account SNAP
8 min
about request access token api nicepay inquiry virtual account snap this api with snap standards contains information uses on the virtual account payment method with the nicepay inquiry virtual account (niva) feature for requesting a token to process the transaction request access token api nicepay inquiry virtual account snap before proceeding {{the}} {{integration}} {{process}} , {{merchant}} needs to send {{the}} base url ( {{merchant}} domain) to {{nicepay}} 's integration team through email ( integration\@nicepay co id ) so that {{merchant}} can access {{the}} niva {{api}} after receiving {{the}} base url, {{nicepay}} will provides {{the}} {{merchant}} with a public key, so the {{merchant}} can immediately {{proceed}} with {{the}} {{integration}} {{process}} get access token {{nicepay}} will generate an access token for {{the}} {{merchant}} through {{the}} {{api}} the provided access token will follow {{the}} {{merchant}} 's format and expires after 15 minutes api endpoint https //\[merchant domain]/api/v 1 0/access token/b2b method post description to request access token for niva {{transaction}} content type application/json request access token header parameter true false 137false unhandled content type left false unhandled content type left false unhandled content type false unhandled content type false unhandled content type false unhandled content type left false unhandled content type left false unhandled content type false unhandled content type false unhandled content type false unhandled content type left false unhandled content type left false unhandled content type false unhandled content type false unhandled content type false unhandled content type left false unhandled content type left false unhandled content type false unhandled content type false unhandled content type false unhandled content type left false unhandled content type left false unhandled content type false unhandled content type false unhandled content type request access token body parameter 147,93,100,116,211,168 false true unhandled content type unhandled content type unhandled content type false unhandled content type false unhandled content type unhandled content type unhandled content type unhandled content type false unhandled content type false unhandled content type unhandled content type unhandled content type unhandled content type false unhandled content type false unhandled content type request access token response parameter 151,93,82,116,211,168 false true unhandled content type unhandled content type unhandled content type false unhandled content type false unhandled content type 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 false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type sample parameter json request { "granttype" "client credentials", "additionalinfo" {} } json response { "responsecode" "2007300", "responsemessage" "successful", "accesstoken" "xy8duzzavv9bwdxxrxcb89tsuvk4mf4kx4lgfe4acrvxr7xderhbe1", "tokentype" "bearer", "expiresin" "900", "additionalinfo" {} }