---
title: "Retrieves a single customer payment by its Transaction ID, including allocations to invoices."
method: GET
path: "/api/Payment/{id}"
tags: ["Payment"]
---

# Retrieves a single customer payment by its Transaction ID, including allocations to invoices.

`GET /api/Payment/{id}`

## Path parameters

- `id` integer, required

## Response `200`

Returns the payment details with invoice allocations.

- Payment — A customer payment including allocations to specific invoices.
  - `TransactionID` integer — Unique identifier for the payment transaction.
  - `AccountIDFK` integer — The Avaza account this payment belongs to.
  - `TransactionPrefix` string — The prefix used in the payment number.
  - `PaymentNumber` string — The full payment number including prefix.
  - `TransactionReference` string — External reference number (e.g. cheque number or bank reference).
  - `CustomerIDFK` integer — The customer company ID this payment is from.
  - `DateIssued` string, date-time — The date the payment was made.
  - `TransactionStatusCode` string — Current status of the payment.
  - `PaymentProviderCode` string — Code identifying the payment provider/method used.
  - `ExchangeRate` number, double — Exchange rate to the account's base currency.
  - `Balance` number, double — Unallocated balance remaining on the payment.
  - `CurrencyCode` string — ISO 3-character currency code for the payment.
  - `TotalAmount` number, double — Total payment amount.
  - `Notes` string — Additional notes on the payment.
  - `DateCreated` string, date-time — Date and time the record was created.
  - `DateUpdated` string, date-time — Date and time the record was last updated.
  - `PaymentAllocations` PaymentAllocation[] — List of allocations applying this payment against specific invoices.
    - `TransactionAllocationID` integer — Unique identifier for this payment allocation.
    - `InvoiceTransactionIDFK` integer — The invoice Transaction ID this payment is allocated against.
    - `PaymentTransactionIDFK` integer — The payment Transaction ID this allocation belongs to.
    - `AllocationDate` string, date-time — The date this allocation was applied.
    - `AllocationAmount` number, double — The amount allocated from the payment to the invoice.
  - `ViewPaymentURL` string — URL to view this payment in the Avaza web application.

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

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