POST
/v1/terminal/readers/{reader}/collect_inputsCollect customer inputs with a reader
Triggers an input collection flow on a Terminal reader to display forms and collect information from customers. Supply up to five entries in inputs, with each entry defining an input type and its corresponding configuration such as custom text, selection choices, or toggles.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
readerstringrequired
The unique identifier of the reader that collects the customer inputs. Must be no longer than 5000 characters.
Input collection configuration for the reader, including the required list of inputs and optional response expansion and metadata.
expandarray<string>optional
Specifies which fields in the response should be expanded.
inputsarray<InputParams>required
List of inputs to be collected from the customer using the Reader. Maximum 5 inputs.
metadataobjectoptional
Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
200Returns the reader object with the input collection action configured, including the reader's current device, location, action, and status details.
actionobjectoptional
The most recent action performed by the reader.
device_sw_versionstringoptional
The current software version of the reader.
device_typestringrequired
Device type of the reader.
idstringrequired
Unique identifier for the object.
ip_addressstringoptional
The local IP address of the reader.
labelstringrequired
Custom label given to the reader for easier identification.
last_seen_atintegeroptional
The last time this reader reported to Stripe backend. Timestamp is measured in milliseconds since the Unix epoch. Unlike most other Stripe timestamp fields which use seconds, this field uses milliseconds.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
locationstringoptional
The location identifier of the reader.
metadataobjectrequired
Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
serial_numberstringrequired
Serial number of the reader.
statusstringoptional
The networking status of the reader. We do not recommend using this field in flows that may block taking payments.
defaultError response.
errorobjectrequired
Error handling
inputs is required and can contain no more than five input definitions. Each input must include custom_text and a type, where type must be email, numeric, phone, selection, signature, or text; selection inputs require choices, and custom text inputs require title.