NICEPAY API
...
Account Binding - Payloan API ...
Deactivate - Account Binding Payloan API
11 min
about deactivate account binding payloan api this {{api}} uses by {{the}} {{merchant}} to inactivate user token through {{nicepay}} then, {{nicepay}} will forward {{the}} user token inactivation {{process}} to {{the}} {{partner}} 's {{system}} deactivate (account binding {{api}} {{payloan}} ) can currently only be used in {{the}} {{payloan}} {{process}} specific for kredivo {{partner}} deactivate user token account binding payloan api api endpoint /nicepay/direct/v2/remove token request method post post merchant token sha256 ( timestamptrx + imid + usertoken + merchantkey ) request format application/json request parameter for deactivate user token account binding payloan api parameter type length required description example / notes timestamp n 14 mandatory {{api}} request timestamp 20210913100917 usertoken an 50 mandatory {{partner}} user token e0478456 6b50 460c 85e0 627a1e22d2e0 merchanttoken an 255 mandatory {{merchant}} token 1d5b53fb0fe98f32088efd04fabc93cabb0ea3e75f1f2ef75aaa0917d565abf0 imid an 10 mandatory {{merchant}} id payloantes response parameter for deactivate user token account binding payloan api parameter type length description example / notes resultcd n 4 result code 0000 resultmsg an 255 result message success usertoken an 50 {{partner}} user token e0478456 6b50 460c 85e0 627a1e22d2e0 tokenstatus n 1 {{partner}} user token status 0 inactive description an 100 account status 12345678deactivated by merchant sample parameter for deactivate user token account binding payloan api response parameter { "resultcd" "0000", "resultmsg" "success", "billingnm" "non prod", "billingphone" "+62 821 3300", "accountstatus" "1", "accounttype" "2", "limitdetails" \[ { "paymenttype" "12 months", "remaininguserlimit" "29949710 00", "totaluserlimit" "30000000 00" }, { "paymenttype" "30 days", "remaininguserlimit" "3449710 00", "totaluserlimit" "3500000 00" }, { "paymenttype" "3 months", "remaininguserlimit" "9649130 00", "totaluserlimit" "9800000 00" }, { "paymenttype" "6 months", "remaininguserlimit" "18338977 60", "totaluserlimit" "18600000 00" } ] } response parameter { "resultcd" "9920", "resultmsg" "error get user details invalid user token" } deactivate from app notification account binding payloan api api endpoint {{merchant}} endpoint example https //merchant com/deactivatetokennotif request method post post description user may deactivate their tokenized account from {{the}} {{partner}} app push {{notification}} will be sent to inform respective {{merchant}} to invalidate user token please contact your nicepay pic to register your push notification endpoint url merchant token sha256 ( imid + usertoken + clientuserkey + merkey ) request format application/json notification parameter for deactivate from app notification account binding payloan api parameter type length description example / notes clientuserkey an 100 user key, must be unique for each {{customer}} 23124532 usertoken an 50 {{partner}} user token e0478456 6b50 460c 85e0 627a1e22d2e0 merchanttoken an 255 {{merchant}} token 1d5b53fb0fe98f32088efd04fabc93cabb0ea3e75f1f2ef75aaa0917d565abf0 imid an 10 {{merchant}} id payloantes message an 50 message token invalidated sample notification for deactivate from app notification account binding payloan api sample notification { "clientuserkey" "23124532", "usertoken" "e0478456 6b50 460c 85e0 627a1e22d2e0", "merchanttoken" "6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd", "imid" "ionpaytest", "message" "token is deactived" }