API Explorer 935 endpoints

Get Consents Configuration

GET /obp/v7.0.0/public/consent-config

OBPv7.0.0-getConsentsConfig No role required ConsentAPI

Returns the operator-configured consent policy for this OBP instance:

  • consents_allowed — whether consent issuance is enabled at all.
  • max_time_to_live_in_seconds — the cap enforced when a client supplies time_to_live on consent creation. Exceeding this triggers OBP-35020.
  • sca_enabled — whether Strong Customer Authentication is required for consent activation.

No Authentication is Required — clients need these values before they hold credentials.

User Authentication is Optional. The User need not be logged in.

JSON response body fields (3)
consents_allowed
consents_allowed
max_time_to_live_in_seconds
max_time_to_live_in_seconds
sca_enabled
sca_enabled
Example success response
{
  "consents_allowed": true,
  "max_time_to_live_in_seconds": 7776000,
  "sca_enabled": true
}
Possible errors (1)
  • OBP-50000: Unknown Error.
Implemented by OBPv7.0.0 getConsentsConfig