Retrieves a Reader object.
Parameters
No parameters.
Returns
Returns a Reader object if a valid identifier was provided.
{ "id": "tmr_FDOt2wlRZEdpd7", "object": "terminal.reader", "action": null, "device_sw_version": "", "device_type": "simulated_wisepos_e", "ip_address": "0.0.0.0", "label": "Blue Rabbit", "last_seen_at": 1681320543815, "livemode": false, "location": "tml_FDOtHwxAAdIJOh", "metadata": {}, "serial_number": "259cd19c-b902-4730-96a1-09183be6e7f7", "status": "online"}Returns a list of Reader objects.
Parameters
- device_
typeenum Filters readers by device type
Possible enum valuesbbpos_chipper2x BBPOS Chipper 2X BT reader.
bbpos_wisepad3 BBPOS WisePad 3 reader.
bbpos_wisepos_ e BBPOS WisePOS E reader.
mobile_phone_ reader Tap to Pay device.
simulated_stripe_ s700 Simulated Stripe S700 reader.
simulated_wisepos_ e Simulated BBPOS WisePOS E reader.
stripe_m2 Stripe M2 reader.
stripe_s700 Stripe S700 reader.
- locationstring
A location ID to filter the response list to only readers at the specific location
- serial_
numberstring Filters readers by serial number
- statusenum
A status filter to filter readers to only offline or online readers
More parameters
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data property that contains an array of up to limit readers, starting after reader starting_. Each entry in the array is a separate Terminal Reader object. If no more readers are available, the resulting array will be empty.
{ "object": "list", "url": "/v1/terminal/readers", "has_more": false, "data": [ { "id": "tmr_FDOt2wlRZEdpd7", "object": "terminal.reader", "action": null, "device_sw_version": "", "device_type": "simulated_wisepos_e", "ip_address": "0.0.0.0", "label": "Blue Rabbit", "last_seen_at": 1681320543815, "livemode": false, "location": "tml_FDOtHwxAAdIJOh", "metadata": {}, "serial_number": "259cd19c-b902-4730-96a1-09183be6e7f7", "status": "online" } ]}Deletes a Reader object.
Parameters
No parameters.
Returns
Returns the Reader object that was deleted.
{ "id": "tmr_FDOt2wlRZEdpd7", "object": "terminal.reader", "deleted": true}Cancels the current reader action. See Programmatic Cancellation for more details.
Parameters
No parameters.
Returns
Returns an updated Reader resource.
{ "id": "tmr_FDOt2wlRZEdpd7", "object": "terminal.reader", "action": null, "device_sw_version": "", "device_type": "simulated_wisepos_e", "ip_address": "0.0.0.0", "label": "Blue Rabbit", "last_seen_at": 1695402450407, "livemode": false, "location": "tml_FDOtHwxAAdIJOh", "metadata": {}, "serial_number": "259cd19c-b902-4730-96a1-09183be6e7f7", "status": "online"}Initiates an input collection flow on a Reader to display input forms and collect information from your customers.
Parameters
- inputsarray of objectsRequired
List of inputs to be collected from the customer using the Reader. Maximum 5 inputs.
- metadataobject
Set of key-value pairs 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.
Returns
Returns an updated Reader resource.
{ "id": "tmr_OXYJvwsea7PDiDHNciXRkytb", "object": "terminal.reader", "action": { "failure_code": null, "failure_message": null, "collect_inputs": { "inputs": [ { "type": "signature", "custom_text": { "title": "Signature", "description": "Please sign below", "submit_button": "Submit", "skip_button": "Skip" }, "required": false, "signature": { "value": null } }, { "type": "selection", "custom_text": { "title": "Selection", "description": "Please select one" }, "required": true, "selection": { "choices": [ { "style": "primary", "text": "choice_1", "id": "choice_1_id" }, { "style": "secondary", "text": "choice_2", "id": "choice_2_id" } ], "value": null } }, { "type": "email", "custom_text": { "title": "Enter your email", "description": "We'll send updates on your order and occasional deals", "submit_button": "Submit", "skip_button": "Skip" }, "required": false, "email": { "value": null } } ] }, "status": "in_progress", "type": "collect_inputs" }, "device_deploy_group": null, "device_sw_version": null, "device_type": "bbpos_wisepos_e", "ip_address": "192.168.2.2", "label": "Blue Rabbit", "livemode": false, "location": null, "metadata": {}, "serial_number": "123-456-789", "software": null, "status": "online"}