---
title: "Create a payment"
method: POST
path: "/api/payments"
tags: ["Payments"]
---

# Create a payment

`POST /api/payments`

## Request

- Base URL: `https://api.invoicevista.com`
- URL: `https://api.invoicevista.com/api/payments`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Records a payment. Requires the `payments:write` scope. Emits a `payment.created` webhook.

## Request body

- object

## Response `200`

The created payment

## Other responses

- `403`: API key is missing the `payments:write` scope
- `429`: API key rate limit exceeded

---

[API](https://skmtc.dev/invoicevista/apis/invoicevista-api.md) · [All operations](https://skmtc.dev/invoicevista/apis/invoicevista-api/llms.txt) · [OpenAPI document](https://skmtc.dev/invoicevista/apis/invoicevista-api/revisions/8eb4dccf5ee7?raw)
