Skip to content

Create consent

Create a new consent.

Request

Method: POST
Path: /v1/consents
Headers:
Accept: application/json
example-request.json
{
"account": {
"access": {
"availableAccounts": "allAccounts"
},
},
"recurringIndicator": true,
"validUntil": "2026-12-31",
"frequencyPerDay": 99
}

The request is a Psd2CreateConsent object.

Response

The following response has been generated by a service provider that utilizes OAuth 2.0 for authorization:

example-response.json
{
"consentId": "4a17b11d-1191-4ca0-8aa2-3f2f79c168af",
"consentStatus": "received",
"scaOAuth": {
"href": "https://authorization-server.com/oauth/.well-known/oauth-authorization-server"
}
}

The response is a Psd2Consent object.