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

# Top Up Apple

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

## 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/apple`
- Auth: HTTP bearer

iOS: App Store xaridini tekshirib balansga qo'shadi (idempotent).

## Request body

- AppleTopUpRequest: Apple In-App Purchase orqali to'ldirish (iOS klientidan). receipt_data — StoreKit bergan base64 kvitansiya (`verificationData.serverVerificationData`).
  - `product_id` string, required
  - `transaction_id` string, required
  - `receipt_data` 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)
