Get started with app-to-app
Prerequisites
Before you integrate, confirm you have:
- Sunmi terminal for UAT testing, or any Android phone/tablet for mock-only development
- UAT account and login PIN from Peach Payments (required for UAT terminal testing only)
Contact support to request a UAT account and PIN.
Two starting paths
| Path | Device | UAT account | Best for |
|---|---|---|---|
| A - Mock app | Any Android phone or tablet | Not required | Building Intent integration before hardware arrives |
| B - UAT terminal | Sunmi with UAT Payment App | Required | End-to-end testing on production-like hardware |
Path A - Mock Payments App (no payment terminal needed)
- Download the Mock Payments App APK from Test your integration.
- Install the Mock APK and your POS app on the same device.
- Add
com.peach:intent_apito your project - see App-to-app integration. - Run sale, refund, void, and lookup flows against the mock host.
No UAT account or Maven access token is required for mock-only development.
Path B - UAT terminal
- Request a UAT account and PIN from support.
- Download and install the UAT Payment App APK from Test your integration.
- Add
com.peach:intent_apito your project - see App-to-app integration. - Install your POS app on the same Sunmi device.
- Log in to the UAT Payment App with your PIN.
- Run the test matrix on Test your integration.
Library
Add the Intent API library from the public GitLab Maven repository - no access token required:
repositories {
maven {
url 'https://gitlab.com/api/v4/projects/61399867/packages/maven'
}
}
dependencies {
implementation 'com.peach:intent_api:2.0.8'
}Pin the version Peach Payments confirms for your integration. See App-to-app integration for full installation steps.
Roles - integrator vs Peach Payments
| Responsibility | Who |
|---|---|
| POS app development and Sunmi APK upload | Integrator |
| Payment App on terminals | Peach Payments |
| UAT account, terminal allocation, integrated mode | Peach Payments (via support) |
| Sunmi channel binding so terminals can install your app | Peach Payments coordinates with your Sunmi partner account |
| Optional point of sale webhooks | You provide URL and Peach Payments configures endpoint |
Ask Peach Payments to enable integrated mode on dedicated POS deployments. Integrated mode disables stand-alone numpad payments on the terminal.
Next steps
- App-to-app integration: install the library and quick starts.
- Terminal integration flows: sale, refund, void, and recovery.
- Test your integration: mock app and UAT test matrix.