- API reference
- In-Person Payments API
Get session
https://api.kustom.co/ipp/v1/sessions/{session_id}
Retrieves session details by ID.
No field here matches the current filters.
Session details.
Unique session identifier.
Current session status.
- CREATED
- ACTIVE
- FINALIZED
- CANCELLED
- EXPIRED
- FAILED
Device ID handling the session.
Order ID once created.
Total order amount in minor units.
Currency code (ISO 4217).
Timestamp when the purchase started.
Timestamp when the purchase was completed.
List of line items in the order.
9 fields in order_items
Type of the line item.
- physical
- discount
- shipping_fee
- sales_tax
- store_credit
- gift_card
- digital
- surcharge
- return_fee
- package
External reference ID for the item (e.g., SKU).
Name or description of the item.
Quantity of the item.
Unit price in minor units (e.g., cents).
Total amount for this line in minor units.
Tax rate in basis points (e.g., 2500 for 25%).
Total discount amount in minor units.
Total tax amount for this line in minor units.
First merchant reference.
Second merchant reference.
Total tax amount in minor units.
Arbitrary merchant data.
Timestamp when the session was created.
Timestamp when the session expires.
Timestamp when the session was last updated.
No field here matches the current filters.
Missing or invalid credentials.
No response body — this status returns headers only.
No field here matches the current filters.
Resource not found.
No response body — this status returns headers only.
No field here matches the current filters.
Errors
| Code | Status | What it means | Retry |
|---|---|---|---|
NOT_FOUND | 404 | The session no longer exists. The 404 carries no body, so there is no error_code to branch on -- the status is the whole signal. | Never retry |
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.