API Reference

Payments

Read the payments your practice has recorded against its invoices.

  • 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. 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. Responses carry Cache-Control: no-store.

GET/paymentsScoperead_payments

List permitted patient payment records

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.

Query

limitinteger
20
offsetinteger
0
patient_iduuid
No description yet.
invoice_iduuid
No description yet.
payment_statusstring
succeededcompletedpaidrefundedpartially_refundedheld_as_credit
payment_methodstring
cardstripesaved_cardcashchequebank_transferterminalcard_terminalotherrefundbalance_credit
payment_date_gtedate-time
No description yet.
payment_date_ltedate-time
No description yet.

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/payments/{id}Scoperead_payments

Get a permitted patient payment record

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

Path

iduuidrequired
No description yet.

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

Was this page helpful?