# Payments

> Read the payments your practice has recorded against its invoices.

Source: https://docs.usejump.co.uk/api-reference/payments

* **Scope:** `read_payments`, granted explicitly. Patient or invoice scopes don't include it, and existing keys don't gain it automatically.
  * **What this is:** Jump's own payment records. It isn't a view of the card provider, a reconciliation, or a way to take or refund payments.
  * **Ownership:** a payment, its invoice and its patient all belong to your practice, and the payment's patient is the invoice's patient. An invoice id here doesn't give access to that invoice's amounts or payment links.
  * **Statuses included:** `succeeded`, `completed`, `paid`, `refunded`, `partially_refunded`, `held_as_credit`. &#x2A;*Methods included:** `card`, `stripe`, `saved_card`, `cash`, `cheque`, `bank_transfer`, `terminal`, `card_terminal`, `other`, `refund`, `balance_credit`. Payments with any other status or method aren't returned yet, so this isn't a complete ledger export.
  * **Amounts** are integer minor units (pence) and keep their sign: refunds and credits can be negative, and a balance held as credit is not relabelled as a refund. No balance or net-paid total is computed.
  * **Currency** is the three-letter code as recorded, case preserved, never assumed.
  * **Not returned:** provider ids, card or bank details, notes, who took the payment, and URLs.

  ## Listing

  Filters: `patient_id`, `invoice_id`, `payment_status`, `payment_method`, `payment_date_gte`, `payment_date_lte` (UTC, `YYYY-MM-DDTHH:mm:ssZ`), plus `limit` (default 20, max 100) and `offset` (max 100,000). An invalid, empty, repeated or unknown parameter returns `422`. A patient or invoice you can't see, or a patient and invoice that don't belong together, returns `404`, even when the list would be empty. Newest first. See [Pagination](https://docs.usejump.co.uk/getting-started/pagination). Responses carry `Cache-Control: no-store`.
## List permitted patient payment records

`GET /payments`

API-key scope: `read_payments`

Requires read_payments on a live practice key. Payment, invoice and patient
ownership and matching patient identities are verified. Draft/unknown invoice
states and unsupported payment states/methods are excluded; this is not an
exhaustive ledger export or provider reconciliation. Recorded signed safe
integer minor units, currency and native states are preserved. No balance
is computed and held credit is not relabelled as a refund. Sort: created_at
DESC, id DESC. Repeated, empty and unsupported parameters are rejected.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no |  |
| `offset` | query | integer | no |  |
| `patient_id` | query | string (uuid) | no |  |
| `invoice_id` | query | string (uuid) | no |  |
| `payment_status` | query | string | no | One of: `succeeded`, `completed`, `paid`, `refunded`, `partially_refunded`, `held_as_credit`. |
| `payment_method` | query | string | no | One of: `card`, `stripe`, `saved_card`, `cash`, `cheque`, `bank_transfer`, `terminal`, `card_terminal`, `other`, `refund`, `balance_credit`. |
| `payment_date_gte` | query | string (date-time) | no |  |
| `payment_date_lte` | query | string (date-time) | no |  |

### Responses

- `200` Bounded payment page with Cache-Control no-store
- `403` Missing live payment read authority
- `404` Payment or linked patient/invoice unavailable
- `422` Invalid query
- `500` Payment read failed

## Get a permitted patient payment record

`GET /payments/{id}`

API-key scope: `read_payments`

Requires read_payments. No query parameters or financial actions are provided.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Responses

- `200` Native payment metadata with Cache-Control no-store
- `403` Missing live payment read authority
- `404` Payment or linked patient/invoice unavailable
- `422` Invalid identifier or query
- `500` Payment read failed
