Logo PopinaPopina API

Generate Popina POS Pairing Code

Generate a pairing code for Popina POS.

POST/v1/oauth/pairing-popina-pos/code
clientIdstring

The client ID for Popina POS pairing

Value in"popina_pos"
deviceInfo

Response Body

application/json

application/json

curl -X POST "http://localhost:4004/v1/oauth/pairing-popina-pos/code" \  -H "Content-Type: application/json" \  -d '{    "clientId": "popina_pos",    "deviceInfo": {      "hardwareIdentifier": "string",      "os": "ANDROID",      "osVersion": "string",      "appVersion": "string",      "appBuildNumber": "string",      "manufacturer": "string",      "model": "string",      "bundleId": "string"    }  }'
{
  "deviceCode": "string",
  "userCode": "string",
  "expiresIn": 0,
  "interval": 0,
  "verificationUri": "http://example.com"
}
{
  "error": "string",
  "message": "string"
}