Institution returns more than one authorisation code, for example with AMEX, if the user
authorises their consent to share two or more accounts, AMEX will return a consent for each card.
Use with a callback
If you have created an authorisation request with acallback and the bank returns multiple consents, you will receive the consents as query parameters
at the callback in the format:
?consent=\{value1\}&consent=\{value2\}...
e.g.
Use with a redirect url
This section only applies if you have your own Open Banking AISP/PISP licenses and are using your own certificates to register with each Yapily
Institution. See Redirect Url for more information.authToken values and one state:
?authToken=\{value1\},\{value2\}...&state=\{value\}
e.g.
authToken with the
same state to retrieve a consentToken for each of the user’s accounts that have been authorised for sharing.
Use with one-time-token
Similarly, when you also specify to use aone-time-token in the authorisation request and the bank returns multiple consents, you will get one-time
tokens as query parameters at the callback in the format:
?one-time-token=\{value1\}&one-time-token=\{value2\}...
e.g.
You will then need to execute Exchange One Time Token for each one-time-token to retrieve a consentToken for
each of the user’s accounts that have been authorised for sharing.