Skip to main content
POST
Create Or Update Google

Authorizations

X-EntityToken
string
header
required

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

Body

application/json
AppLicenseKey
string

Google App License Key obtained after setting up your app in the Google Play developer portal. Required if using Google receipt validation.

AppPackageID
string

Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google receipt validation.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Entity
object

The optional entity to perform this action on. Defaults to the currently logged in entity.

ErrorIfExists
boolean

If an error should be returned if the addon already exists.

OAuthClientID
string

Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID". Required if using Google Authentication.

OAuthClientSecret
string

Google OAuth Client Secret obtained through the Google Developer Console by creating a new set of "OAuth Client ID". Required if using Google Authentication.

OAuthCustomRedirectUri
string

Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own domain.

ServiceAccountKey
string

Needed to enable pending purchase handling and subscription processing.

Response

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Last modified on October 2, 2026