Skip to main content

How to Read Polish Bank Balances via API: PKO, mBank, ING

Read Polish bank accounts, balances and transactions in three calls: create a Bank Link with country POL, send the person to its url, then read the connection. At list price, a completed read with all three data types is $2.44.

How to Read Polish Bank Balances via API: PKO, mBank, ING

Contents

In this guide

Jump to the part you need.

This guide is for developers and product teams who need to read Polish bank accounts, balances and transactions through an API, including PKO Bank Polski, mBank and ING. The method is three calls: create a Bank Link for country POL, send the person to the returned url, then read the connection. A completed read with accounts, balances and transactions costs $2.44 at list price. The caveat: real-bank reads are one-time today.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Poland bank data API at a glance
ItemWhat you get
Banks in Poland27, including PKO Bank Polski, PKO Bank Polski Corporate, mBank, mBank Corporate and ING
Data you can readAccounts, balances and transactions of the accounts the person chooses to share
Access todayOne-time reads from real Polish banks. Ongoing access runs in sandbox with the Didit Test Bank and opens country by country
First callPOST https://verification.didit.me/v3/bank/links/ with country set to POL
ReadsGET /v3/bank/connections/{id}/accounts/, GET /v3/bank/accounts/{account_id}/balances/, GET /v3/bank/accounts/{account_id}/transactions/
Price in Poland$0.79 per completed sign-in, $0.35 balance add-on, $1.30 transactions add-on; $2.44 total when all three are requested
SandboxFree, with the Didit Test Bank and its test customers

Start free in the sandbox at business.didit.me, no sales call. For developers, connect Didit to an AI assistant over MCP at didit.me/developers/mcp. The bank data reference is docs.didit.me, and every unit price is on the pricing page.

What you get, and the method we recommend

Our Bank data API connects a person's or a company's bank account through a hosted flow called Bank Link, then serves the accounts, balances and transactions of that connection over REST. One idea in one sentence: a link creates a connection, a connection has accounts, and an account has balances and transactions.

We recommend the link route over any attempt to collect bank credentials yourself. The person signs in on their own bank's page, never inside our screens, and chooses which accounts to share. The connection carries the consent with its real dates, and your API key stays on your server.

In Poland the API covers 27 banks. Real-bank reads are one-time today: the data is read once when the person connects, and the connection ends itself when the read completes, showing revoked with status_reason: collection_complete. Ongoing access with real banks is available in sandbox applications with the Didit Test Bank and opens country by country. Bank sign-in inside verification workflows is available in Poland today.

Bank ids for PKO Bank Polski, mBank and ING, from Didit's public bank coverage feed read on 2026-11-24.
Bankinstitution_idAccountsAccess
PKO Bank Polskipl-pko-bank-polskiPersonal and businessOne time
PKO Bank Polski Corporatepl-pko-bank-polski-corporateBusinessOne time
mBankpl-mbankPersonalOne time
mBank Corporatepl-mbank-corporateBusinessOne time
INGpl-ingPersonal and businessOne time

Bank names are used only to identify the bank where the account holder signs in. Didit is not affiliated with these banks.

Prerequisites

  • A Didit organization. Create a sandbox application in the Business Console at business.didit.me.
  • An API key that can read Bank data. A full-access key works, and so does the application's primary secret and any key created without scopes. A key with custom access reads Bank data only when its scopes name Bank data: Read for the reads, Write for calls that create, change or delete something.
  • The key exported on your server as DIDIT_API_KEY. It never reaches a browser or an app.
  • A redirect_url on a domain you control. In a sandbox application only a localhost address works today.
  • For one bank directly, its institution_id, for example pl-pko-bank-polski.

