adorsys Update Consent Authorization API
The Update Consent Authorization API from adorsys — 2 operation(s) for update consent authorization.
The Update Consent Authorization API from adorsys — 2 operation(s) for update consent authorization.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/adorsys:adorsys-update-consent-authorization-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Adorsys Update Consent Authorization API
version: '1.0'
contact: {}
license:
name: Affero GNU General Public License v.3
url: https://www.gnu.org/licenses/agpl-3.0.txt
termsOfService: urn:tos
description: 'Operations tagged Update Consent Authorization across 2 of this provider''s published API definitions: tpp_consent_api.yml, adorsys-consent-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Update Consent Authorization
paths:
/v1/consent/{auth-id}/embedded:
post:
operationId: embeddedUsingPOST
tags:
- Update Consent Authorization
summary: Generic challenge response end point for updating consent session with PSU…
description: 'Update consent session with PSU auth data whereby requesting remaining
challenges for the ongoing authorization process.
Returns 202 if one should proceed to some other link. Link to follow is in ''Location'' header.'
parameters:
- $ref: '#/components/parameters/auth-id'
- $ref: '#/components/parameters/xXsrfToken'
- $ref: '#/components/parameters/X-Request-ID'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PsuAuthRequest'
responses:
'200':
$ref: '#/components/responses/200_AuthorizeResponse'
'202':
$ref: '#/components/responses/200_AuthorizeResponse'
'401':
$ref: '#/components/responses/401_Unauthorized'
security:
- sessionCookie: []
/v1/consent/{auth-id}/deny:
post:
operationId: denyUsingPOST
tags:
- Update Consent Authorization
summary: Consent authorization is denied - consent is blocked.
description: 'Closes this session and redirects the PSU back to the FinTechApi
or close the application window. In any case, the session of the user will
be closed and cookies will be deleted with the response to this request.'
parameters:
- $ref: '#/components/parameters/auth-id'
- $ref: '#/components/parameters/X-Request-ID'
responses:
'302':
$ref: '#/components/responses/302_Redirect_to_FinTechApi'
'401':
$ref: '#/components/responses/401_Unauthorized'
security:
- sessionCookie: []
components:
responses:
401_Unauthorized:
description: "Access credentials absent or invalid. This happens when\n* Provided credential for login not matching.\n* Endpoin expect a session cookie but none is present.\n* Session cookie is present but associated stateString does not match.\n\nAs a consequence, we reset existing FinTechLoginSessionState if any. \nNevertheless we do not reset RedirectSessionCookie.\n"
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
Set-Cookie:
$ref: '#/components/headers/Reset-Cookies'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/psuMessage'
200_AuthorizeResponse:
description: "All responses sent by the ConsentAuthorisationApi to the UI are derived from the AuthorizeResponse object. \nThis object presents :\n* The consentAuthState as a XSRF parameter used to reauthenticate the ConsentAuthSessionCookie. It can also be used if required\nto encrypt information stored in the corresponding ConsentAuthSessionCookie.\n* The AuthorizeResponse object info also contains information used to display a qualified page to the PSU \nprio to eventually redirecting the PSU to the target ASPSP.\n* Any session, account or payment information needed to manage the authorization process is stored in both AuthorizeResponse and encrypted in the ConsentAuthSessionCookie.\n* The ConsentAuthSessionCookie is secure and httpOnly.\n"
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
Set-Cookie:
$ref: '#/components/headers/Set-SessionCookie'
X-XSRF-TOKEN:
$ref: '#/components/headers/X-XSRF-TOKEN'
content:
application/json:
schema:
$ref: '#/components/schemas/ConsentAuth'
302_Redirect_to_FinTechApi:
description: 'Redirects UserAgent back to the FinTechAPI.
'
headers:
Location:
$ref: '#/components/headers/Location-FinTechApi'
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
Set-Cookie:
$ref: '#/components/headers/Reset-Cookies'
headers:
Reset-Cookies:
name: Set-Cookie
description: 'Delete all relevant cookies
'
schema:
type: string
example: 'Assuming auth-id=abc123
"Redirect_abc123=null; Path=/consent/abc123/; Max-Age=0, Session_abc123=null; Path=/consent/abc123/; Max-Age=0"
'
Set-SessionCookie:
name: Set-Cookie
description: 'SessionCookie used to maintain the authorization session between the ConsentAuthorisationApi
and the ConsentAuthorisationUI. This cookie is validated using an xXsrfToken sent as query with the request.
Notice :
* The cookie path contains the auth-id so cookie is only sent when auth instance is active.
* Request consuming this cookie must present a consentAuthState from their authorization header.
* X-XSRF-TOKEN is provided by the response object that sets the cookie.
'
schema:
type: string
example: 'Assuming auth-id=abc123
"Set-Cookie: Session_abc123=ejxs.wersdzxxc23r.asdf; Path=/consent/abc123/; Max-Age=300"
'
X-Request-ID:
required: true
description: 'Unique ID that identifies this request through common workflow.
Shall be contained in HTTP Response as well.
'
example: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
schema:
type: string
format: uuid
X-XSRF-TOKEN:
name: X-XSRF-TOKEN
required: true
description: XSRF parameter used to retrieve a redirect session.
example: abc123.faadsf93nlas32wx
schema:
type: string
Location-FinTechApi:
name: Location
description: 'This is the 30X Location Header. It contains the url used to redirect PSU back to the FinTech of ASPSP.
'
schema:
type: string
schemas:
AisAccountAccessInfo:
title: AisAccountAccessInfo
type: object
properties:
accounts:
type: array
description: Access to accounts
items:
$ref: '#/components/schemas/AccountReference'
allPsd2:
type: string
description: Consent on all accounts, balances and transactions of psu
example: ALL_ACCOUNTS
enum:
- ALL_ACCOUNTS
- ALL_ACCOUNTS_WITH_BALANCES
availableAccounts:
type: string
description: Consent on all available accounts of psu
example: ALL_ACCOUNTS
enum:
- ALL_ACCOUNTS
- ALL_ACCOUNTS_WITH_BALANCES
balances:
type: array
description: Access to balances
items:
$ref: '#/components/schemas/AccountReference'
transactions:
type: array
description: Access to transactions
items:
$ref: '#/components/schemas/AccountReference'
description: Ais account access information
Address:
title: Address
type: object
properties:
buildingNumber:
type: string
city:
type: string
country:
type: string
postalCode:
type: string
street:
type: string
BalanceType:
type: string
enum:
- CLOSING_BOOKED
- EXPECTED
- AUTHORISED
- OPENING_BOOKED
- INTERIM_AVAILABLE
- FORWARD_AVAILABLE
- NONINVOICED
PeriodicPayment:
title: PeriodicPayment
type: object
properties:
paymentData:
$ref: '#/components/schemas/SinglePayment'
dayOfExecution:
type: integer
format: int32
endDate:
type: string
format: date
executionRule:
type: string
frequency:
type: string
enum:
- Daily
- Weekly
- EveryTwoWeeks
- Monthly
- EveryTwoMonths
- Quarterly
- SemiAnnual
- Annual
startDate:
type: string
format: date
PsuAuthRequest:
title: PsuAuthRequest
required:
- scaAuthenticationData
type: object
description: Contains information used to legitimate a request.
properties:
consentAuth:
$ref: '#/components/schemas/ConsentAuth'
scaAuthenticationData:
type: object
additionalProperties:
type: string
description: SCA authentication data, depending on the chosen authentication method. If the data is binary, then it is base64 encoded.
extras:
type: object
additionalProperties:
type: string
description: ASPSP customary authorization parameters required to i.e. initiate consent.
BulkPayment:
title: BulkPayment
type: object
properties:
batchBookingPreferred:
type: boolean
debtorAccount:
$ref: '#/components/schemas/AccountReference'
paymentId:
type: string
paymentProduct:
$ref: '#/components/schemas/PaymentProduct'
paymentStatus:
$ref: '#/components/schemas/PaymentStatus'
payments:
type: array
items:
$ref: '#/components/schemas/SinglePayment'
requestedExecutionDate:
type: string
format: date
Amount:
title: Amount
type: object
properties:
amount:
type: number
currency:
type: string
ConsentAuth:
title: ConsentAuth
type: object
description: Transport object for consent API request response
properties:
action:
type: string
enum:
- LIST_ACCOUNTS
- LIST_TRANSACTIONS
- INITIATE_PAYMENT
violations:
type: array
items:
$ref: '#/components/schemas/AuthViolation'
accounts:
type: array
items:
$ref: '#/components/schemas/AccountDetails'
supportedConsentTypes:
type: array
items:
type: string
enum:
- DEDICATED_ALL
- GLOBAL_ALL
- GLOBAL_ACCOUNTS
authMessageTemplate:
type: string
authenticationMethodId:
type: string
description: An identification provided by the ASPSP for the later identification of the authentication method selection.
example: myAuthenticationID
bulkPayment:
$ref: '#/components/schemas/BulkPayment'
consent:
$ref: '#/components/schemas/AisConsentRequest'
bankName:
type: string
description: Name of current bank
fintechName:
type: string
description: Name of current fintech
consentAuthState:
type: string
description: This is the CSRF-State String of the ConsentAuthorisationApi. It is a transient reference of the consent request. It encodes a key that is used to encrypt information stored in the corresponding ConsentAuthSessionCookie.
periodicPayment:
$ref: '#/components/schemas/PeriodicPayment'
psuCorporateId:
type: string
psuId:
type: string
scaMethods:
type: array
description: List of sca methods for selection if necessary.
items:
$ref: '#/components/schemas/ScaUserData'
scaMethodSelected:
$ref: '#/components/schemas/ScaUserData'
scaStatus:
$ref: '#/components/schemas/ScaStatus'
singlePayment:
$ref: '#/components/schemas/SinglePayment'
challengeData:
$ref: '#/components/schemas/ChallengeData'
AccountType:
type: string
enum:
- CACC
- CASH
- CHAR
- CISH
- COMM
- CPAC
- LLSV
- LOAN
- MGLD
- MOMA
- NREX
- ODFT
- ONDP
- OTHR
- SACC
- SLRY
- SVGS
- TAXE
- TRAN
- TRAS
AccountBalance:
title: AccountBalance
type: object
properties:
amount:
$ref: '#/components/schemas/Amount'
balanceType:
$ref: '#/components/schemas/BalanceType'
iban:
type: string
lastChangeDateTime:
type: string
format: date-time
lastCommittedTransaction:
type: string
referenceDate:
type: string
format: date
ScaStatus:
type: string
description: The sca status. Used to manage the consent authorization flows.
enum:
- received
- psuIdentified
- psuAuthenticated
- scaMethodSelected
- started
- finalised
- failed
- exempted
AisConsentRequest:
title: AisConsentRequest
required:
- access
- frequencyPerDay
- recurringIndicator
- validUntil
type: object
properties:
access:
$ref: '#/components/schemas/AisAccountAccessInfo'
frequencyPerDay:
type: integer
description: Maximum frequency for an access per day. For a once-off access, this attribute is set to 1
format: int32
example: 4
recurringIndicator:
type: boolean
description: '''true'', if the consent is for recurring access to the account data , ''false'', if the consent is for one access to the account data'
example: false
validUntil:
type: string
description: Consent`s expiration date. The content is the local ASPSP date in ISODate Format
format: date
example: 2020-10-10
combinedServiceIndicator:
type: boolean
description: '''true'', if the consent is i.e. account list and then payment ''false'', if the consent is for one access to the account data'
default: false
description: Ais consent request
SinglePayment:
title: SinglePayment
type: object
properties:
creditorAccount:
$ref: '#/components/schemas/AccountReference'
creditorAddress:
$ref: '#/components/schemas/Address'
creditorAgent:
type: string
creditorName:
type: string
debtorAccount:
$ref: '#/components/schemas/AccountReference'
endToEndIdentification:
type: string
instructedAmount:
$ref: '#/components/schemas/Amount'
paymentId:
type: string
paymentProduct:
$ref: '#/components/schemas/PaymentProduct'
paymentStatus:
$ref: '#/components/schemas/PaymentStatus'
remittanceInformationUnstructured:
type: string
requestedExecutionDate:
type: string
format: date
requestedExecutionTime:
type: string
ChallengeData:
title: ChallengeData
type: object
description: Challege data for SCA like OpticTAN image
properties:
image:
type: string
format: byte
data:
type: array
items:
type: string
imageLink:
type: string
otpMaxLength:
type: integer
format: int32
otpFormat:
type: string
enum:
- CHARACTERS
- INTEGER
additionalInformation:
type: string
AccountDetails:
title: AccountDetails
type: object
properties:
accountStatus:
$ref: '#/components/schemas/AccountStatus'
accountType:
$ref: '#/components/schemas/AccountType'
balances:
type: array
items:
$ref: '#/components/schemas/AccountBalance'
bban:
type: string
bic:
type: string
currency:
type: string
details:
type: string
iban:
type: string
id:
type: string
linkedAccounts:
type: string
maskedPan:
type: string
msisdn:
type: string
name:
type: string
pan:
type: string
product:
type: string
usageType:
type: string
enum:
- PRIV
- ORGA
ScaUserData:
title: ScaUserData
type: object
properties:
decoupled:
type: boolean
id:
type: string
methodValue:
type: string
explanation:
type: string
scaMethod:
type: string
enum:
- EMAIL
- MOBILE
- CHIP_OTP
- PHOTO_OTP
- PUSH_OTP
- SMS_OTP
- APP_OTP
staticTan:
type: string
usesStaticTan:
type: boolean
PaymentStatus:
type: string
enum:
- ACCC
- ACCP
- ACSC
- ACSP
- ACTC
- ACWC
- ACWP
- RCVD
- PDNG
- RJCT
- CANC
- ACFC
- PATC
PaymentProduct:
type: string
enum:
- SEPA
- INSTANT_SEPA
- TARGET2
- CROSS_BORDER
psuMessage:
title: PsuMessage
type: object
properties:
category:
type: string
enum:
- ERROR
- WARNING
- INFO
code:
type: string
path:
type: string
text:
type: string
AccountStatus:
type: string
enum:
- ENABLED
- DELETED
- BLOCKED
AuthViolation:
title: AuthViolation
type: object
description: Missing parameters required for authorization
properties:
type:
type: string
scope:
type: string
code:
type: string
captionMessage:
type: string
AccountReference:
title: AccountReference
type: object
properties:
bban:
type: string
currency:
type: string
iban:
type: string
maskedPan:
type: string
msisdn:
type: string
pan:
type: string
parameters:
auth-id:
name: auth-id
in: path
required: true
description: 'Used to distinguish between different consent authorization processes started by the same PSU.
Also included in the corresponding cookie path to limit visibility of the consent cookie to the
corresponding consent process.
'
example: abc123
schema:
type: string
X-Request-ID:
name: X-Request-ID
in: header
required: true
description: 'Unique ID that identifies this request through common workflow.
Shall be contained in HTTP Response as well.
'
example: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
schema:
type: string
format: uuid
xXsrfToken:
name: xXsrfToken
in: query
description: XSRF parameter used to retrieve a redirect session. This is generaly transported as a query parameter.
example: faadsf93nlas32wx
schema:
type: string
securitySchemes:
sessionCookie:
type: apiKey
in: cookie
name: sessionCookie
redirectCookie:
type: apiKey
in: cookie
name: redirectCookie
x-refined-from:
- tpp_consent_api.yml
- adorsys-consent-openapi.yml