Overview
Account Information Service (AIS) for licensed third-party providers
Overview
Pave Bank exposes an Account Information Service (AIS) for third-party providers (TPPs) licensed as Account Information Service Providers (AISPs). With the customer's consent, a TPP can read account details, balances and transactions.
The interface follows the Berlin Group NextGenPSD2 XS2A Framework v1.3.16 (AIS profile), as adopted by the National Bank of Georgia, using the OAuth2 SCA approach.
| Services | AIS only. Payment Initiation (PIS) and Funds Confirmation (PIIS) are not offered. |
| TPP identity | eIDAS QWAC with the PSD2 QcStatement role PSP_AI |
| Customer authentication | Pave Bank dashboard login with two-factor authentication (SCA) |
| Consent scope | One company (legal entity) and the accounts the customer selects |
Environments
| Environment | Host | Certificate |
|---|---|---|
| Staging | https://openbanking-api.pavebank.dev | Test QWAC |
| Production | https://ob-api.pavebank.com | Production QWAC |
The API is under /v1. The OAuth2 endpoints (/oauth2/auth, /oauth2/token) are on the same host, and discovery metadata is at /.well-known/openid-configuration.
How it works
Connect with a QWAC
Every request uses mutually authenticated TLS with the TPP's QWAC. There is no sign-up: the TPP is enrolled automatically on its first request with a valid certificate.
The OAuth2 client_id is the organizationIdentifier from the QWAC, for example PSDGE-NBG-123456.
Register redirect URIs
Register the URIs Pave Bank may send the customer back to. This is needed once, and again when a URI changes.
See Registration.
Send the customer to Pave Bank
Redirect the customer to the authorization endpoint with PKCE (S256) and the scope AIS:{consentId} offline:
The customer then:
- Logs into the Pave Bank dashboard with two-factor authentication.
- Chooses the company to share. This step is skipped when they have only one.
- Chooses which accounts to share.
- Reviews and approves, or denies, the request.
Only company Admins can approve. Pave Bank then redirects back to the redirect_uri with code and state, or with error=access_denied if the customer denied.
Exchange the code for a token
The access token is bound to the consent. The offline scope also returns a refresh token.
Read account data
Send the token and the matching Consent-ID on every read:
See Accounts, Balances and Transactions.
Access rules
- Approved accounts only. The consent covers only the company and accounts the customer approved, even if the request asked for
allPsd2. - Customer present or not. Send
PSU-IP-Addresswhen the customer is actively using the TPP's service. Requests without it count as unattended. - Unattended limit. Unattended reads are limited to
frequencyPerDayper account and data type per day, up to a maximum of 4. - One-off consents. With
recurringIndicator: false, each resource can be read once. - Ongoing checks. On every read, Pave Bank checks that the company is still active and that the approving customer is still an Admin who can view the account.
Consent status
| Status | Meaning |
|---|---|
received | Created, waiting for the customer |
valid | Approved, data can be read |
rejected | The customer denied the request |
expired | Past validUntil |
revokedByPsu | Revoked by the customer |
terminatedByTpp | Deleted by the TPP with DELETE /consents/{consentId} |
Errors
Errors return a JSON body with code and message. For consent checks, message is the Berlin Group code.
| HTTP | message | When |
|---|---|---|
| 400 | Validation reason | Invalid body, header or query parameter |
| 401 | TPP not registered, token not bound to a consent | Certificate or token problem |
| 403 | CONSENT_UNKNOWN | Consent not found for this TPP |
| 403 | CONSENT_INVALID | Consent not approved, revoked, or does not cover the account |
| 403 | CONSENT_EXPIRED | Consent past validUntil |
| 404 | account not found, transaction not found | Resource does not exist |
| 429 | ACCESS_EXCEEDED | Daily unattended limit reached, or one-off consent already used |