Help Center
This help will guide you through the setup and usage of our point of sale cash register software.
Search by keyword in the help section:
List of accounts
It is possible to programmatically list the accounts linked to an email address by providing an email address and, optionally, the account name.
This endpoint allows you to obtain your account identifier, in order to request a one-time password (OTP) which will allow you to obtain your API key.
1) List of accounts
1.1 POST /workers/listShops.php
POST parameters
| Name | Necessary | Description |
|---|---|---|
email | Yes | Account email address |
accountTitle | No | Account title (name of the institution) |
Expected JSON response (success)
[{ "accountTitle": "My Shop", "getOPTForAccount": "https://kash.click/workers/getOTPForAccount.php?accountID=123&code=a25d5e4", "accountID": "[account ID 1]"},{ "accountTitle": "My other Shop", "getOPTForAccount": "https://kash.click/workers/getOTPForAccount.php?accountID=456&code=e5c6548", "accountID": "[account ID 2]"}] JavaScript example (fetch)
const email = "mon.email@example.com";fetch("https://kash.click/workers/listShops.php", { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded" }, body: new URLSearchParams({ email })}) .then(r => r.json()) .then(data => { if (data) { console.log("Accounts:", data); } else { console.error("Auth error", data); } });
This document is made available under the terms of the licence Creative Commons Attribution 4.0 International (CC BY 4.0) .