---
title: "Import a payment"
method: POST
path: "/payments:import"
tags: ["Payments"]
---

# Import a payment

`POST /payments:import`

Import a payment against an invoice with a custom reference.

## Request body

- ImportPaymentRequest
  - `invoiceId` string, required — ID of the invoice to apply payment to
  - `amount` number, required — Payment amount
  - `reference` string, required — Unique payment reference identifier for tracking

## Response `200`

Payment successfully imported.

## Other responses

- `400` — A problem reading or understanding the request. Ensure that the request complies with the required format and includes all necessary parameters.
- `401` — Authentication required.
- `422` — A request validation error.
- `500` — The server could not process the request.

---

[API](https://skmtc.net/adfin/apis/adfin-api.md) · [All operations](https://skmtc.net/adfin/apis/adfin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adfin/adfin-api/versions/c188ba232e1d/schema)
