---
title: "POST /v1/apple/iap/coins/purchase"
method: POST
path: "/v1/apple/iap/coins/purchase"
tags: ["Apple IAP"]
---

# POST /v1/apple/iap/coins/purchase

`POST /v1/apple/iap/coins/purchase`

## Request

- Base URL: `https://api.miaai.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://api.miaai.chat/v1/apple/iap/coins/purchase`
- Auth: HTTP bearer

## Request body

- PurchaseCoinsDto
  - `transactionId` string, required: The transaction ID from Apple

## Response `200`

Purchase coins

- object
  - `balance` number

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) - [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) - [OpenAPI document](https://skmtc.dev/miaai/apis/backend-template-api/revisions/2a8d88a5124f?raw)
