Skip to main content
You're reading Open Banking 3.0.0. The newest release is 4.0.0. Go to the newest release

DCR REST API

Download OpenAPI (YAML)Version v1.0

Base URL: https://api.financial.wso2.com

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
NameTypeRequiredDescription
issstring

Unique identifier for the TPP. Implemented as Base62 encoded GUID

iatinteger (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

expinteger (int32)

The time at which the request expires expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC

audstring

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

jtistring

Unique identifier for the JWT implemented as UUID v4

redirect_urisarray of string (uri)
token_endpoint_auth_methodstring

Allowed values: private_key_jwt, tls_client_auth

grant_typesarray of string

Allowed values: client_credentials, authorization_code, refresh_token

response_typesarray of string

Allowed values: code, code id_token

software_idstring
scopearray of string
software_statementstring (JWT)
application_typestring

Allowed values: web, mobile

id_token_signed_response_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

id_token_encrypted_response_algstring

JWE alg algorithm with which an id_token is to be encrypted

id_token_encrypted_response_encstring

JWE enc algorithm with which an id_token is to be encrypted

request_object_signing_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

token_endpoint_auth_signing_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

tls_client_auth_subject_dnstring
backchannel_token_delivery_modestring

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: poll, ping, push

backchannel_client_notification_endpointstring

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_algstring

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: RS256, PS256, ES256

backchannel_user_code_parameter_supportedboolean

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

CodeDescriptionSchema
201

Client registration

OBClientRegistrationRequestDetail
400

Request failed due to client error

RegistrationError

Get a client by way of Client ID​

GET /register/{ClientId}

Parameters

NameInTypeRequiredDescription
ClientIdpathstringYes

The client ID

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
ClientIdpathstringYes

The client ID

Request body: application/json

A request to register a Software Statement Assertion with an ASPSP

Schema: OBClientRegistrationRequestDetail

23 properties
NameTypeRequiredDescription
issstring

Unique identifier for the TPP. Implemented as Base62 encoded GUID

iatinteger (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

expinteger (int32)

The time at which the request expires expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC

audstring

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

jtistring

Unique identifier for the JWT implemented as UUID v4

redirect_urisarray of string (uri)
token_endpoint_auth_methodstring

Allowed values: private_key_jwt, tls_client_auth

grant_typesarray of string

Allowed values: client_credentials, authorization_code, refresh_token

response_typesarray of string

Allowed values: code, code id_token

software_idstring
scopearray of string
software_statementstring (JWT)
application_typestring

Allowed values: web, mobile

id_token_signed_response_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

id_token_encrypted_response_algstring

JWE alg algorithm with which an id_token is to be encrypted

id_token_encrypted_response_encstring

JWE enc algorithm with which an id_token is to be encrypted

request_object_signing_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

token_endpoint_auth_signing_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

tls_client_auth_subject_dnstring
backchannel_token_delivery_modestring

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: poll, ping, push

backchannel_client_notification_endpointstring

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_algstring

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: RS256, PS256, ES256

backchannel_user_code_parameter_supportedboolean

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

CodeDescriptionSchema
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

NameInTypeRequiredDescription
ClientIdpathstringYes

The client ID

Responses

CodeDescriptionSchema
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
NameTypeRequiredDescription
issstring

Unique identifier for the TPP. Implemented as Base62 encoded GUID

iatinteger (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

expinteger (int32)

The time at which the request expires expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC

audstring

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

jtistring

Unique identifier for the JWT implemented as UUID v4

redirect_urisarray of string (uri)
token_endpoint_auth_methodstring

Allowed values: private_key_jwt, tls_client_auth

grant_typesarray of string

Allowed values: client_credentials, authorization_code, refresh_token

response_typesarray of string

Allowed values: code, code id_token

software_idstring
scopearray of string
software_statementstring (JWT)
application_typestring

Allowed values: web, mobile

id_token_signed_response_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

id_token_encrypted_response_algstring

JWE alg algorithm with which an id_token is to be encrypted

id_token_encrypted_response_encstring

JWE enc algorithm with which an id_token is to be encrypted

request_object_signing_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

token_endpoint_auth_signing_algSupportedAlgorithms

Allowed values: RS256, PS256, ES256

tls_client_auth_subject_dnstring
backchannel_token_delivery_modestring

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: poll, ping, push

backchannel_client_notification_endpointstring

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_algstring

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: RS256, PS256, ES256

backchannel_user_code_parameter_supportedboolean

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
NameTypeRequiredDescription
errorstringYes

Allowed values: invalid_redirect_uri, invalid_client_metadata, invalid_software_statement, unapproved_software_statement

error_descriptionstring

Was this page helpful?