Pave Bank

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.

ServicesAIS only. Payment Initiation (PIS) and Funds Confirmation (PIIS) are not offered.
TPP identityeIDAS QWAC with the PSD2 QcStatement role PSP_AI
Customer authenticationPave Bank dashboard login with two-factor authentication (SCA)
Consent scopeOne company (legal entity) and the accounts the customer selects

Environments

EnvironmentHostCertificate
Staginghttps://openbanking-api.pavebank.devTest QWAC
Productionhttps://ob-api.pavebank.comProduction 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.

curl -X POST https://ob-api.pavebank.com/v1/tpp/redirect-uris \
  --cert qwac.pem --key qwac.key \
  -H "Content-Type: application/json" \
  -d '{"redirectUris": ["https://tpp.example.com/callback"]}'

See Registration.

curl -X POST https://ob-api.pavebank.com/v1/consents \
  --cert qwac.pem --key qwac.key \
  -H "Content-Type: application/json" \
  -H "X-Request-ID: 6f1d2c3a-0e4b-4a8e-9f3c-2b7a1d5e8c90" \
  -d '{
    "access": { "allPsd2": "allAccounts" },
    "recurringIndicator": true,
    "validUntil": "2026-12-31",
    "frequencyPerDay": 4,
    "combinedServiceIndicator": false
  }'

The response returns consentId with status received. See Consents.

Send the customer to Pave Bank

Redirect the customer to the authorization endpoint with PKCE (S256) and the scope AIS:{consentId} offline:

https://ob-api.pavebank.com/oauth2/auth
  ?client_id=PSDGE-NBG-123456
  &response_type=code
  &scope=AIS:{consentId}%20offline
  &redirect_uri=https://tpp.example.com/callback
  &state={random}
  &code_challenge={challenge}
  &code_challenge_method=S256

The customer then:

  1. Logs into the Pave Bank dashboard with two-factor authentication.
  2. Chooses the company to share. This step is skipped when they have only one.
  3. Chooses which accounts to share.
  4. 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

curl -X POST https://ob-api.pavebank.com/oauth2/token \
  --cert qwac.pem --key qwac.key \
  -d grant_type=authorization_code \
  -d client_id=PSDGE-NBG-123456 \
  -d code={code} \
  -d redirect_uri=https://tpp.example.com/callback \
  -d code_verifier={verifier}

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:

curl https://ob-api.pavebank.com/v1/accounts \
  --cert qwac.pem --key qwac.key \
  -H "Authorization: Bearer {access_token}" \
  -H "Consent-ID: {consentId}" \
  -H "PSU-IP-Address: 203.0.113.10"

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-Address when the customer is actively using the TPP's service. Requests without it count as unattended.
  • Unattended limit. Unattended reads are limited to frequencyPerDay per 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.
StatusMeaning
receivedCreated, waiting for the customer
validApproved, data can be read
rejectedThe customer denied the request
expiredPast validUntil
revokedByPsuRevoked by the customer
terminatedByTppDeleted 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.

{ "code": "permission_denied", "message": "CONSENT_EXPIRED", "details": null }
HTTPmessageWhen
400Validation reasonInvalid body, header or query parameter
401TPP not registered, token not bound to a consentCertificate or token problem
403CONSENT_UNKNOWNConsent not found for this TPP
403CONSENT_INVALIDConsent not approved, revoked, or does not cover the account
403CONSENT_EXPIREDConsent past validUntil
404account not found, transaction not foundResource does not exist
429ACCESS_EXCEEDEDDaily unattended limit reached, or one-off consent already used

On this page