GET /api/bank/<BANKID>/authorize\
INPUT
bankID β identifier of the bank the authorization flow should be initiated to
βOUTPUT
success- status of the call
data - JSON file providing the list of required attributes (driven by AFI API)- JSON to be rendered in consuming app
Example error response
Content-Type: application/json; charset=utf-8
{
"errorCode":404,
"errorMessage":"Bank with Id = 99 does not exist."
}
Example success response
The format of response structure depends on AFI AISP implementation. In the example below, there are 2 parameters required to initiate the oAuth session: IBAN and Currency.
Content-Type: application/json; charset=utf-8
{
"success":true,
"data":{
"sections":[
{
"items":[
{
"key":"IBAN",
"type":"input",
"format":"String",
"label":"IBAN"
},
{
"key":"Currency",
"type":"input",
"format":"String",
"label":"Currency"
}
]
}
]
}
}