Consent API (V2)

Download OpenAPI specification:Download

Consent

Consent consumer management controller.

Get Consumer Consent

Get active consumer's consents based on provided consumer identifier.

Request
header Parameters
Authorization
required
string

A JWT access token returned from the security/login method, uniquely identifying your partner login session. This is required to make requests to the API.

Request Body schema: application/json
ConsumerID
required
integer <int32>

Consumer identifier provided by Solaris

ClientRequestReference
string [ 0 .. 50 ] characters

Solaris partners should provide a reference number in each API request for tracking/auditing purpose of actions performed on the Solaris platform.

CultureID
integer <int32>

Unique identifier of the response language. Default language value is 1. i.e. UK English. Other supported values are 1 = UK English, 2 = Russian, 3 = Latvian.

Responses
200

OK

400

Bad Request

500

Internal Server Error

post/Consent/GetConsumerConsent
Request samples
application/json
{
  • "ConsumerID": 21,
  • "ClientRequestReference": "[ReferenceExample]",
  • "CultureID": 1
}
Response samples
application/json
{
  • "ResponseCode": "str",
  • "ConsentsResList": [
    ],
  • "Description": "Success",
  • "ResponseDateTime": "2021-12-21T13:58:02.899",
  • "ClientRequestReference": "reference",
  • "RequestID": 27194
}

Revoke Consumer Consent

Revoke consumer's consent by provided consent identifier.

Request
header Parameters
Authorization
required
string

A JWT access token returned from the security/login method, uniquely identifying your partner login session. This is required to make requests to the API.

Request Body schema: application/json
ConsumerID
required
integer <int32>

Unique consumer identification provided by Solaris. Required to revoke specific consent by which authorised by consumer.

ConsentIdentifier
required
integer <int64>

Consent identifier generated by Solaris. Required to revoke specific consent.

AccountIdentifiers
required
Array of integers <int32>

Account identifier list of accounts which consent needs to remove.

ClientRequestReference
string [ 0 .. 50 ] characters

Solaris partners should provide a reference number in each API request for tracking/auditing purpose of actions performed on the Solaris platform.

CultureID
integer <int32>

Unique identifier of the response language. Default language value is 1. i.e. UK English. Other supported values are 1 = UK English, 2 = Russian, 3 = Latvian.

Responses
200

OK

400

Bad Request

500

Internal Server Error

post/Consent/RevokeConsumerConsent
Request samples
application/json
{
  • "ConsumerID": 21,
  • "ConsentIdentifier": 123,
  • "AccountIdentifiers": [
    ],
  • "ClientRequestReference": "[ReferenceExample]",
  • "CultureID": 1
}
Response samples
application/json
{
  • "ResponseCode": "str",
  • "Description": "Success",
  • "ResponseDateTime": "2021-12-21T13:58:02.899",
  • "ClientRequestReference": "reference",
  • "RequestID": 27194
}
Solaris is the brand name for the regulated entities Contis Financial Services Ltd and UAB „Finansinės paslaugos „Contis“, which are part of the Solaris Group.