Check consent status
GET/v1/consents/consentId/status
Description​
Retrieve the status of a consent.
Check the current status of a consent and determine if it is active, expired, revoked or in any other state.
Request​
Path Parameters
The ID of the 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.
A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.
Responses​
- 200
- 400
- 401
- 403
- 404
- 405
- 406
- 409
- 429
- application/json
- Schema
- Example (from schema)
Schema
The status of the consent.
{
"consentStatus": "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": {}
}