Skip to Content

API Overview

The Lunar Open Banking API provides access to account information and payment initiation services. This section describes the main capabilities and concepts of each API domain.

Available APIs

The API is split into two main functional areas:

Account Information (AISP)

The Account Information Service Provider (AISP) APIs allow authorized third parties to access account data on behalf of users. This includes:

  • Account listing — Retrieve details of all accounts accessible to the user
  • Transaction history — Access historical transaction data with filtering and pagination
  • Funds confirmation — Check if sufficient funds are available for a payment

Learn more about Accounts →

Payment Initiation (PISP)

The Payment Initiation Service Provider (PISP) APIs enable authorized third parties to initiate payments from user accounts. Supported payment types include:

  • Domestic Credit Transfers — Standard bank transfers within the country
  • Danish Payment Slips (GIRO/FI) — Traditional Danish payment slip payments
  • Standing Orders — Recurring scheduled payments

Learn more about Payments →

Authentication

All API endpoints require OAuth2 authentication. Before making API calls, you must:

  1. Register as a TPP with valid eIDAS certificates
  2. Obtain user authorization via the OAuth2 authorization code flow
  3. Include the access token in the Authorization header

See the Access Tokens documentation for detailed authentication flows.

Scopes

The API uses OAuth2 scopes to control access to different resources:

ScopeDescriptionEndpoints
PSP_AIAccount Information — access accounts and transaction history/accounts, /accounts/{id}/transactions
PSP_PIPayment Initiation — initiate payments and check funds availability/payments/*, /funds-confirmation
offlineRequest a refresh token for long-lived access

Request the appropriate scopes when initiating the OAuth2 authorization flow.

Base URL

All API requests should be made to:

https://openbanking.prod.lunar.app/aisp-pisp
Last updated on