Read PKO, mBank or ING data in five steps

  1. Create the API key. In the Business Console open your sandbox application and go to API keys. Create a named key, copy it and export it on the server: export DIDIT_API_KEY="your-sandbox-key".

  2. Create a Bank Link with country POL. Name the data you want in the data array.

    curl -X POST https://verification.didit.me/v3/bank/links/ -H "x-api-key: $DIDIT_API_KEY" -H "content-type: application/json" -d '{"access": "one_time", "country": "POL", "data": ["accounts", "balances", "transactions"]}'

    Adding "institution_id": "pl-pko-bank-polski" opens PKO directly and skips the bank picker. The person can still choose another bank the link allows, for example when that one is unavailable, and the connection reports the bank that was actually connected. Send "institution_id": "pl-ing" for ING and "institution_id": "pl-mbank-corporate" for mBank Corporate.

  3. Send the person to the returned url. Open it in a browser, or send it by email or chat. We host the consent, bank picker, account selection and result screens. The person signs in on the bank's own page. A one-time read ends on a screen that says nothing stays connected to the bank.

    The four screens of a one-time Bank Link read: consent, bank picker, account selection and the final shared screen
    The four hosted Bank Link screens of a one-time read, from consent to the confirmation that nothing stays connected.
    Account selection with three Didit Test Bank accounts ticked and a Share 3 accounts button
    The account selection step: the person ticks the accounts to share, and the API reads only those.
  4. Read the accounts, balances and transactions. The connection carries the accounts. Each account keeps an id that never changes while the connection exists.

    # accounts of the connection
    curl https://verification.didit.me/v3/bank/connections/$CONNECTION_ID/accounts/ -H "x-api-key: $DIDIT_API_KEY"
    
    # balances of one account
    curl https://verification.didit.me/v3/bank/accounts/$ACCOUNT_ID/balances/ -H "x-api-key: $DIDIT_API_KEY"
    
    # transactions of one account
    curl https://verification.didit.me/v3/bank/accounts/$ACCOUNT_ID/transactions/ -H "x-api-key: $DIDIT_API_KEY"
  5. Confirm from your server, never from the browser. Read the link with GET /v3/bank/links/{id}/, or subscribe a webhook destination to the bank.* events. bank.link.completed arrives with the link_id and the connection_id, then bank.connection.created when the first sync has stored the accounts.

Expected output

This is the shape of the link creation response, shortened to the fields that matter. The dates below are placeholders from an example response, not a live link. Keep the id with your user. The url and the client_token are returned once, when the link is created.

{
  "id": "0b9c4f1e-6a2d-4e8b-9f31-7c5d2e1a8b40",
  "mode": "connect",
  "access": "one_time",
  "status": "created",
  "url": "https://verify.didit.me/bank/link/...",
  "expires_at": "",
  "connection_id": null
}

The three reads then answer in the objects the documentation describes:

  • Accounts. GET /v3/bank/connections/{id}/accounts/ lists the accounts of the connection. limit defaults to 100 and caps at 500, and the list continues with cursor. account_ref recognises the bank account, but key an account by its id, because several accounts of one connection can share a reference.
  • Balances. GET /v3/bank/accounts/{account_id}/balances/ returns typed amounts at a reference date. Balances are read for every account the bank shares, and the value is replaced at each sync.
  • Transactions. GET /v3/bank/accounts/{account_id}/transactions/ returns the movements of one account, each with an id that is stable within its connection. The date-range read continues with page_token.

Reading never bills. You can read the same connection again and again until the date in consent.retain_until.

Business accounts in Poland: PKO Corporate, mBank Corporate, ING

Business accounts are supported bank by bank, and the bank table is the source of truth. In Poland, pl-pko-bank-polski-corporate and pl-mbank-corporate are business only, pl-pko-bank-polski and pl-ing serve personal and business accounts, and pl-mbank is listed for personal accounts. The full list of 27 banks and what each serves sits in the Poland bank data page.

Give the caller the corporate id when the company banks on the corporate platform. If you also need to confirm that the account holder matches the company, the holder comparison is optional: a link with ownership.compare, or the Bank Verification step of a verification session, both priced per completed sign-in. Companies that are not yet verified can go through business verification first, from $2.00 per company, with linked KYC and person AML billed per person.

Business verification can provide the verified company used in an optional account-holder comparison.

Troubleshooting: failure cases and recovery

