Readers
Update a Reader
Changed onUpdates a reader's name or metadata and returns the updated reader.
Providing metadata replaces the entire metadata object; include all entries that should be retained. Omitted fields remain unchanged.
patch/v0.1/merchants/{merchant_code}/readers/{reader_id}
Request
- Base URLhttps://api.sumup.com
- URLhttps://api.sumup.com/v0.1/merchants/{merchant_code}/readers/{reader_id}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.sumup.com/authorizeToken URL: https://api.sumup.com/token scopes: readers.write, terminals.write
Path parameters
merchant_codestring required
Example:MK10CL2A
Short unique identifier for the merchant.
reader_idstring required
Unique identifier of the reader that the payment is initiated on.
Example:rdr_3MSAFM23CK82VSTT4BN6RWSQ65
The unique identifier of the reader.
Request body
Example request
{
"name": "Frontdesk",
"metadata": {}
}Response
Returns the updated Reader object if the update succeeded.
Example response
{
"id": "rdr_3MSAFM23CK82VSTT4BN6RWSQ65",
"name": "Frontdesk",
"status": "paired",
"device": {
"identifier": "U1DT3NA00-CN",
"model": "solo"
},
"metadata": {},
"created_at": "2023-01-18T15:16:17Z",
"updated_at": "2023-01-20T15:16:17Z"
}Changes
- info
the security scope
terminals.writewas added to the endpoint's security schemeoauth2
- info