v8.0.0
Breaking changes
- The
BasicError
type was removed since it has the same properties as theBasicResponse
type. This changes the signatures of the following methods:AccountsEndpoint.GetAccount()
now returnsTask<NordigenApiResponse<BankAccount, BasicResponse>>
instead ofTask<NordigenApiResponse<BankAccount, BasicError>>
AgreementsEndpoint.GetAgreements()
now returnsTask<NordigenApiResponse<ResponsePage<Agreement>, BasicResponse>>
instead ofTask<NordigenApiResponse<ResponsePage<Agreement>, BasicError>>
AgreementsEndpoint.GetAgreement()
now returnsTask<NordigenApiResponse<Agreement, BasicResponse>>
instead ofTask<NordigenApiResponse<Agreement, BasicError>>
AgreementsEndpoint.DeleteAgreement()
now returnsTask<NordigenApiResponse<BasicResponse, BasicResponse>>
instead ofTask<NordigenApiResponse<BasicResponse, BasicError>>
AgreementsEndpoint.AcceptAgreement()
now returnsTask<NordigenApiResponse<Agreement, BasicResponse>>
instead ofTask<NordigenApiResponse<Agreement, BasicError>>
InstitutionsEndpoint.GetInstitution()
now returnsTask<NordigenApiResponse<Institution, BasicResponse>>
instead ofTask<NordigenApiResponse<Institution, BasicError>>
RequisitionsEndpoint.GetRequisitions()
now returnsTask<NordigenApiResponse<ResponsePage<Requisition>, BasicResponse>>
instead ofTask<NordigenApiResponse<ResponsePage<Requisition>, BasicError>>
RequisitionsEndpoint.GetRequisition()
now returnsTask<NordigenApiResponse<Requisition, BasicResponse>>
instead ofTask<NordigenApiResponse<Requisition, BasicError>>
RequisitionsEndpoint.DeleteRequisition()
now returnsTask<NordigenApiResponse<BasicResponse, BasicResponse>>
instead ofTask<NordigenApiResponse<BasicResponse, BasicError>>
TokenEndpoint.GetTokenPair()
now returnsTask<NordigenApiResponse<JsonWebTokenPair, BasicResponse>>
instead ofTask<NordigenApiResponse<JsonWebTokenPair, BasicError>>
TokenEndpoint.RefreshAccessToken()
now returnsTask<NordigenApiResponse<JsonWebAccessToken, BasicResponse>>
instead ofTask<NordigenApiResponse<JsonWebAccessToken, BasicError>>
- The
InstitutionsError
type has been removed and replaced byBasicResponse
since the error can in all cases be simplified to this type. This changes the signatures of the following method:InstitutionsEndpoint.GetInstitutions()
now returnsTask<NordigenApiResponse<List<Institution>, BasicResponse>>
instead ofTask<NordigenApiResponse<List<Institution>, InstitutionsError>>
- Introduced the following exceptions:
AccountsEndpoint.GetTransactions()
now immediately throws anArgumentException
when theendDate
argument contains a date beforestartDate
instead of executing the response, since this will always result in an error being returned by the APIJsonWebTokenPair
andNordigenClientCredentials
now throw anArgumentNullException
when the suppliedstring
arguments arenull
- Multiple changes to the
Institution
type:- Changed the type of the
TransactionTotalDays
property fromint
touint
since this value can't be negative - Added the following new properties:
SupportedPayments
: The supported payment products for this institution (e.g.SepaCreditTransfers
,SwiftPaymentService
, etc.)SupportedFeatures
: The supported features for this institution (e.g.account_selection
,card_accounts
, etc.). This can inform you which features you can use when creating a requisition with an institution.IdentificationCodes
: Undocumented field in the response model
- Changed the type of the
- Changed properties of type
IEnumerable
toList
since most where already returningList
and to bring them in line. This affects the following properties:ResponsePage.Results
Tranasction.RemittanceInformationUnstructuredArray
Transaction.RemittanceInformationStructuredArray
Transaction.CurrencyExchange
Miscellaneous
- When the client can't acquire a valid access token needed for authenticated requests it won't try to execute any subsequent request anymore (if they require authentication). Instead the error returned by the authentication request is returned immediately. The previous behavior was to execute the subsequent request which would return a more generic authentication error.
- The
TokenPairUpdated
event is now only raised when the token was successfully updated. In the past it was also raised for unsuccessful token refreshes. Therefore theTokenPairUpdatedEventArgsJsonWebTokenPair
property is now no longer nullable. - Fixed a multitude of errors not being correctly deserialized due to erratic API response models
Full Changelog: v7.1.0...v8.0.0