---
title: "Top Up Google"
method: POST
path: "/api/v1/wallet/top-up/google"
tags: ["api", "api", "wallet"]
---

# Top Up Google

`POST /api/v1/wallet/top-up/google`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/wallet/top-up/google`
- Auth: HTTP bearer

Android: Google Play xaridini imzo orqali tekshirib balansga qo'shadi
(idempotent).

## Request body

- GoogleTopUpRequest: Google Play Billing orqali to'ldirish (Android klientidan). purchase_data — Play imzolagan original JSON (`localVerificationData`), signature — o'sha JSON ustidagi Base64 RSA imzo.
  - `product_id` string, required
  - `purchase_token` string, required
  - `purchase_data` string, required
  - `signature` string, required

## Response `200`

Successful Response

- Wallet
  - `balance` integer
  - `total_top_up` integer
  - `total_spent` integer
  - `currency` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
