---
title: "Register Google Play Transaction"
method: POST
path: "/users/{app_user_id}/transactions/google-play"
tags: ["Users"]
---

# Register Google Play Transaction

`POST /users/{app_user_id}/transactions/google-play`

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

## Path parameters

- `app_user_id` string, required

## Headers

- `x-api-key` string, required

## Request body

- UserRegisterGooglePlayTransactionRequest
  - `purchase_token` string, required — Google Play's purchaseToken from the purchase flow.
  - `obfuscated_external_account_id` string, nullable — Set in BillingFlowParams.setObfuscatedAccountId() — used for better matching.

## Response `204`

The transaction mapping has been registered.

## Other responses

- `401` — Unauthorized
- `404` — The user has not been found.

---

[API](https://skmtc.dev/winwinkit/apis/winwinkit-api.md) · [All operations](https://skmtc.dev/winwinkit/apis/winwinkit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/winwinkit/winwinkit-api/revisions/5b921a291cf8/schema)
