How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Open Payments Consent Service API

The Consent Service offers the following services:* Create and authorize consents between the PSU and the TPP for use in the AIS services* Get status of consent and retrieve previously authorized consents

Open Payments Consent Service API is one of 11 APIs that Open Payments publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Consent Service. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

This API exposes 8 operations across 5 paths, and defines 80 schemas. It is described by OpenAPI 3.2.0, at version 1.3.3.

Requests are made against 2 base URLs: https://api.openbankingplatform.com, https://api.sandbox.openbankingplatform.com.

8 operations 5 paths 80 schemas 1 DELETE4 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.3.3
Base URL
https://api.openbankingplatform.com
Authentication
OAuth 2.0, OAuth 2.0
Resource Areas
1

Authentication & Security 2

Open Payments Consent Service API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oAuth2Sandbox) using the clientCredentials flow, exposing 5 scopes. It supports OAuth 2.0 (oAuth2Production) using the clientCredentials flow, exposing 6 scopes. By default, every request must be authenticated, though some operations may also be called without credentials.

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Consent Service 8

The Consent Service offers the following services: Create and authorize consents between the PSU and the TPP for use in the AIS services Get status of consent and retrieve previou…

POST
/psd2/consent/v1/consents
Create Consent
createConsent 10 params body → 201400401403404405406408
GET
/psd2/consent/v1/consents/{consentId}
Get Consent
getConsentInformation 9 params → 200400401403404405406408
DELETE
/psd2/consent/v1/consents/{consentId}
Delete Consent
deleteConsent 9 params → 204400401403404405406408
GET
/psd2/consent/v1/consents/{consentId}/status
Get Consent Status
getConsentStatus 9 params → 200400401403404405406408
POST
/psd2/consent/v1/consents/{consentId}/authorisations
Create Consent Authorisation
startConsentAuthorisation 9 params → 201400401403404405406408
GET
/psd2/consent/v1/consents/{consentId}/authorisations
Get Consent Authorisations
getConsentAuthorisation 9 params → 200400401403404405406408
GET
/psd2/consent/v1/consents/{consentId}/authorisations/{authorisationId}
Get Consent Authorisation SCA Status
getConsentScaStatus 10 params → 200400401403404405406408
PUT
/psd2/consent/v1/consents/{consentId}/authorisations/{authorisationId}
Start Consent Authorisation
updateConsentsPsuData 11 params body → 200400401403404405406408

Schemas 80

The contract defines 80 schemas that model the data the API accepts and returns. The most detailed are _linksAll (30 properties), _linksConsents (11 properties), consentInformationResponse-200_json (8 properties), _linksStartScaProcess (8 properties). Each schema is shown below with its type and property counts.

