Registration & Notification - Account Binding Payloan API
13 min
about registration & notification account binding api payloan this uses by to links a user's account to ease before checking user account detail also swifting the account binding currently only used in specific for kredivo registration and notification account binding payloan api process flow registration & notification account binding api payloan flow description the registers a phone number to the requests an account binding to requests an account binding to the performs validation the sends a response to returns redirects url to the the redirects to 's the do logins through login page the sends a credential to the performs login validation the returns an otp to the inputs the otp to the generates a user token the directs to / during account binding request on 's the / will be shown to the waiting for approval from notification sends a to receives sends a to the receives the displays account binding result to registration account binding payloan api api endpoint /nicepay/v2/useraccountbinding request method \<font color="#3b9f0f">post\</font> merchant token sha256 ( imid + referenceno + billingphone + merchantkey ) request format application/json request parameter for registration account binding payloan api parameter type length description example / notes merchanttoken \<font color="#2166ae">required\</font> an 255 token 6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd imid \<font color="#2166ae">required\</font> an 10 id ionpaytest timestamp \<font color="#2166ae">required\</font> n 14 request timestamp 20190318151435 referenceno \<font color="#2166ae">required\</font> ans 40 reference number merchantreferencenumber001 paymethod \<font color="#2166ae">required\</font> n 2 method 06 06 mitracd \<font color="#2166ae">required\</font> a 4 code kdvi kredivo kdvi billingnm \<font color="#2166ae">required\</font> a 100 user name jhon doe billingphone \<font color="#2166ae">required\</font> n 15 kredivo user phone +62 82112345678 format +62 user phone number billingemail ans 40 user email buyer\@merchant com mailto\ buyer\@merchant com dbprocessurl \<font color="#2166ae">required\</font> ans 255 path url to send user token http //www merchant com/notif/userhandling http //www merchant com/notif/userhandling callbackurl \<font color="#2166ae">required\</font> ans 255 result forward url after finish tokenize http //www merchant com/callback http //www merchant com/callback clientuserkey \<font color="#2166ae">required\</font> an 50 user key 23124532 response parameter for registration account binding payloan api parameter type length description example / notes resultcd n 4 result code docid\ lkqjxsl5cmkdxyxxhyyss 0000 resultmsg an 255 result message success txid an 30 transaction id ionpaytest06201607291027025291 referenceno ans 40 reference number merchantreferencenumber001 paymethod n 2 method 06 06 transdt n 8 transaction date 20160303 transtm n 6 transaction time 135959 mitracd a 4 mitra code docid\ tm257gq3dxgzf98uz0l33 kdvi kredivo kdvi redirecturlhttp ans 255 url to open kredivo linking https //pay kredivo com/kredivo/v2/connecting?tk=xxxxxx https //pay kredivo com/kredivo/v2/connecting?tk=xxxxxx sample parameter for registration account binding payloan api request parameter { "merchanttoken" "6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd", "imid" "ionpaytest", "timestamp" "20190318151435", "referenceno" "merchantreferencenumber001", "paymethod" "06", "mitracd" "kdvi", "billingnm" "jhon doe", "billingphone" "+62 82112345678", "billingemail" "buyer\@merchant com", "dbprocessurl" "http //www merchant com/notif/userhandling", "callbackurl" "http //www merchant com/callback", "clientuserkey" "23124532" } response parameter { "resultcd" "0000", "resultmsg" "success", "txid" "ionpaytest06201607291027025291" "referenceno" "merchantreferencenumber001", "paymethod" "06", "transdt" "20160303", "transtm" "135959", "mitracd" "kdvi", "redirecturlhttp" "https //pay kredivo com/kredivo/v2/connecting?tk=xxxxxx" } notification account binding payloan api sends a push through 's dbprocessurl the needs to reassure there is no blacklist ip and should whitelist ip to get push only from server api endpoint dbprocessurl request method \<font color="#3b9f0f">post\</font> request format application/json merchant token sha256 ( imid + referenceno + billingphone + merchantkey ) request parameter for notification account binding payloan api parameter type length description example / notes merchanttoken \<font color="#2166ae">required\</font> an 255 token 6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd imid \<font color="#2166ae">required\</font> an 10 id ionpaytest txid an 30 transaction id ionpaytest06201607291027025291 referenceno \<font color="#2166ae">required\</font> ans 40 reference number merchantreferencenumber001 mitracd \<font color="#2166ae">required\</font> a 4 mitra code docid\ tm257gq3dxgzf98uz0l33 kdvi kredivo kdvi billingnm \<font color="#2166ae">required\</font> a 100 user name jhon doe billingphone \<font color="#2166ae">required\</font> n 15 kredivo user phone +62 82112345678 clientuserkey \<font color="#2166ae">required\</font> an 50 user key 735b7080 e08f 4ed4 927f f77d44a7 usertoken \<font color="#2166ae">required\</font> an 100 user token 23124532 sample parameter for notification account binding payloan api sample notification { "merchanttoken" "6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd", "imid" "ionpaytest", "txid" "ionpaytest06201607291027025291", "referenceno" "merchantreferencenumber001", "mitracd" "kdvi", "billingnm" "jhon doe", "billingphone" "+62 82112345678", "billingemail" "buyer\@merchant com", "usertoken" "735b7080 e08f 4ed4 927f f77d44a7" "clientuserkey" "23124532" }