payments

Get Invoice Payment

Retrieve a single payment record on an invoice by payment id.

Core does not expose a standalone payment-record GET; this resolves the payment from the invoice's nested payment records.

get/invoices/{invoice_id}/payments/{payment_id}

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/invoices/{invoice_id}/payments/{payment_id}
  • Auth: API key in header x-api-key

Path parameters

invoice_idinteger required

Invoice identifier

payment_idinteger required

Payment record identifier

Response

Payment details

idinteger required

Payment record identifier

invoiceNumberinteger nullable

Payment display number (when present)

amountnumber double required

Payment amount in dollars

statusstring required

Payment status

paymentMethod'CASH' | 'ACH' | 'CREDIT_CARD' | 'KLARNA' | 'AFFIRM' | 'CHECK' required

Payment method

paymentDatestring date-time nullable

When the payment was recorded (ISO 8601); null if absent from upstream

paymentReferencestring nullable
notesstring nullable
isExternalboolean nullable

Whether the payment originated from an external processor (e.g. Stripe)

createdAtstring date-time nullable
updatedAtstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.