---
title: "Create a buyer-facing hosted checkout"
method: POST
path: "/v2/checkouts"
---

# Create a buyer-facing hosted checkout

`POST /v2/checkouts`

## Request

- Base URL: `https://t3rnel-wavepay-production.t3ratech.workers.dev`
- URL: `https://t3rnel-wavepay-production.t3ratech.workers.dev/v2/checkouts`
- Auth: none required

## Request body

- object
  - `productId` string, required
  - `planId` string, required
  - `provider` string
  - `email` string
  - `amountMinor` integer
  - `currency` string

## Response `201`

{ reference: pay_…, checkoutUrl, provider, amountMinor, currency, test }

---

[API](https://skmtc.dev/t3ratech/apis/wavepay-public-api.md) · [All operations](https://skmtc.dev/t3ratech/apis/wavepay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/t3ratech/apis/wavepay-public-api/revisions/0510400e9fb8?raw)
