---
title: "Anyway Create Checkout"
method: POST
path: "/api/anyway/create-checkout"
tags: ["anyway"]
---

# Anyway Create Checkout

`POST /api/anyway/create-checkout`

## Request

- Base URL: `https://aiapi-pro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://aiapi-pro.com/api/anyway/create-checkout`
- Auth: HTTP bearer

Build the Anyway checkout URL for a buyer-customizable-amount product.

The single payment link accepts any amount within [ANYWAY_MIN, ANYWAY_MAX];
buyer attribution (user_id + a unique merchant_reference) and an amount
pre-fill hint ride along as query parameters. The signed order.paid webhook
— not this URL — is the fulfillment signal and credits the amount actually
paid, so query params are buyer-visible correlation data only.

## Request body

- AnywayCreateRequest
  - `amount` number, required

## Response `200`

Successful Response

- AnywayCreateResponse
  - `checkout_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aiapi-pro/apis/novai-api-platform.md) · [All operations](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/revisions/8aac487185cb?raw)
