Start consent authorisation
POST/v1/consents/consentId/authorisations
Description​
Initiate the authorisation process for a specific consent.
Trigger the authentication flow and select the appropriate authentication method.
It is essential for managing the security and authentication requirements within the PSD2 framework.
Request​
Path Parameters
The consentId of the related consent.
Header Parameters
ID of the request sent to the server, unique to the call, as determined by the initiating party.
The certificate used for signature verification.
The client ID associated with the request.
The PSU's ID, as determined by the PSU. This ID is the identification of the PSU within the ASPSP and contains the username that requests the consent.
A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.
Responses​
- 201
- 400
- 401
- 403
- 404
- 405
- 406
- 409
- 429
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The status of the SCA method.
The ID of the autorisation.
scaMethods object[]The methods available for the PSU to authorise the consent.
The authentication type:
Available options:
0 = "SMSOTP"
1 = "CHIPOTP"
2 = "PHOTOOTP"
3 = "PUSHOTP"
The authentication version.
The authentication method ID.
The name associated with the consent.
An explanation for the consent authorisation.
chosenScaMethod objectThe selected SCA (Strong Customer Authentication) method for the consent authorisation.
The authentication type.
Available options:
0 = "SMSOTP"
1 = "CHIPOTP",
2 = "PHOTOOTP",
3 = "PUSHOTP"
The version of the authentication.
The ID of the authentication method.
The name associated with the consent.
An explanation for the consent authorisation.
challengeData objectThe challenge data for the consent authorisation.
The image associated with the consent authorisation.
The data associated with the consent authorisation.
The link to the image associated with the consent authorisation.
The maximum length of the OTP associated with the consent authorisation.
The OTP format associated with the consent authorisation.
Available options:
0 = "CHARACTERS"
1 = "INTEGER"
Additional Information associated with the consent authorisation.
links objectLinks related to the consent authorisation.
property name object
The message for the PSU.
{
"scaStatus": "string",
"authorisationId": "string",
"scaMethods": [
{
"authenticationType": 0,
"authenticationVersion": "string",
"authenticationMethodId": "string",
"name": "string",
"explanation": "string"
}
],
"chosenScaMethod": {
"authenticationType": 0,
"authenticationVersion": "string",
"authenticationMethodId": "string",
"name": "string",
"explanation": "string"
},
"challengeData": {
"image": "string",
"data": [
"string"
],
"imageLink": "string",
"otpMaxLength": 0,
"otpFormat": 0,
"additionalInformation": "string"
},
"links": {},
"psuMessage": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
Description: 0 = "FORMATERROREnum", 1 = "PARAMETERNOTCONSISTENTEnum", 2 = "PARAMETERNOTSUPPORTEDEnum", 3 = "SERVICEINVALIDEnum", 4 = "RESOURCEUNKNOWNEnum", 5 = "RESOURCEEXPIREDEnum", 6 = "RESOURCEBLOCKEDEnum", 7 = "TIMESTAMPINVALIDEnum", 8 = "PERIODINVALIDEnum", 9 = "SCAMETHODUNKNOWNEnum", 10 = "CONSENTUNKNOWNEnum", 11 = "SESSIONSNOTSUPPORTEDEnum", 12 = "INVALIDTOTALAMOUNTEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
Description: 0 = "CERTIFICATEINVALIDEnum", 1 = "CERTIFICATEEXPIREDEnum", 2 = "CERTIFICATEBLOCKEDEnum", 3 = "CERTIFICATEREVOKEEnum", 4 = "CERTIFICATEMISSINGEnum", 5 = "SIGNATUREINVALIDEnum", 6 = "SIGNATUREMISSINGEnum", 7 = "CORPORATEIDINVALIDEnum", 8 = "PSUCREDENTIALSINVALIDEnum", 9 = "CONSENTINVALIDEnum", 10 = "CONSENTEXPIREDEnum", 11 = "TOKENUNKNOWNEnum", 12 = "TOKENINVALIDEnum", 13 = "TOKENEXPIREDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
properties object
items object
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3]
Description: 0 = "CONSENTUNKNOWNEnum", 1 = "SERVICEBLOCKEDEnum", 2 = "RESOURCEUNKNOWNEnum", 3 = "RESOURCEEXPIREDEnum"
links object
property name object
{
"authenticationSchemes": [
"string"
],
"properties": {
"items": {}
},
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "UNKNOWNEnum"
links object
property name object
{
"statusCode": 0,
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "EXCEEDEDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}