DCR REST API
Security schemes
TPPOAuth2Security: oauth2
TPP client credential authorisation flow with the ASPSP. No scopes defined as per specification
clientCredentials flow, token URL https://authserver.example/token
Client Registration
Register a client by way of a Software Statement Assertion
POST /register
Endpoint will be secured by way of Mutual Authentication over TLS
Request body: application/json
A request to register a Software Statement Assertion with an ASPSP
Schema: OBClientRegistrationRequestDetail
23 properties
| Name | Type | Required | Description |
|---|---|---|---|
iss | string | Unique identifier for the TPP. Implemented as Base62 encoded GUID | |
iat | integer (int32) | The time at which the request was issued by the TPP expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC | |
exp | integer (int32) | The time at which the request expires expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC | |
aud | string | The audience for the request. This should be the unique identifier for the ASPSP issued by the issuer of the software statement. Implemented as Base62 encoded GUID | |
jti | string | Unique identifier for the JWT implemented as UUID v4 | |
redirect_uris | array of string (uri) | ||
token_endpoint_auth_method | string | Allowed values: | |
grant_types | array of string | Allowed values: | |
response_types | array of string | Allowed values: | |
software_id | string | ||
scope | array of string | ||
software_statement | string (JWT) | ||
application_type | string | Allowed values: | |
id_token_signed_response_alg | SupportedAlgorithms | Allowed values: | |
id_token_encrypted_response_alg | string | JWE | |
id_token_encrypted_response_enc | string | JWE | |
request_object_signing_alg | SupportedAlgorithms | Allowed values: | |
token_endpoint_auth_signing_alg | SupportedAlgorithms | Allowed values: | |
tls_client_auth_subject_dn | string | ||
backchannel_token_delivery_mode | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba Allowed values: | |
backchannel_client_notification_endpoint | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba and backchannel_token_delivery_mode is not poll. This must be a valid HTTPS URL | |
backchannel_authentication_request_signing_alg | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba. Allowed values: | |
backchannel_user_code_parameter_supported | boolean | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified only if the grant_types includes urn:openid:params:grant-type:ciba. If specified, it MUST be set to false. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Client registration | OBClientRegistrationRequestDetail |
400 | Request failed due to client error | RegistrationError |
Get a client by way of Client ID
GET /register/{ClientId}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
ClientId | path | string | Yes | The client ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Client registration | OBClientRegistrationRequestDetail |
401 | Request failed due to unknown or invalid Client or invalid access token | |
403 | The client does not have permission to read, update or delete the Client |
Update a client by way of Client ID
PUT /register/{ClientId}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
ClientId | path | string | Yes | The client ID |
Request body: application/json
A request to register a Software Statement Assertion with an ASPSP
Schema: OBClientRegistrationRequestDetail
23 properties
| Name | Type | Required | Description |
|---|---|---|---|
iss | string | Unique identifier for the TPP. Implemented as Base62 encoded GUID | |
iat | integer (int32) | The time at which the request was issued by the TPP expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC | |
exp | integer (int32) | The time at which the request expires expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC | |
aud | string | The audience for the request. This should be the unique identifier for the ASPSP issued by the issuer of the software statement. Implemented as Base62 encoded GUID | |
jti | string | Unique identifier for the JWT implemented as UUID v4 | |
redirect_uris | array of string (uri) | ||
token_endpoint_auth_method | string | Allowed values: | |
grant_types | array of string | Allowed values: | |
response_types | array of string | Allowed values: | |
software_id | string | ||
scope | array of string | ||
software_statement | string (JWT) | ||
application_type | string | Allowed values: | |
id_token_signed_response_alg | SupportedAlgorithms | Allowed values: | |
id_token_encrypted_response_alg | string | JWE | |
id_token_encrypted_response_enc | string | JWE | |
request_object_signing_alg | SupportedAlgorithms | Allowed values: | |
token_endpoint_auth_signing_alg | SupportedAlgorithms | Allowed values: | |
tls_client_auth_subject_dn | string | ||
backchannel_token_delivery_mode | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba Allowed values: | |
backchannel_client_notification_endpoint | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba and backchannel_token_delivery_mode is not poll. This must be a valid HTTPS URL | |
backchannel_authentication_request_signing_alg | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba. Allowed values: | |
backchannel_user_code_parameter_supported | boolean | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified only if the grant_types includes urn:openid:params:grant-type:ciba. If specified, it MUST be set to false. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Client registration | OBClientRegistrationRequestDetail |
400 | Request failed due to client error | RegistrationError |
401 | Request failed due to unknown or invalid Client or invalid access token | |
403 | The client does not have permission to read, update or delete the Client |
Delete a client by way of Client ID
DEL /register/{ClientId}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
ClientId | path | string | Yes | The client ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Client deleted | |
401 | Request failed due to unknown or invalid Client or invalid access token | |
403 | The client does not have permission to read, update or delete the Client | |
405 | The client does not have permission to read, update or delete the Client |
Schemas
SupportedAlgorithms
Type: string
OBClientRegistrationRequestDetail
Type: object
23 properties
| Name | Type | Required | Description |
|---|---|---|---|
iss | string | Unique identifier for the TPP. Implemented as Base62 encoded GUID | |
iat | integer (int32) | The time at which the request was issued by the TPP expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC | |
exp | integer (int32) | The time at which the request expires expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC | |
aud | string | The audience for the request. This should be the unique identifier for the ASPSP issued by the issuer of the software statement. Implemented as Base62 encoded GUID | |
jti | string | Unique identifier for the JWT implemented as UUID v4 | |
redirect_uris | array of string (uri) | ||
token_endpoint_auth_method | string | Allowed values: | |
grant_types | array of string | Allowed values: | |
response_types | array of string | Allowed values: | |
software_id | string | ||
scope | array of string | ||
software_statement | string (JWT) | ||
application_type | string | Allowed values: | |
id_token_signed_response_alg | SupportedAlgorithms | Allowed values: | |
id_token_encrypted_response_alg | string | JWE | |
id_token_encrypted_response_enc | string | JWE | |
request_object_signing_alg | SupportedAlgorithms | Allowed values: | |
token_endpoint_auth_signing_alg | SupportedAlgorithms | Allowed values: | |
tls_client_auth_subject_dn | string | ||
backchannel_token_delivery_mode | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba Allowed values: | |
backchannel_client_notification_endpoint | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba and backchannel_token_delivery_mode is not poll. This must be a valid HTTPS URL | |
backchannel_authentication_request_signing_alg | string | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified iff the grant_types includes urn:openid:params:grant-type:ciba. Allowed values: | |
backchannel_user_code_parameter_supported | boolean | As defined in CIBA - Registration and Discovery Metadata. This value MUST be specified only if the grant_types includes urn:openid:params:grant-type:ciba. If specified, it MUST be set to false. |
RegistrationError
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
error | string | Yes | Allowed values: |
error_description | string |
Was this page helpful?