Using SumUp .NET SDK 0.0.9, checkout create/list requests succeed, but the deserialized SDK models return Id == null even though the raw SumUp API http response includes a valid id.
What happens
CreateAsync() and ListAsync() both return objects where:
var created = await client.Checkouts.CreateAsync(request);
var listed = await client.Checkouts.ListAsync(checkoutReference: request.CheckoutReference);
Both SDK responses contain checkout data, but created.Data?.Id / listed.Data?.FirstOrDefault()?.Id are null.
Im not sure but I think the issue is that the generated response models define some fields as getter only.
The same pattern is also used in CheckoutSuccess for Id, TransactionId, and TransactionCode.
Using
SumUp.NET SDK0.0.9, checkout create/list requests succeed, but the deserialized SDK models returnId == nulleven though the raw SumUp API http response includes a validid.What happens
CreateAsync()andListAsync()both return objects where:Id == nullBoth SDK responses contain checkout data, but created.Data?.Id / listed.Data?.FirstOrDefault()?.Id are null.
Im not sure but I think the issue is that the generated response models define some fields as getter only.
The same pattern is also used in CheckoutSuccess for Id, TransactionId, and TransactionCode.