Generate Popina POS Pairing Token
Generate a pairing token for Popina POS.
POST
/v1/oauth/pairing-popina-pos/tokenclientIdstring
The client ID for Popina POS pairing
Value in
"popina_pos"grantTypestring
Value in
"urn:ietf:params:oauth:grant-type:device_code"deviceCodestring
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:4004/v1/oauth/pairing-popina-pos/token" \ -H "Content-Type: application/json" \ -d '{ "clientId": "popina_pos", "grantType": "urn:ietf:params:oauth:grant-type:device_code", "deviceCode": "string" }'{
"accessToken": "string",
"refreshToken": "string",
"tokenType": "Bearer"
}{
"error": "invalid_request",
"message": "string"
}{
"error": "authorization_pending",
"message": "string"
}{
"error": "slow_down",
"message": "string"
}{
"error": "string",
"message": "string"
}