Documentation Index
Fetch the complete documentation index at: https://docs.veridianhp.com/llms.txt
Use this file to discover all available pages before exploring further.
Sessions
A session represents one patient paying one invoice. Sessions are the primary object in the Veridian API — most integrations only ever touch this endpoint family.Create a session
Request body
| Field | Type | Required | Description |
|---|---|---|---|
invoiceId | string | yes | Your invoice identifier, surfaced in webhooks. |
amountCents | int | yes | Amount in cents. Positive integer. |
patient | object | yes | Minimal patient identifiers. See below. |
metadata | object | no | Up to 16 keys, string values, surfaced in webhooks. |
patient object:
| Field | Type | Required | Description |
|---|---|---|---|
firstName | string | yes | First name only. |
lastName | string | yes | Last name only. |
patient or metadata fields.
Response — 201 Created
hostedUrl is what you send to the patient. The session expires 30
minutes after the patient first opens the page (configurable per practice).
Get session status
Response — 200 OK
/status if you must, but webhooks are the source of truth.
Use status checks for human-driven reconciliation, not for primary payment
state tracking.
List sessions
Query parameters
| Param | Type | Description |
|---|---|---|
status | string | Filter by status. Repeatable. |
limit | int | Page size, 1-100, default 25. |
cursor | string | Pagination cursor from previous response. |
Response — 200 OK
Cancel a session
Cancels a pending session. Once cancelled, the hosted page shows the patient the payment is no longer required.Response — 200 OK
pending or processing state.
Cancelling a succeeded session is not refunding — issue a refund through
your normal banking flow.
What’s next
Webhooks
Verifying and processing session events.
Errors
Session error codes and how to handle them.
