post
https://fin-api.digetpay.com/v1/merchant/account/sdk-tokens
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Generate an SDK token for SoftPOS or mobile SDK integrations.
Flow
sequenceDiagram
autonumber
participant A as Portal Admin
participant D as DigetPay Portal API
participant T as Terminal / SDK
A->>D: POST /merchant/account/sdk-tokens
D-->>A: tokenPlain (one-time)
A->>T: Secure provisioning
T->>D: Authenticated SDK calls
Responses
{
"success": {
"status": 201,
"body": {
"userId": "terminal-user-001",
"tokenPlain": "SDK_TOKEN_SHOWN_ONCE",
"label": "Store Terminal 1",
"active": true
}
}
}{
"failed": {
"status": 400,
"body": {
"statusCode": 400,
"message": "userId is required",
"error": "Bad Request"
}
}
}{
"failed_unauthorized": {
"status": 401,
"body": {
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}
}
}