Common Bank data API errors and connection states in Poland
What you seeWhat it meansWhat to do
400 country_not_availableThe country is not served, or no bank is offered there.Send POL as the three-letter country code and check the coverage page for the banks that support your requested data.
Expired or cancelled linkLinks live minutes to hours, then expire.Create a new link. A link nobody completes is free.
409 one_time_connectionYou refreshed or renewed a one-time connection.Create a new link to read the bank again.
409 renewal_not_needed or 409 renewal_window_expiredThe ongoing connection is outside its renewal window.Renew only inside the window. A renewal keeps the connection id and every account id.
status: failed with status_reason: first_sync_failed or status_reason: insufficient_balanceThe first read did not complete and the connection cannot be resumed.Create a new link.
status: pausedThe current month could not be paid, so syncing stopped.Syncing resumes by itself once your balance covers it, when a credit reaches your wallet or at the daily check at 05:30 UTC.
status: renewal_requiredThe consent ended, or the bank asks the person to sign in again.Data stays readable as last synced until the consent retention date. Use the renewal flow if the connection can be renewed.
status: revokedAccess was stopped by the person, the bank or you, or a one-time read completed.Data stays readable until consent.retain_until. Create a new link if you need fresh data.
Authorisation error on any operation except the account checkThe key's scopes do not name Bank data.Use a full-access key or add the Bank data scope.

Errors carry code, message, request_id, field, next_action and retry_after. Branch on code, not on the message. Every write accepts an Idempotency-Key, so a retried create does not produce a second link.

Inputs and outputs

Inputs you send when creating a Polish Bank Link
InputWhat it does
accessone_time or ongoing. One-time is the default and the only mode open to real Polish banks today
countryThree-letter country of the person's bank. Send POL so the picker shows Polish banks only
dataAny of accounts, balances, transactions
institution_idOpens one bank directly, for example pl-pko-bank-polski, pl-mbank or pl-ing
history_daysHow far back the transaction read goes
redirect_urlReturns the person to your site. Sandbox applications accept localhost today
vendor_dataYour own reference, echoed back to you
allow_one_time_fallbackLets a person continue with a one-time read at a bank that cannot keep access open
consent_daysThe consent length you ask for. The bank sets the real end, shown on the connection
Idempotency-KeyHeader on every write, so a retry does not create a duplicate
What the API gives back
OutputWhat it is
Link id, url, expires_atThe identity of the run, the hosted page you send the person to, and when it stops working
connection_idFilled once the person completes the flow. The key to every read
Connection statuspending, active, renewal_required, paused, revoked, deleted or failed, with status_reason
AccountsOne object per shared account, with a stable id and an account_ref
BalancesTyped amounts per account at a reference date, replaced at each sync
TransactionsMovements per account with ids stable within the connection
consentexpires_at, renew_by, renewable_until, retain_until and who ended access

What is paid, and where review stops

In Poland the billable units are the completed bank sign-in at $0.79, the balance add-on at $0.35 and the transactions add-on at $1.30. A link nobody completes is free. Reads never bill, so paginating through a year of transactions costs nothing extra. Ongoing access, once it opens for real banks, is priced per active connection per month. Today the one-time read is the line that applies.

The control is the person's own consent at their own bank, and the connection status tells you when that consent ends. If you add the holder comparison, it is a check with its own price: a link with ownership.compare, or the Bank Verification step of a verification session, is priced per completed sign-in.

Worked cost example

Take 1,000 completed one-time reads in Poland, each asking for accounts, balances and transactions at list price:

  • Bank sign-in: 1,000 × $0.79 = $790.00
  • Balances add-on: 1,000 × $0.35 = $350.00
  • Transactions add-on: 1,000 × $1.30 = $1,300.00
  • Total: 1,000 × $2.44 = $2,440.00

Two things reduce that total in practice. Abandoned links add nothing, because a link nobody completes is free. Re-reading the same connection adds nothing either, because reads never bill. Sandbox runs are $0 on every plan.

Plans determine your monthly credit, and Growth and Scale also discount Didit unit prices. Free gives $10.00 of monthly credit; Growth is $99.00 a month with $115.00 of credit and 4% off; Scale is $299.00 a month with $350.00 of credit and 10% off. Read the current numbers on the pricing page.

