---
title: "Retrieve a Payment"
method: GET
path: "/payments/payment/{id}"
tags: ["payments"]
---

# Retrieve a Payment

`GET /payments/payment/{id}`

Retrieve a single payment by ID.

## Path parameters

- `id` string, required

## Query parameters

- `expand` string

## Headers

- `Authorization` string, required
- `X-Api-Key` string, required
- `X-API-Version` string

## Response `200`

Successfully retrieved

- PaymentsGetPaymentsPaymentIdResponse200
  - `id` string — The unique identifier of the payment.
  - `payment_method` string — The method used to send this payment (e.g. ACH, check).
  - `status` string — The human-readable status of the payment.
  - `status_code` integer — The numeric status code of the payment.
  - `last_error` string — The last error message encountered during payment processing, if any.
  - `erp_vendor_id` string — The vendor's unique identifier in your ERP system.
  - `ottimate_company_id` integer — The Ottimate company ID associated with this payment.
  - `customer_account_number` string — Your account number with the vendor.
  - `scheduled_date` string — The ISO 8601 date and time when the payment is scheduled to be sent.
  - `memo` string — The memo or note included with the payment.
  - `payment_number` string — Your internal identifier for this payment.
  - `expected_delivery_date` string — The expected date the payment will be delivered to the vendor.
  - `invoices` PaymentsPaymentIdGetResponsesContentApplicationJsonSchemaInvoicesItems[] — Returned only when expanded via the 'expand' query parameter
    - `id` integer — The unique identifier of the invoice.
    - `invoice_number` string — The invoice number as it appears in your system.
    - `date` string — The invoice date in YYYY-MM-DD format.
    - `total_amount` string — The total amount of the invoice.
    - `currency` string — The ISO 4217 currency code for the invoice amount.
    - `notes` string — Additional notes on the invoice.

## Other responses

- `403` — Forbidden - Access denied or insufficient permissions
- `404` — Not found - Resource does not exist

---

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