Correct an occupant
Replaces descriptive and contact details and records the previous facts, actor and correction time. **Required permission:** `referential.occupant:write`
/referential/v1/occupants/{id}Replaces descriptive and contact details and records the previous facts, actor and correction time.
Required permission: referential.occupant:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X PUT "https://example.com/referential/v1/occupants/string" \ -H "Content-Type: application/json" \ -d '{ "kind": "COMPANY", "name": "string" }'{ "address_city": "string", "address_line1": "string", "address_line2": "string", "address_zip": "string", "corrected_at": "2019-08-24T14:15:22Z", "corrected_by": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "id": "string", "kind": "COMPANY", "legal_identifier": "string", "name": "string", "phone_number": "string", "updated_at": "2019-08-24T14:15:22Z", "website": "string"}Remove an occupant
Refuses deletion: occupants leave through the termination of their conventions and remain historically readable. **Required permission:** `referential.occupant:write`
Read a payment terminal
Reads, once, what the station's hardware bridge still keeps of the payment terminal at the address and answers the last outcome it reported — APPROVED, DECLINED or CANCELLED, with when — or NO_REQUEST when it holds none, or BRIDGE_UNREACHABLE; and, apart from it, the terminal's health as the device statuses read answers it. Nothing is recorded, no payment is asked, and the bridge never fails this read. **Required permission:** `referential.device-status:read`