Delete a Reader
DELETE / v1 / terminal / readers /:id
Deletes a Reader object.
Parameters
No parameters.
Returns
Returns the Reader object that was deleted.
Response
{ "id": "tmr_FDOt2wlRZEdpd7", "object": "terminal.reader", "deleted": true}
Activate a Gift Card on a Reader
POST / v1 / terminal / readers /:id / activate_gift_card
Initiates a gift card activation flow on a Reader and optionally sets its balance.
Parameters
- brand enum Required The brand of the gift card. Possible enum values
svsSVS gift card.
More parameters
- balance object
- on _ behalf _ of string
Returns
Returns an updated Reader resource.
cURL
Response
{ "id": "tmr_GkoLBwI8ngxx08", "object": "terminal.reader", "action": { "activate_gift_card": {}, "api_error": null, "failure_code": null, "failure_message": null, "status": "in_progress", "type": "activate_gift_card" }, "device_sw_version": "", "device_type": "simulated_wisepos_e", "ip_address": "0.0.0.0", "label": "simulated-wpe-e448e0d1-388f-40cd-b30f-ca82de03ced6", "last_seen_at": 1783521571548, "livemode": false, "location": "tml_GczOlAw6Yx2UMe", "metadata": {}, "serial_number": "e448e0d1-388f-40cd-b30f-ca82de03ced6", "status": "online"}
Cancel the current reader action
POST / v1 / terminal / readers /:id / cancel_action
Cancels the current reader action. See Programmatic Cancellation for more details.
Parameters
No parameters.
Returns
Returns an updated Reader resource.
Response
{ "id": "tmr_FDOt2wlRZEdpd7", "object": "terminal.reader", "action": null, "device_sw_version": "2.37.2.0", "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"}
