---
title: "Create Payment"
method: POST
path: "/api/payments"
tags: ["payments"]
---

# Create Payment

`POST /api/payments`

## Headers

- `X-API-Key` string, required

## Request body

- TypePaymentsPaymentCreateV1Request
  - `serviceId` string, required
  - `paidAt` string, date-time, required
  - `transactionId` string, required — Unique transaction ID associated with this payment, this must be unique. Use for deduplication, a 409 will be returned if trying to create another Payment with same `transactionId`.
  - `type` 'PATIENT' | 'ADJUSTMENT', required
  - `amount` integer, required — Payment amount, in USD cents. Positive values are payments paid by the Patient, negative values are refunds given back to the Patient.
  - `externalId` string — Associate with any External ID value, should also be unique
  - `memo` string

## Response `200`

Response with status 200

- TypePaymentsPaymentCreateV1Response
  - `id` string, required
  - `createdAt` string, date-time, required
  - `serviceId` string, required
  - `paidAt` string, date-time, required
  - `transactionId` string, required
  - `type` 'PATIENT' | 'ADJUSTMENT', required
  - `amount` integer, required
  - `externalId` string
  - `memo` string

---

[API](https://skmtc.dev/usebridge/apis/api-reference.md) · [All operations](https://skmtc.dev/usebridge/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usebridge/api-reference/revisions/811dbc81bcd5/schema)
