diff --git a/openapi.json b/openapi.json index 6b693ad..a8c91c5 100755 --- a/openapi.json +++ b/openapi.json @@ -9936,6 +9936,12 @@ "metadata": { "$ref": "#/components/schemas/Metadata" }, + "service_account_id": { + "description": "Identifier of the system-managed service account associated with this reader.\nPresent only for readers that are already paired.\nThis field is currently in beta and may change.", + "type": "string", + "format": "uuid", + "x-beta": true + }, "created_at": { "description": "The timestamp of when the reader was created.", "type": "string", diff --git a/src/SumUp/Models/Reader.g.cs b/src/SumUp/Models/Reader.g.cs index 568cb5c..74ac989 100644 --- a/src/SumUp/Models/Reader.g.cs +++ b/src/SumUp/Models/Reader.g.cs @@ -22,6 +22,9 @@ public sealed partial class Reader /// Custom human-readable, user-defined name for easier identification of the reader. [JsonPropertyName("name")] public string Name { get; set; } = default!; + /// Identifier of the system-managed service account associated with this reader. Present only for readers that are already paired. This field is currently in beta and may change. + [JsonPropertyName("service_account_id")] + public Guid? ServiceAccountId { get; set; } /// The status of the reader object gives information about the current state of the reader. Possible values: - `unknown` - The reader status is unknown. - `processing` - The reader is created and waits for the physical device to confirm the pairing. - `paired` - The reader is paired with a merchant account and can be used with SumUp APIs. - `expired` - The pairing is expired and no longer usable with the account. The resource needs to get recreated. [JsonPropertyName("status")] public ReaderStatus Status { get; set; }