Test in the sandbox before you touch a real bank

The Didit Test Bank covers the hard cases: business accounts, long history, pending transactions and one-time-only banks. Run the whole flow there, including ongoing access, before you point the link at PKO, mBank or ING. Nothing is charged in sandbox, and the sandbox page lists the test customers and what each one gives you.

If you drive Didit from an AI assistant, the MCP server is hosted at https://mcp.didit.me/mcp with OAuth sign-in, and setup for every client is at didit.me/developers/mcp. The server SDKs will expose these operations under the bank resource in a coming release, so call the REST endpoints above for now.

Sources

Next step: create a sandbox application at business.didit.me, copy the link request above with country set to POL, and read your first Polish connection against the Didit Test Bank. No sales call, nothing charged in sandbox.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

How do I read Polish bank balances and transactions through an API?

Create a Bank Link with POST https://verification.didit.me/v3/bank/links/, sending country as POL and data as ["accounts", "balances", "transactions"]. Send the account holder to the returned url, where they sign in at their own bank and consent. Then read GET /v3/bank/connections/{id}/accounts/ and, per account, GET /v3/bank/accounts/{account_id}/balances/ and GET /v3/bank/accounts/{account_id}/transactions/.

Which Polish banks can I connect with Didit?

27 banks in Poland, including PKO Bank Polski, PKO Bank Polski Corporate, mBank, mBank Corporate, ING, Alior Bank, Bank Pekao, Millennium Bank, VeloBank and Revolut. The full table with every institution_id is regenerated daily from Didit's public bank coverage feed and published on the Poland bank data page.

What is the institution_id for PKO Bank Polski?

pl-pko-bank-polski for personal and business accounts, and pl-pko-bank-polski-corporate for the corporate platform. Pass it as institution_id when you create the link to open that bank directly and skip the picker.

Can I read business accounts at PKO Corporate, mBank Corporate and ING?

Yes where the bank supports it. pl-pko-bank-polski-corporate and pl-mbank-corporate are business only, while pl-ing and pl-pko-bank-polski serve personal and business accounts. Business support is decided bank by bank, and the bank table is the source of truth.

Is ongoing access to real Polish banks available today?

No. One-time reads of real banks are open to live applications, and the connection ends itself once the read completes. Ongoing access with real banks is available in sandbox applications with the Didit Test Bank and opens country by country.

What does one Polish bank read cost?

$0.79 per completed bank sign-in, plus $0.35 when you ask for balances and $1.30 when you ask for transactions. A read with all three comes to $2.44 per completed sign-in at list price. A link nobody completes is free, and sandbox is $0.

Do the read calls cost anything after the sign-in?

No. Reads never bill, so you can paginate accounts, balances and transactions as often as you need. You pay for the completed sign-in and the add-ons you asked for on the link, not per request.

How long can I read a one-time connection's data?

Until the date in consent.retain_until. The connection itself ends when the read completes, showing revoked with status_reason: collection_complete, but the collected data stays readable through the same endpoints. After that, refresh or renewal answers 409 one_time_connection and you create a new link.

What happens if the person never finishes the link?

The link expires on its own and nothing is charged. Create a fresh link when the person is ready; the url and client_token are only returned when a link is created, so you cannot reuse an old one.

Why does my create call return country_not_available?

The 400 country_not_available error means the country is not served, or no bank is offered there. For Poland send the three-letter code POL in the country field and check the coverage page for the banks that can do what your link asks.

Can I test this without a real bank account?

Yes. The Didit Test Bank in sandbox includes business accounts, long history, pending transactions and one-time-only banks, and the sandbox page lists the test customers and what each one returns. Nothing is charged in sandbox, on any plan.

Can an AI assistant call Didit's bank data API?

Yes, through our hosted MCP server at https://mcp.didit.me/mcp with OAuth sign-in, with setup for every client at https://didit.me/developers/mcp. The REST endpoints in this guide remain the reference, and the server SDKs will expose them under the bank resource in a coming release.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.