Create Consent
Creates a new AIS consent for accessing banking account information. Returns a web URL where the end-user can authenticate with their bank and authorize access.
The consent can be configured with various options including:
- Scope of data access (accounts, balances, transactions)
- Consent validity period
- Provider filtering
- Webhook notifications
- Custom redirect URLs
Body Parameters
API client identifier
API client secret for authentication. Required for internal (non-OAuth2) authentication mode (e.g., test-only). Not required when using OAuth2 (Bearer token) authentication.
Filter criteria for selecting AIS methods/providers
Show child attributes
Show child attributes
Show child attributes
Response
Response Attributes
Unique identifier for the API request (from x-request-id header)
Timestamp when the consent was created
Timestamp when the consent link expires (based on expires_in option)
Number of days the consent remains valid for data access after authorization
Name of the API client application
Internal UUID identifier for the consent
Public identifier for the consent (used in web URLs)
URL where the end-user can complete the consent authorization flow
Response Attributes
Unique identifier for this error instance
Request identifier for tracking and correlation
Machine-readable error code for 400 errors:
bad_request: Generic validation or request errorvalidation_error: Request payload validation failedinvalid_input: Invalid input data providedunprocessable_entity: Valid request but cannot be processedcooldown_failed: Data refresh cooldown period not yet elapsedconsent_not_active: Consent is not usable...
bad_requestvalidation_errorinvalid_inputunprocessable_entitycooldown_failedconsent_not_activemethod_selection_errormethod_input_validation_errorlink_expiredHuman-readable error message
Response Attributes
Unique identifier for this error instance
Request identifier for tracking and correlation
Machine-readable error code for 401 errors:
unauthorized: Authentication failed or insufficient permissions
unauthorizedHuman-readable error message