- API reference
- In-Person Payments API
Create session
https://api.kustom.co/ipp/v1/sessions
Creates a session to be collected by an In-Person Payment device. Dispatches it to the target device. Lifecycle callbacks are delivered to the URL configured in the merchant portal.
Target device ID.
Total order amount in minor units (e.g., cents).
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 for tracking purposes.
Second merchant reference for tracking purposes.
Total tax amount for the order in minor units.
Arbitrary merchant data (JSON string).
No field here matches the current filters.
Session created and dispatched to device.
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.
Invalid request body or parameters.
No response body — this status returns headers only.
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.
Target device not found or inactive.
No response body — this status returns headers only.
No field here matches the current filters.
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.