Skip to main content
GET
/
UserToken
/
{YourAPIKEY}
/
{ProjectGuid}
/
{CustomerID}
Generate temporary User token that needs to be used to let the user go to the wallets or allowance page
curl --request GET \
  --url https://intern.payingame.io/rest/PayIngame/PublicAPI/UserToken/{YourAPIKEY}/{ProjectGuid}/{CustomerID}
{
  "isError": "0",
  "Error": "",
  "Token": "B1479D7E-B42E-09A6-EDF6-CF0FE02AB5BC"
}
This endpoint will be used when you want to show the wallets a user has. It is also used for the Allowance page. A user token is generated (lasting 5 minutes). Once created, this token will be used to access the wallets and allowance of this user.

Path Parameters

YourAPIKEY
string
required
ProjectGuid
string
required
CustomerID
string
required

Your unique customer id that is identified in your game.

Response

200 - application/json

Token generation response

isError
string
Example:

"0"

Error
string
Example:

""

Token
string
Example:

"B1479D7E-B42E-09A6-EDF6-CF0FE02AB5BC"