In-person payments
Integrate Kashier POS terminals with your own applications
Drive Kashier POS terminals from your own software. There are two integration paths — pick the one that matches where your code runs.
App-to-app integration
Use app-to-app when your own Android app runs on the Kashier terminal itself. Your app launches the Kashier payment app through an Android SDK (the KashierIntegration .aar library) and receives the result in a callback. The SDK exposes startSale() to take a payment — with control over currency (EGP, USD, GBP, EUR), payment method (card, wallet, installment, valu), and receipt printing — and startDetails() to fetch a transaction's details.
Before you can use it, you must:
- Provide your server IP addresses so Kashier can whitelist them with the network provider.
- Provide your APK so Kashier can sign it to run on the terminals.
- Add the
.aarfile to your Android project and sync the dependency.
POS API integration
Use the POS API when the terminal runs the standard Kashier payment app and you trigger payments from your backend. You POST a sale or details request to an endpoint addressed by the terminal's serial number, authorized with the secret key from your Kashier dashboard. Pass a webhook URL in the sale request to receive the result. The API answers on both the test and live hosts.
Both paths support sale and transaction-details operations.