SDK Tokens
Generate and manage SoftPOS and mobile SDK tokens from the dashboard.
SDK tokens authenticate DigetPay SoftPOS and mobile SDK applications. Manage them from the dashboard or Portal API.
SDK tokens are separate from payment
x-api-keyvalues. Use Portal Bearer auth for token API endpoints.
Use cases
| Product | Guide |
|---|---|
| SoftPOS | SoftPOS Overview |
| SmartPOS | SmartPOS Overview |
| Mobile SDK | SDK Overview |
Dashboard flow
- Settings → SDK Tokens (label may appear as Terminals on some accounts)
- Generate token — assign
userId, label, terminal ID if applicable - Copy
tokenPlainonce and provision to device over secure channel - Deactivate lost or compromised tokens immediately
Generate token (Portal API)
sequenceDiagram
autonumber
participant Admin as Merchant Portal
participant DigetPay as DigetPay Portal API
participant Device as SoftPOS App
Admin->>DigetPay: POST /merchant/account/sdk-tokens
DigetPay-->>Admin: tokenPlain (once), tokenMasked, active
Admin->>Device: Secure provisioning
{
"userId": "terminal-user-001",
"label": "Store Terminal 1"
}Critical:
tokenPlainis shown once. Provision immediately to the device.
Deactivate token
{
"active": false
}PUT /merchant/account/sdk-tokens/USERID
Lost device: Deactivate before issuing a replacement token.
Portal API endpoints
| Action | Method | Path |
|---|---|---|
| Generate / rotate | POST | /merchant/account/sdk-tokens |
| Update status | PUT | /merchant/account/sdk-tokens/USERID |
| List tokens | GET | /merchant/account/sdk-tokens |
Security
- One token per terminal or app instance where possible
- Never commit tokens to Git or share in chat
- Rotate on staff change or device loss
Related
Updated about 1 month ago
Did this page help you?
