nordigen / nordigen-python

Python library for the Nordigen API.
MIT License
56 stars 18 forks source link

Incomplete API for POST /api/v2/requisitions/ #26

Open aivarsk opened 7 months ago

aivarsk commented 7 months ago

https://bankaccountdata.gocardless.com/api/docs#/requisitions/Create%20requisition lists parameters including user_language and ssn.

{ "redirect": "string", "institution_id": "string", "agreement": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "reference": "string", "user_language": "strin", "ssn": "string", "account_selection": false, "redirect_immediate": false }

create_requisition lacks the ssn parameter: https://github.com/nordigen/nordigen-python/blob/master/nordigen/api/requisitions.py#L46C9-L46C27

When using initialize_session as the README suggests it lacks both the user_language and the ssn parameters: https://github.com/nordigen/nordigen-python/blob/d6d1effdf602f40b19b95675bab089a278aba9c7/nordigen/nordigen.py#L172

So at the moment the only option is to use the HTTP endpoints directly in order to have access to the features.