canonical: https://jentic.com/apis/dnb.no/dnb

# Dnb No DNB PSD2 Payments API

DNB is Norway's largest bank, and its PSD2 Payments API exposes regulator-compliant access to DNB customers' bank accounts and payment initiation services. Licensed third-party providers (TPPs) can list a customer's accounts, retrieve account balances and transactions, and initiate domestic Norwegian payments. The five endpoints are designed to satisfy EU PSD2 obligations: Account Information Services (AIS) and Payment Initiation Services (PIS).

## For AI agents

List DNB bank accounts, fetch transactions, and initiate domestic Norwegian payments through PSD2-compliant Account Information and Payment Initiation Services. For licensed TPPs and personal-finance agents.

## Scope

Does not handle credit card processing, FX trading, lending products, or non-DNB bank accounts - use for PSD2 account information and domestic Norwegian payment initiation on DNB accounts only.

## Capabilities

- List the DNB accounts a customer has consented to share via GET /accounts
- Retrieve a single account's details and balances via GET `/accounts/{accountId}`
- Fetch transaction history for a consented account through `/accounts/{accountId}/transactions`
- Initiate a domestic Norwegian payment from a customer's DNB account via POST `/payments/domestic`
- Check the status of a previously initiated payment through GET `/payments/{paymentId}`

## Use cases

### Personal Finance Dashboards over DNB Accounts

Norwegian fintech apps can show DNB account balances, recent transactions, and categorised spending by combining GET /accounts, GET `/accounts/{accountId}`, and the transactions endpoint. Users grant consent through DNB's PSD2 SCA flow once, after which the TPP can refresh data on the consent's lifetime. This delivers a Mint/Tink-style experience without scraping or screen-mirroring the DNB website.

Example prompt: List DNB accounts via GET /accounts, then GET `/accounts/{accountId}/transactions` for the last 90 days for each account and aggregate by merchant category.

### Initiating Domestic Payments from a Customer's DNB Account

Licensed Payment Initiation Service Providers (PISPs) can let DNB customers pay merchants, friends, or themselves directly from their bank account, avoiding card-network fees. POST `/payments/domestic` accepts the debit account, creditor account, amount, and reference, and DNB handles authentication and settlement. Status is tracked via GET `/payments/{paymentId}` until the payment is finalised.

Example prompt: POST `/payments/domestic` with debit account, creditor account, NOK amount, and reference; then poll GET `/payments/{paymentId}` until status is 'ACSC' (settled).

### Accountancy and Reconciliation Integrations

Bookkeeping platforms and treasury teams can pull DNB transactions directly into their ledgers via `/accounts/{accountId}/transactions`, removing manual CSV exports and the lag between bank statement and ledger. Categorisation rules can be applied client-side using transaction descriptions and counterparty IDs. Combined with PISP payments, businesses can also pay supplier invoices straight from their accounting tool.

Example prompt: Fetch the previous day's transactions for the DNB business account and post them into the accounting ledger as unreconciled entries, matched to invoices where reference IDs align.

### AI Agent Banking Copilot for DNB Customers

An AI personal-finance agent can answer 'How much did I spend on groceries last month?' or 'Pay rent of NOK 12,000 to my landlord' by chaining DNB AIS and PIS operations through Jentic. OAuth2 client credentials and consent tokens stay in your Jentic One instance so the agent never holds bearer tokens directly, and the customer's SCA approval still happens at DNB.

Example prompt: Search Jentic for 'list DNB transactions', load the GET `/accounts/{accountId}/transactions` operation, and execute it with the consented account ID and date range to summarise spending by category.

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/accounts` | List consented DNB accounts |
| GET | `/accounts/{accountId}` | Retrieve a specific account's details |
| GET | `/accounts/{accountId}/transactions` | Fetch transactions for an account |
| POST | `/payments/domestic` | Initiate a domestic Norwegian payment |
| GET | `/payments/{paymentId}` | Check payment status |

## Key resources

- **Accounts** — List, retrieve, and read transactions on consented DNB customer accounts
- **Payments** — Initiate domestic Norwegian payments and check status

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 70 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 45 / 100
  - Agent Usability: 94 / 100
  - Security: 90 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/dnb.no/dnb/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring DNB PSD2 by hand means running its OAuth2 flow with eIDAS material, carrying the customer's consent token, and pointing at the api.dnb.no PSD2 host yourself. Through Jentic you install once, import the DNB PSD2 Payments API from the API Directory, store the credentials once, and your agent calls it. Strong customer authentication still happens at DNB as PSD2 requires.
- **Permission scoping:** DNB puts the account id in the URL path (`/accounts/{accountId}/transactions`), so a rule can pin your agent to one account: it can read that account and its transactions and nothing else. You choose the operations it may call, so initiating a domestic payment is not included unless you add it.
- **Credential handling:** Your DNB OAuth credentials and the customer's consent token are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'list DNB transactions' or 'initiate a domestic payment', and Jentic returns the matching DNB operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Nordea Open Banking** — Nordea's PSD2 AIS and PIS APIs across Nordic countries
- **Nordigen (GoCardless Bank Account Data)** — Aggregator covering 2,400+ EU banks via PSD2
- **Plaid** — Bank account aggregation across the US, UK, and parts of Europe

## FAQ

### What authentication does the DNB PSD2 Payments API use?

DNB requires OAuth2 with PSD2 eIDAS QWAC and QSealC certificates and a consent token tied to the customer's Strong Customer Authentication (SCA). Only licensed TPPs registered with the Norwegian FSA (or passported from another EEA regulator) can call the API. Through Jentic, OAuth client credentials are held in your Jentic One instance and injected at execution; the customer's SCA still happens at DNB.

### Can I initiate a domestic Norwegian payment with the DNB API?

Yes, POST `/payments/domestic` accepts the debit account, creditor account, NOK amount, and a reference. The customer is redirected to DNB to authorise via SCA before the payment is executed. Status updates are available via GET `/payments/{paymentId}.`

### What are the rate limits for the DNB PSD2 Payments API?

Rate limits follow PSD2 Regulatory Technical Standards: a maximum of four AIS calls per consented account per day without customer interaction, and per-TPP throttles set by DNB. Refer to DNB's developer portal for production thresholds and sandbox burst allowances.

### How do I retrieve a customer's DNB transactions through Jentic?

Search Jentic for 'list DNB transactions', load the schema for GET `/accounts/{accountId}/transactions`, and execute it with the consented accountId and a date range. Jentic returns the transaction list including counterparty, amount, and booking date.

### Is the DNB PSD2 Payments API free?

DNB does not charge for AIS and PIS calls under PSD2 obligations, but TPPs must hold a PSD2 license and the required eIDAS certificates. Costs come from the certificates and the licensing/audit overhead, not from per-call fees.

### Can I list a customer's DNB accounts before initiating a payment?

Yes, after the customer grants AIS consent, GET /accounts returns the accounts in scope. Use that list to confirm the debit account before constructing a POST `/payments/domestic` request.

### Can I limit what my agent is allowed to do with the DNB PSD2 Payments API?

Yes. Jentic One is self-hosted, so your own rules decide which DNB operations and credentials the agent may use. Because DNB puts the account id in the URL path (`/accounts/{accountId}/transactions`), a rule can pin the agent to a single consented account so it only reads that account, its balances, and its transactions. You choose the operations it may call, so initiating a domestic payment via POST `/payments/domestic` is excluded unless you explicitly add it, and the customer's SCA still happens at DNB.
