API ReferenceTruemed Sessions

Get Shop Pay Truemed Session

Retrieve the full state of one Truemed session: its qualification status, order items, and every capture and auth hold recorded against it. This is the lookup you reconcile against after a `truemed_session.pending_authorization` or `truemed_session.truemed_review_complete` webhook fires. The webhooks signal every qualification transition you need to act on, so you don't need to poll this endpoint.

Authentication

x-truemed-api-keystring

Platform API key for platform server-to-server authentication

Path parameters

truemed_session_idstringRequired
The Shop Pay Truemed session ID from the URL path.

Response

Successful response
auth_holdslist of objects
Authorization holds recorded against this session, oldest first.
captureslist of objects
Reported captures recorded against this session, oldest first.
cart_infoobject
Eligibility statement about the cart.
created_atdatetime
When the session was created.
customer_emailstring
The customer's email address, echoed from the create request.
customer_namestring
The customer's full name, echoed from the create request.
is_testingboolean
Whether this session was created in test mode.
order_itemslist of objects
Cart line items, echoed as a denormalized snapshot captured at session creation.
qualification_infoobject
Qualification statement about the shopper.
refundslist of objects
Refunds recorded against this session, oldest first.
truemed_session_idstring
The unique ID for this Truemed session.
user_idstring
Your durable identifier for this customer, echoed from the create request.
metadatastring or null
Opaque value echoed from session creation.

Errors

400
Bad Request Error
404
Not Found Error
405
Method Not Allowed Error
500
Internal Server Error
501
Not Implemented Error