Creates the code for linking the platform account to the existing main account when the user logs in to the game via a gaming console.
The call is used with Link accounts by code request.
OK
Bad Request
Not Found
Unprocessable Entity
Too Many Requests
curl --request POST \ --url https://login.xsolla.com/api/users/account/code \ --header 'Authorization: Bearer BEARER_TOKEN'
{- "code": "123456"
}