Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------
- ENDPOINT
- http://apinextkw.wirekomtest.tk/api/business-2
- REQUEST HEADER
- header={Content-Language=[en-US], Content-Length=[239], Content-Type=[application/x-www-form-urlencoded]}
- ----------------------------
- 1.1 LOGIN REQUEST
- body={"user": "riochr17@gmail.com", "cashierUser":"default", "cashierPassword":"123asd", "request":"CASHIERLOGIN", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
- 1.2 LOGIN REQUEST
- {"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"}}
- ----------------------------
- 2.1 MAX ALLOWED BILL AMOUNT REQUEST
- body={"user": "riochr17@gmail.com", "cashier":"default", "cashierPassword":"123asd", "request":"maximumAllowedBillAmount", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
- 2.2 MAX ALLOWED BILL AMOUNT RESPONSE
- {"response":"NXSUCCESS","request":"maximumAllowedBillAmount","data":{"maxAmount":"9000","minAmount":"0.100"}}
- ----------------------------
- 3.1 GET NEW TOKEN REQUEST
- 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"}
- 3.2 GET NEW TOKEN RESPONSE
- {"response":"NXERROR","request":"GETNEWTOKEN"}
- ----------------------------
- 4.1 RECENT TRANSACTION REQUEST
- body={"user": "riochr17@gmail.com", "cashier":"default", "cashierPassword":"123asd", "request":"recentCashierTransactions", "appSecret":"6D1D56AE41442914430A0E2228CC08307827887FEFCA2043F4DECAC0EEC31551", "appUser":"nextandroid", "appVersion":"1.2"}
- 4.2 RECENT TRANSACTION RESPONSE
- {"response":"NXERROR","request":"recentCashierTransactions"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement