createConsentUsingPOST

post

createConsentUsingPOST

Create consent

Resource URL

https://xs2a-sandbox.comdirect.de /berlingroup/v1/consents

Header Parameters


Name Description
TPP-Redirect-URI
(required)

URI of the TPP, where the user shall be redirected after consent authorization

TPP-Nok-Redirect-URI

If this URI is contained, the TPP is asking to redirect the transaction flow to this address instead of the TPP-Redirect-URI in case of a negative result of the redirect SCA method. This might be ignored by the ASPSP.

PSU-IP-Address
(required)

HTTP request IP Address field between PSU and TPP

X-Request-ID
(required)

X-Request-ID client's created ID

TPP-Explicit-Authorisation-Preferred

TPP-Explicit-Authorization-Preferred for simple or multiple consent authorisation

PSU-Accept-Language

The forwarded accept language header field consist of the corresponding HTTP request accept header between PSU and TPP, if available. Expected format is LanguageTag-CountryTag where:
- LanguageTag is any two-letters matching an ISO-639 language abbreviation
- CountryTag is any two-letters matching an ISO-3166 country code and is optional

PSU-ID

Client ID of the PSU in the ASPSP client interface.

PSU-ID-TYPE

Type of the PSU-ID; needed in scenarios where PSUs have several PSU-IDs as access possibility.

TPP-Redirect-Preferred

Specifies whether a redirect workflow is preferred for user consent signing. Specifies the TPP's preference for the authorization protocol to be used, however the final decision is made by the ASPSP.

Body Parameters


Name Description
request
(required)

Request Body

request

HTTP Basic

OAuth 2.0

API Key

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request

  • 401
    401

    Unauthorized : Incorrect certificate Unauthorized : Missing Certificate

  • 404
    404

    Not found

  • 500
    500

    Internal Server Error

Resource Summary

Security

Content Type

application/json;charset=UTF-8

Category

BerlinGroup AIS

Working...