feat: remove deprecated account info endpoints and update request context structure in UidService

This commit is contained in:
2025-10-16 10:20:02 +03:30
parent 37a6920a74
commit a5e68cbd90
3 changed files with 13 additions and 26 deletions

View File

@@ -129,6 +129,8 @@ public class AccountToIbanResponse:UidBaseResponse
public class IbanInquiryResponse:UidBaseResponse
{
public IbanInquiryAccountBasicInformation AccountBasicInformation { get; set; }
[JsonProperty("owners")]
public List<IbanInquiryOwner> Owners { get; set; }
}
public class IbanInquiryAccountBasicInformation
@@ -137,7 +139,7 @@ public class IbanInquiryAccountBasicInformation
public string AccountNumber { get; set; }
public IbanInquiryBankInformation BankInformation { get; set; }
public string AccountStatus { get; set; }
public List<IbanInquiryOwner> Owners { get; set; }
}
public class IbanInquiryBankInformation
@@ -147,9 +149,13 @@ public class IbanInquiryBankInformation
public class IbanInquiryOwner
{
[JsonProperty("firstName")]
public string FirstName { get; set; }
[JsonProperty("lastName")]
public string LastName { get; set; }
[JsonProperty("nationalIdentifier")]
public string NationalIdentifier { get; set; }
[JsonProperty("customerType")]
public string CustomerType { get; set; }
}