Links the platform account to the existing main account by the code.
Main account is the Xsolla Login project which other Xsolla Login projects (platform accounts) are linked to. Main and platform accounts are created in Publisher Account.
To link accounts, the game server uses this method with the response from the Create Сode for Linking Accounts request.
Method available with the server JWT in the
X-SERVER-AUTHORIZATION header only. To get the server token, use the Generate User JWT method with
Data for linking a platform account.
Code by which service links accounts.
Name of chosen Social Provider.
Shadow Login ID from Publisher Account.
Shadow Login is a project which ID you do not need to pass to this method. Contact your Account Manager to set it up.
Project ID from Publisher Account which you make a request for.
If you specify it, but do not specify the
project_id parameter, the service will be linked to its
project_id. Contact your Account Manager to link
User ID from Social Provider.