---
title: "Checkout Model"
method: POST
path: "/v1/platform/marketplace/models/{code}/checkout"
tags: ["platform:marketplace"]
---

# Checkout Model

`POST /v1/platform/marketplace/models/{code}/checkout`

## Request

- Base URL: `https://api.intura.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.intura.co/v1/platform/marketplace/models/{code}/checkout`
- Auth: none declared

## Path parameters

- `code` string, required

## Request body

- CheckoutRequest: How the buyer wants to pay, and that they accept the Terms. `airwallex` is cards and international methods in USD; `xendit` is the Indonesian methods (QRIS, virtual accounts, e-wallets) in IDR. The method is ignored for a $0 checkout; the acceptance is not. `accept_terms` is the checkout's ticked box — the Terms of Service and the Product Terms, and that purchases are final — and `terms_version` the version the page showed (`legalVersion` on the website). Without both, and the version current, the checkout is refused with `TERMS_NOT_ACCEPTED` or `TERMS_OUTDATED`; with them, the acceptance is recorded with the order.
  - `method` 'airwallex' | 'xendit'
  - `locale` 'en' | 'id'
  - `accept_terms` boolean
  - `terms_version` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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