---
title: "Create Payment"
method: POST
path: "/api/v1/workspaces/{workspace_id}/payments"
tags: ["payments"]
---

# Create Payment

`POST /api/v1/workspaces/{workspace_id}/payments`

## Path parameters

- `workspace_id` string, required

## Headers

- `authorization` string, required

## Request body

- CreatePaymentRequest
  - `provider` string, required
  - `amount` number, required
  - `currency` string, required

## Response `201`

Successful Response

- PaymentIntentResponse
  - `id` string, required
  - `workspace_id` string, required
  - `provider` string, required
  - `amount` number, required
  - `currency` string, required
  - `status` string, required
  - `payment_url` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tomeku-development/apis/mesh-platform-api.md) · [All operations](https://skmtc.dev/tomeku-development/apis/mesh-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tomeku-development/mesh-platform-api/revisions/08ace1bb7b09/schema)
