---
title: "Purchase Asset"
method: POST
path: "/marketplace/purchase"
tags: ["marketplace"]
---

# Purchase Asset

`POST /marketplace/purchase`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/marketplace/purchase`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Request body

- PurchaseRequest
  - `asset_type` string
  - `asset_id` string, uuid, required
  - `target_space_id` string, uuid, nullable

## Response `200`

Successful Response

- PurchaseResponse
  - `purchase_id` string, uuid, required
  - `asset_type` string, required
  - `asset_id` string, uuid, required
  - `credits_paid` integer, required
  - `new_balance` integer, required
  - `cloned_asset_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