MessageCode401_AIS
string
Message codes defined for AIS for HTTP Error code 401 (UNAUTHORIZED).
startScaprocessResponse
object
Body of the JSON response for a Start SCA authorisation request.
8 properties 3 required
scaMethods
array
Optional list of available Strong Customer Authentication (SCA) methods, shown if SCA is required and the user can choose a method. When this is present, a sta…
psuMessageText
string
Text to be displayed to the PSU
validUntil
string
The date until which the requested consent should be valid for. The content is the local ASPSP date in ISO Date Format, e.g. 2025-10-30. This parameter is requ…
_linksSelectPsuAuthenticationMethod
object
A list of hyperlinks to be recognised by the TPP. The actual hyperlinks used in the response depend on the dynamical decisions of the ASPSP when processing the…
6 properties
Error406_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 406.
2 properties
tppErrorDetail
string
Detailed human readable text specific to this instance of the error. XPath might be used to point to the issue generating the error in addition. Remark for Fut…
_linksAll
object
A link object with all available link types
30 properties
tppErrorTitle
string
Short human readable description of error type. Could be in local language. To be provided by ASPSPs.
authenticationType
string
Type of the authentication method. See Statuses & Types for full descriptions of values.
MessageCode429_AIS
string
Message codes for HTTP Error code 429 (TOO MANY REQUESTS).
tppMessage400_AIS
object
4 properties 2 required
consentsResponse-201
object
Body of the JSON response for a successful consent request.
8 properties 3 required
selectPsuAuthenticationMethodResponse
object
Body of the JSON response for a successful select PSU Authentication Method request.
6 properties 1 required
clearingNumber
string
Bank account clearing number. Used to identify the financial institution within a domestic payment system.
Error404_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 404.
2 properties
authenticationObject
object
Authentication Object
5 properties 2 required
Error429_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 429 for AIS.
6 properties 2 required
tppMessageCategory
string
Category of the TPP message category
selectPsuAuthenticationMethod
object
Content of the body of a Select PSU Authentication Method Request
1 property 1 required
tppMessage429_AIS
object
4 properties 2 required
consents
object
Content of the body of a consent request.
5 properties 5 required
consentInformationResponse-200_json
object
Body of the JSON response for a successful get consent request.
8 properties 6 required
Error401_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 401.
2 properties
Error400_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 400.
2 properties
authenticationMethodId
string
An identification provided by the ASPSP for the later identification of the authentication method selection.
challengeData
object
Contained in addition to the data element chosenScaMethod if challenge data is needed for SCA. In rare cases, this attribute is also used in the context of the…
6 properties
MessageCode409_AIS
string
Message codes defined for AIS for HTTP Error code 409 (CONFLICT).
tppMessage2XX
object
4 properties 2 required
Error409_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 409.
2 properties
_linksStartScaProcess
object
A list of hyperlinks to be recognised by the TPP. The actual hyperlinks used in the response depend on the dynamical decisions of the ASPSP when processing the…
8 properties
MessageCode400_AIS
string
Message codes defined for AIS for HTTP Error code 400 (BADREQUEST).
pan
string
Primary Account Number according to ISO/IEC 7812.
Error409_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 409 for AIS.
6 properties 2 required
Error400_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 400 for AIS.
6 properties 2 required
accountAccess
object
Requested access services for a consent.
5 properties
_linksConsents
object
A list of hyperlinks to be recognised by the TPP. Type of links admitted in this response (which might be extended by single ASPSPs as indicated in its XS2A do…
11 properties
tppMessage404_AIS
object
4 properties 2 required
tppMessage403_AIS
object
4 properties 2 required
_linksGetConsent
object
A list of hyperlinks to be recognised by the TPP. Links of type "account" and/or "cardAccount", depending on the nature of the consent.
2 properties
consentStatusResponse-200
object
Body of the JSON response for a successful get status request for a consent.
2 properties 1 required
iban
string
International Bank Account Number (IBAN) of an account.
recurringIndicator
boolean
If "true", the consent is for recurring access to the account data. If "false", the consent is for one-off access to the account data.
accountReference
object
Reference to an account by either IBAN, of a payment account, or BBAN, for payment accounts if there is no IBAN, or the Primary Account Number (PAN) of a card,…
8 properties
msisdn
string
Mobile phone number.
accountNumber
string
Bank account number. Used to identify the particular customer account within the financial institution.
MessageCode404_AIS
string
Message codes defined for AIS for HTTP Error code 404 (NOT FOUND).
Error405_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 405 for AIS.
6 properties 2 required
tppMessageText
string
Additional explaining text to the TPP.
Error403_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 403 for AIS.
6 properties 2 required
Error403_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 403.
2 properties
tppMessage409_AIS
object
4 properties 2 required
consentStatus
string
Overall lifecycle status of the consent. See Statuses & Types documentation for full descriptions of values.
Error401_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 401 for AIS.
6 properties 2 required
authorisations
object
An array of all authorisationIds
2 properties 1 required
lastActionDate
string
This date is containing the date of the last action on the consent object either through the XS2A interface or the PSU/ASPSP interface having an impact on the…
MessageCode403_AIS
string
Message codes defined for AIS for HTTP Error code 403 (FORBIDDEN).
tppMessage401_AIS
object
4 properties 2 required
MessageCode2XX
string
Message codes for HTTP Error codes 2XX.
bban
string
Basic Bank Account Number (BBAN) Identifier. Used nationally by financial institutions, i.e., in individual countries, generally as part of a National Account…
Error405_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 401.
2 properties
scaStatus
string
Contains information about the status of the SCA method applied. See Statuses & Types documentation for full descriptions of values.
scaStatusResponse
object
Body of the JSON response with SCA Status
3 properties
consentId
string
ID of the corresponding consent object as returned by an Account Information Consent Request.
MessageCode406_AIS
string
Message codes defined for AIS for HTTP Error code 406 (NOT ACCEPTABLE).
hrefEntry
string
Link to a resource
chosenScaMethod
frequencyPerDay
integer
The number of times per day the TPP may access the account data without PSU interaction. For one-off access, the attribute is set to "1". If not otherwise agre…
currencyCode
string
ISO 4217 Alpha 3 currency code.
tppMessage405_AIS
object
4 properties 2 required
authorisationsList
array
An array of all authorisationIds
Error404_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 404 for AIS.
6 properties 2 required
tppMessage406_AIS
object
4 properties 2 required
hrefType
object
Link to a resource
1 property
maskedPan
string
Masked Primary Account Number.
Error429_NG_AIS
object
NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 429.
2 properties
Error406_AIS
object
Standardised definition of reporting error information according to [RFC7807] in case of a HTTP error code 406 for AIS.
6 properties 2 required
MessageCode405_AIS
string
Message codes defined for AIS for HTTP Error code 405 (METHOD NOT ALLOWED).
authorisationId
string
Resource identification of the related SCA

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openpayments-io-consent-service-api-openapi.yml Raw ↑

Other APIs Open Payments publishes across the network.

Open Payments Account Information Service (AIS) API
Open Payments ASPSP Information Service API
Open Payments Bankgiro Lookup API
Open Payments FX Connect API
Open Payments ISO Payments API
Open Payments KYC Service API
Open Payments Payment Initiation Service (PIS) API
Open Payments Payout Service API
Open Payments SEPA Direct Debit API
Open Payments Verification of Payee (VoP) API
Where this information came from

This is an independent, third-party profile of Open Payments Consent Service API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.