v1

OpenAPI 3.0.02026-07-13811489.0 KB
Users

Register Google Play Transaction

Registers the mapping between a user and their Google Play purchaseToken.

post/users/{app_user_id}/transactions/google-play

Path parameters

app_user_idstring required

The app user id of the user.

Headers

x-api-keystring required

The API key to authenticate with.

Request body

purchase_tokenstring required

Google Play's purchaseToken from the purchase flow.

obfuscated_external_account_idstring nullable

Set in BillingFlowParams.setObfuscatedAccountId() — used for better matching.

Example request

{
  "purchase_token": "opaque-purchase-token-string",
  "obfuscated_external_account_id": "user-account-id-hash"
}

Response

The transaction mapping has been registered.