Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1.  
  2. ----------------------------
  3. ENDPOINT
  4. http://apinextkw.wirekomtest.tk/api/business-2
  5.  
  6. REQUEST HEADER
  7. header={Content-Language=[en-US], Content-Length=[239], Content-Type=[application/x-www-form-urlencoded]}
  8.  
  9.  
  10. ----------------------------
  11. 1.1 LOGIN REQUEST
  12. body={"user": "riochr17@gmail.com", "cashierUser":"default", "cashierPassword":"123asd", "request":"CASHIERLOGIN", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
  13.  
  14. 1.2 LOGIN REQUEST
  15. {"response":"NXSUCCESS","data":{"id":"1389","0":"1389","reg_date":"2017-09-15 12:02:38","1":"2017-09-15 12:02:38","name":"default","2":"default","display_name":"Hahah","3":"Hahah","last_login":null,"4":null,"business_name":"Hahah","5":"Hahah"}}
  16.  
  17.  
  18. ----------------------------
  19. 2.1 MAX ALLOWED BILL AMOUNT REQUEST
  20. body={"user": "riochr17@gmail.com", "cashier":"default", "cashierPassword":"123asd", "request":"maximumAllowedBillAmount", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
  21.  
  22. 2.2 MAX ALLOWED BILL AMOUNT RESPONSE
  23. {"response":"NXSUCCESS","request":"maximumAllowedBillAmount","data":{"maxAmount":"9000","minAmount":"0.100"}}
  24.  
  25.  
  26. ----------------------------
  27. 3.1 GET NEW TOKEN REQUEST
  28. body={"user": "riochr17@gmail.com", "cashier":"default", "cashierPassword":"123asd", "amount":"2,550", "latitude":"0", "longitude":"0", "details":"najsj", "request":"GETNEWTOKEN", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
  29.  
  30. 3.2 GET NEW TOKEN RESPONSE
  31. {"response":"NXERROR","request":"GETNEWTOKEN"}
  32.  
  33.  
  34. ----------------------------
  35. 4.1 RECENT TRANSACTION REQUEST
  36. body={"user": "riochr17@gmail.com", "cashier":"default", "cashierPassword":"123asd", "request":"recentCashierTransactions", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
  37.  
  38. 4.2 RECENT TRANSACTION RESPONSE
  39. {"response":"NXERROR","request":"recentCashierTransactions"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement