Create consent
POST/v2/consents/confirmation-of-funds
Description​
Generate a consent that defines access rights to specific accounts for a given PSU_ID.
Control access to dedicated accounts and manage recurring access permissions effectively.
Request​
Header Parameters
The unique request identifier associated with the consent.
The certificate used for signature verification.
The client ID associated with the request.
The Personalized Security User Identification linked to the consent. 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 or initiates the payment.
A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.
- application/json
Body parameters
account objectInformation regarding the account involved in the transaction.
The International Bank Account Number (IBAN) for the transaction.
The Basic Bank Account Number (IBAN) for the transaction.
The Primary Account Number (IBAN) for the transaction.
The partially masked PAN for the transaction.
The Mobile Station International Subscriber Directory Number (MSISDN) for the transaction.
The currency in which the transaction is being processed.
The card number linked to the transaction.
The expiration date of the card used in the transaction.
Information related to the card used in the transaction.
Information regarding the registration process for the transaction.
Responses​
- 201
- 400
- 401
- 403
- 404
- 405
- 406
- 409
- 429
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The status of the consent. Available options:
0 = "received"
1 = "rejected"
2 = "valid"
3 = "revokedByPsu"
4 = "expired"
5 = "terminatedByTpp"
scaMethods object[]The list of available SCA methods.
The type of the SCA method. Available options:
0 = "SMSOTP"
1 = "CHIPOTP"
2 = "PHOTOOTP"
3 = "PUSHOTP"
chosenScaMethod objectThe Strong Customer Authentication (SCA) method chosen for the consent.
The type of the authentication method. Available options:
0 = "SMSOTP"
1 = "CHIPOTP"
2 = "PHOTOOTP"
3 = "PUSHOTP"
challengeData objectThe data related to any challenge presented during the consent process.
The format in which the one-time password (OTP) is presented.
Available options: 0 = "CHARACTERS", 1 = "INTEGER".
links objectThe links to other resources related to the consent.
{
"consentStatus": 0,
"consentId": "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": {},
"message": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]The messages related to third-party providers (TPPs) included in the response.
The category classification of the TPP message.
Available options: 0 = "ERROR", 1 = "WARNING"
The specific error code returned in the response. Available options: 0-12.
links objectThe hyperlinks or references included in the response data.
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
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[]
Description: 0 = "ERROR", 1 = "WARNING"
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[]
Description: 0 = "ERROR", 1 = "WARNING"
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[]
Description: 0 = "ERROR", 1 = "WARNING"
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[]
Description: 0 = "ERROR", 1 = "WARNING"
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[]
Description: 0 = "ERROR", 1 = "WARNING"
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[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "EXCEEDEDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}