---
title: "purchase"
method: POST
path: "/api/wallet/purchase"
tags: ["wallet-resource"]
---

# purchase

`POST /api/wallet/purchase`

## Request body

- WalletPurchaseCommand
  - `acceptorCode` string, required
  - `amount` number, required
  - `cashdeskIdentifier` string
  - `paymentGateway` 'WEB' | 'SDK' | 'SHOP' | 'PANEL'
  - `shippingFee` number
  - `tax` number
  - `tip` number
  - `useScore` boolean

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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