API Documentation
logout
logout is an user session termination request to the platform, meaning the user is logged out/off.
If a buyer is not logged out, the platform session management will do so on your behalf.
The code is a TOTP code making it compatible with google authenticator etc. In this scenario, your application is required to provide an input mechanism to the user
Check the atkerr parameter for success or failed to ascertain the outcome of the logout request
Endpoint: https://koroma.co.za/logout
Payload:
- serviceid - a valid service/application serviceid received at auth
- Ends a service session as follows:
https://koroma.co.za/logout
JSON Request { "serviceid": "a59b8e5dfd89cc751c6986d7faf9e0f94e82240177c7b288ba4661e14bce791f4f640befc9aaf9a65b9b80a88efebcf4dcab22fd7ca9e866a0fbccd999459b17", "logoffid": "e730009c83ddf8a3584f930c5359988b6954d45d24130f13f8633bc77807a521d29aa8230237d17df8fece50c0fa21ffa5a08614cf06b66c3280d99cb146febf" } JSON Response { "serviceid": "a59b8e5dfd89cc751c6986d7faf9e0f94e82240177c7b288ba4661e14bce791f4f640befc9aaf9a65b9b80a88efebcf4dcab22fd7ca9e866a0fbccd999459b17", "atkerr": "Success" }