Pave Bank
Consents

Create an AIS consent

Creates an account-information consent. QWAC-gated (pre-token): the TPP is identified by its QWAC; no OAuth2 token exists yet. Returns 201 with a Location header and the SCA/authorisation links.

Requires the TPP's eIDAS QWAC over mutual TLS. No access token is needed.

POST
/v1/consents

Request Body

application/jsonRequired
accessRequiredobject
recurringIndicatorRequiredboolean

false = one-off consent (single retrieval per resource).

validUntilRequiredstring
Format: date
frequencyPerDayRequiredinteger

Unattended accesses per day. Capped at 4.

Minimum: 1
combinedServiceIndicatorboolean

Header Parameters

X-Request-IDstring

Unique request id, echoed back in the response.

Format: uuid
PSU-IP-Addressstring

IP address of the PSU device. Present marks the request as attended (PSU present); absent marks it unattended and subject to the daily cap.

Response Body

Consent created

consentStatusRequiredstring
Value in: "received" | "rejected" | "valid" | "revokedByPsu" | "expired" | "terminatedByTpp" | "partiallyAuthorised"
consentIdRequiredstring
_linksobject
curl -X POST "https://openbanking-api.pavebank.dev/v1/consents" \
  -H "X-Request-ID: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "PSU-IP-Address: string" \
  -H "Content-Type: application/json" \
  -d '{
    "access": {
      "accounts": [
        {
          "iban": "string",
          "bban": "string",
          "pan": "string",
          "maskedPan": "string",
          "msisdn": "string",
          "currency": "string"
        }
      ],
      "balances": [
        {
          "iban": "string",
          "bban": "string",
          "pan": "string",
          "maskedPan": "string",
          "msisdn": "string",
          "currency": "string"
        }
      ],
      "transactions": [
        {
          "iban": "string",
          "bban": "string",
          "pan": "string",
          "maskedPan": "string",
          "msisdn": "string",
          "currency": "string"
        }
      ],
      "availableAccounts": "allAccounts",
      "allPsd2": "allAccounts"
    },
    "recurringIndicator": true,
    "validUntil": "2019-08-24",
    "frequencyPerDay": 1,
    "combinedServiceIndicator": true
  }'
{
  "consentStatus": "received",
  "consentId": "string",
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}