Link PSN Id
Links the PlayStation™ Network account associated with the provided user id to the user’s PlayFab account
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| AccountAlreadyLinked | 1011 |
| AccountNotFound | 1001 |
| InvalidNamespaceMismatch | 1561 |
| InvalidPSNAuthCode | 1092 |
| InvalidPSNIssuerId | 1151 |
| LinkedAccountAlreadyClaimed | 1012 |
| PSNInaccessible | 1152 |
Authorizations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Body
Unique PlayFab assigned ID of the user on whom the operation will be performed.
Id of the PlayStation™ Network user. Also known as the PSN Account Id.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
If another user is already linked to the account, unlink the other user and re-link.
Id of the PlayStation™ Network issuer environment. If null, defaults to the production environment. This must match the issuer the account signs in under, otherwise the link will not be resolved by that sign in.
The PlayStation™ Network sandbox to key the link under. Sandbox membership is per account, not per title: supply this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in.
