Migrating from Ponto to mybanx.io

A practical guide for developers who currently read bank data or start payments through the Ponto (Ponto Connect) API and want to move to the mybanx.io API.


Scope. This guide covers the indirect scenario (your software accesses your customers' bank accounts, the Ponto Connect equivalent) and notes where the direct scenario (your own company's accounts, the Ponto "custom integration" equivalent) is simpler.
Ponto names and endpoints below describe a typical Ponto Connect integration. Check them against your own code before you start.


1. At a glance

TopicPonto Connectmybanx.io
Base URLhttps://api.ibanity.com/ponto-connecthttps://api.mybanx.io/v2 (v1 is legacy)
API styleJSON:API (data, attributes, links, meta)Plain JSON
AuthenticationOAuth2 authorization code + PKCE, client certificate (mTLS)applicationKey + clientKey → bearer (2 h) + single-use refresh token (30 days)
Customer onboardingRedirect to Ponto OAuth consent screenCustomer grants your validated app access in mybanx, or you send an invitation via API
AccountsGET /accountsGET /v2/indirect/companies → GET /v2/indirect/companies/{companyId}/bankaccounts
BalancesAttributes on the account (currentBalance, availableBalance)GET …/balances and GET …/balances/all (typed, ISO 20022 balance types)
TransactionsGET /accounts/{id}/transactions, cursor paging (before/after, limit)GET …/transactions/pages/{pageId}, page index + sequence for incremental sync
Pending transactionsGET /accounts/{id}/pending-transactionsNot available (available-type balances include pending amounts)
Data refreshScheduled syncs + POST /synchronizationsScheduled by mybanx + forceRefresh=true on the transactions call
Push notificationsWebhooks (signed JWT)Not available, so poll with sequence
Consent renewalReauthorization requestsPOST …/renew returns a bank URL
Single / bulk paymentspayments, bulk-payments (with status lookup & delete)payment, bulkpayment (create only, no status endpoint yet)
Collecting moneyPayment requestsRequest to Pay: payment links + QR codes
Statement filesNot availableExport as CODA, CAMT.053, MT940, CSV, HTML
IdempotencyIbanity idempotency key headerIdempotency-Key header, 24 h replay window
Rate limitPer Ibanity policy240 requests / minute / IP (503 when exceeded)
SandboxYes (test banks, accounts, transactions)Not documented: test on your own company's real accounts

2. Before you write code

  1. Create a mybanx user and company at mybanx.io and link at least one of your own bank accounts.
  2. Create an application key on your own company (menu Applications). You get an applicationKey and a clientKey.
  3. Build and test against your own accounts first. There is no documented sandbox, so use small real amounts for payment tests.
  4. Request app validation from mybanx. Only a validated app is offered to other mybanx users when they create an application key, and only then can customers share accounts with you. Start this early, because it is outside your control.
  5. Check pricing: indirect access is at least €60 per customer per year (paid by the customer when creating the link, or via your own pricing model with revenue share). Direct access is €60 per year for your own company.

3. Authentication

Ponto (before)

  • OAuth2 authorization code flow with PKCE per customer, client certificate on every call, access token + refresh token per customer.

mybanx (after)

  • One key pair per application/instance. No per-customer OAuth token: customer access is granted inside mybanx and shows up as companies/accounts your key can read.
import requests, time, uuid

BASE = "https://api.mybanx.io/v2"

class MybanxAuth:
    def __init__(self, application_key, client_key):
        self.app_key, self.client_key = application_key, client_key
        self.bearer = self.refresh_token = None
        self.valid_until = 0

    def _login(self):
        r = requests.post(f"{BASE}/auth", json={
            "applicationKey": self.app_key, "clientKey": self.client_key})
        r.raise_for_status()
        self._store(r.json())

    def _refresh(self):
        r = requests.post(f"{BASE}/auth/refresh", json={"refreshToken": self.refresh_token})
        if r.status_code == 401:          # expired, reused, revoked, or licence ended
            return self._login()
        r.raise_for_status()
        self._store(r.json())

    def _store(self, body):
        self.bearer = body["bearer"]
        self.refresh_token = body["refreshToken"]   # single use: always replace
        self.valid_until = parse_utc(body["validUntil"])

    def headers(self):
        if not self.bearer:
            self._login()
        elif time.time() > self.valid_until - 300:  # refresh 5 min early
            self._refresh()
        return {"Authorization": f"Bearer {self.bearer}"}

Watch out

  • Refresh tokens are single use. Presenting a used one revokes all refresh tokens for that clientKey. Give each running instance its own clientKey, or route every refresh through one process (e.g. a lock or a token service).
  • Simply calling POST /auth again on expiry is also supported. Refresh tokens are optional.
  • Keep keys and tokens server-side and out of logs.
  • Delete your mTLS certificate handling and PKCE code once Ponto is switched off.

4. Customer onboarding

Ponto (before)

Your app redirects the customer to Ponto, they log in, pick accounts, and you exchange the authorization code for tokens.

mybanx (after)

Two options, both requiring a validated app:

A. The customer finds your app in mybanx. When creating an application key, they select your app and choose which bank accounts to share.

B. You invite them via the API:

POST /v2/indirect/companies/{yourCompanyId}/invitation
Authorization: Bearer <token>
Content-Type: application/json
Idempotency-Key: <new uuid>

{
  "sharingKey": "<your sharing key>",
  "applicationKey": "<your application key>",
  "senderEmail": "[email protected]",
  "invitations": [{
    "userFirstName": "Ann", "userLastName": "Peeters",
    "userEmail": "[email protected]", "userMobile": "+32470000000",
    "country": "BE",
    "userLanguage": "nl", "companyName": "Customer NV", "companyVAT": "BE0123456789"
  }]
}

The response contains recordsCreated. If any invitation in the array is rejected, the whole call fails with 500, so send invitations in small batches (or one by one) during a migration.

Linking customers to your records. Ponto gave you a token per customer at the end of the OAuth flow. In mybanx, customers appear in GET /v2/indirect/companies. Match them to your internal customer records (e.g. on VAT number or company name), and store the mybanx companyId against the customer.

Revocation. A customer can revoke access at any time. Their company disappears from the companies list and calls on their accounts return 401. Treat this as a normal "disconnected" state, not as an error to retry. (There is no API call to revoke access from your side, unlike Ponto.)


5. Accounts and balances

GET /v2/indirect/companies                                   → companies sharing with you
GET /v2/indirect/companies/{companyId}/bankaccounts          → their shared accounts (204 = none)
GET /v2/indirect/bankaccounts/{bankAccountId}/balances       → latest balance (204 = none yet)
GET /v2/indirect/bankaccounts/{bankAccountId}/balances/all   → latest balance per type

(For your own company: drop /indirect and use GET /v2/companies/bankaccounts.)

Account field mapping

Ponto account attributemybanx bank account fieldNotes
ididNew IDs, so keep a mapping table (ponto_account_id ↔ mybanx_bank_account_id), matched on IBAN
reference (IBAN)accountUse this to match accounts
currencycurrency
currentBalance / availableBalancebalance, or /balancesSee balance types below
authorizationExpirationExpectedAtvalidUntilConsent expiry
financialInstitution relationshipconnectorIdBank name/country available from payment/info
subtype / productcashAccountType
holderName, descriptionnot documentedKeep the values you already store
synchronizedAtnot documentedTrack your own "last fetched" timestamp

Balance types (balanceType, numeric)

ValueCodeMeaningClosest Ponto field
0CLBDClosing booked (start of day)currentBalance
1CLAVClosing available (incl. pending)availableBalance
2ITBDInterim bookedcurrentBalance
3ITAVInterim available (incl. pending)availableBalance
4OPAVOpen available (incl. pending)availableBalance
5XPCDExpected cleared (incl. pending)availableBalance
98MBXCalculated by mybanx from transactionsnone
99OTHRUnknownnone

Suggested rule: for a "booked" balance prefer 2 → 0 → 98. For an "available" balance prefer 3 → 4 → 1 → 5. Use /balances/all and pick the first type present.


6. Transactions

Endpoint

GET /v2/indirect/bankaccounts/{bankAccountId}/transactions/pages/{pageId}
    ?pageSize=200          (1–200, default 200)
    &sequence=<lowest seen> (only newer transactions)
    &forceRefresh=true     (optional: ask the bank first; slow, use on user demand only)
GET /v2/indirect/bankaccounts/{bankAccountId}/first   → date of the oldest transaction held

Results are newest first. pageId runs from 0 to 999. Response codes:

CodeMeaningAction
200Page of transactionsProcess
204End of listStop paging
206Transactions returned, but bank consent is inactive (data is stale)Process, then flag the account for consent renewal (§7)

Field mapping

Ponto transaction attributemybanx fieldNotes
ididNot stable: may change over time. Don't use alone as key
nonesequenceUnique per account; decreases over time (lower = newer)
amountamountBoth signed; negative = outgoing
currencycurrency
counterpartNamecounterpartName
counterpartReferencecounterpartReferenceIBAN
remittanceInformation + remittanceInformationType = structuredremittanceStructuredRef
remittanceInformation + remittanceInformationType = unstructuredremittanceUnstructured
endToEndIdend2EndIdKey for payment reconciliation
executionDatedateExecutionUTC
valueDatedateValueUTC
nonebalanceAfterNew
nonestatementNumberNew
description, bankTransactionCode, purposeCode, creditorId, mandateId, internalReferencenot documentedIf you rely on these, ask mybanx or use the CAMT.053 export

Replacing webhooks with incremental polling

Ponto told you about new transactions through webhooks (transactionsCreated, transactionsUpdated, etc.). mybanx has no webhooks, so poll each account with sequence:

def sync_account(auth, bank_account_id, lowest_seq=None):
    """Fetch transactions newer than lowest_seq. Returns the new lowest_seq to persist."""
    newest = lowest_seq
    page = 0
    while True:
        params = {"pageSize": 200}
        if lowest_seq is not None:
            params["sequence"] = lowest_seq
        r = get(auth, f"/indirect/bankaccounts/{bank_account_id}/transactions/pages/{page}", params)
        if r.status_code == 204:
            break
        if r.status_code == 206:
            mark_consent_expired(bank_account_id)
        txs = r.json()
        for tx in txs:
            upsert_transaction(key=(bank_account_id, tx["sequence"]), record=tx)
            newest = tx["sequence"] if newest is None else min(newest, tx["sequence"])
        if len(txs) < 200:
            break
        page += 1
    return newest
  • First run: call without sequence to read the full history, store the lowest sequence.
  • Later runs: page 0 with sequence=<stored>. If a page is full, keep paging with the same sequence until 204.
  • Deduplication: key on (bankAccountId, sequence) and keep id as an attribute. Don't key on id alone.
  • Polling interval: stay within 240 requests/minute per IP. One account with no new data costs one request. For example, 1,000 accounts every 15 minutes is about 67 requests/minute. Spread accounts across the interval rather than polling them all at once.
  • Ponto POST /synchronizations maps to forceRefresh=true. Trigger it only when a user explicitly asks for fresh data.

Pending transactions

There is no pending-transactions endpoint. If you showed pending items from Ponto:

  • show the available balance (types 3/4/1) next to the booked balance, so the difference reflects pending amounts, or
  • remove the pending-transactions view for mybanx-connected accounts.

7. Consent renewal (replaces Ponto reauthorization requests)

Bank consents usually last 90–180 days. Watch validUntil on the account and the 206 code on transactions.

POST /v2/indirect/companies/{companyId}/bankaccounts/{bankAccountId}/renew
Idempotency-Key: <uuid>
Content-Type: application/json

{ "url": "https://yourapp.example/consent-renewed" }

The response contains a bank url. Send the account holder there; they return to your url afterwards. There is no renewal event, so re-read the account and check validUntil to confirm it worked.

Suggested job: daily, list accounts whose validUntil is within 14 days and notify the customer with a renewal link.


8. Payments

All payment calls only prepare a payment and return a url. The account holder approves it at their bank. Always send an Idempotency-Key.

8.1 Single payment

GET  /v2/bankaccounts/{bankAccountId}/payment/info     → currencies, sepaInstantSupported,
                                                        sepaSpecificPaymentDate, minimalAmount
POST /v2/bankaccounts/{bankAccountId}/payment          (indirect: /v2/indirect/bankaccounts/…)
{
  "redirectURL": "https://yourapp.example/payments/done",
  "senderEmail": "[email protected]",
  "counterpartyIBAN": "BE68539007547034",
  "counterpartName": "Supplier BV",
  "amount": "125.50",
  "currency": "EUR",
  "remittanceStructuredRef": "",
  "remittanceUnstructured": "Invoice 2026-118",
  "dateExecution": "2026-12-10",
  "end2EndId": "PAY-2026-000118",
  "additionalProperties": {}
}

Response: id and url → redirect the user to url.

Pontomybanx
remittanceInformation + remittanceInformationTyperemittanceStructuredRef or remittanceUnstructured
creditorNamecounterpartName
creditorAccountReferencecounterpartyIBAN
requestedExecutionDatedateExecution (only if sepaSpecificPaymentDate is true)
endToEndIdend2EndId
amount (number)amount (decimal string, e.g. "125.50")
redirectUriredirectURL
nonesenderEmail: must be a mybanx user of the company owning the account

8.2 Bulk payment

GET  /v2/bankaccounts/{bankAccountId}/bulkpayment/info   → also sepaSupported, recipientAddressRequired
POST /v2/bankaccounts/{bankAccountId}/bulkpayment

Body: redirectURL, senderEmail, bulkPayments[] (each with at least counterpartyIBAN, amount, end2EndId), optional isInstant, allowRetry, additionalProperties. Add counterpartPostalAddress on every transfer when recipientAddressRequired is true.

  • Most banks reject single-transfer batches, so use a single payment instead.
  • Many banks need a second approval in their own app or web banking. Tell users to expect it.
  • The approval link works once unless allowRetry: true.

8.3 Request to Pay (replaces Ponto payment requests)

POST /v2/bankaccounts/{bankAccountId}/requesttopay

Body: redirectURL, notifyEmail, uniqueRequests[] (each: amount, end2EndId, message, optional counterpartName, counterpartEmail, remittanceStructuredRef/remittanceUnstructured, documentURL, currency). The response returns, per debtor, a payment url and a qrCode (SVG URL) to put on invoices.

8.4 Tracking payment status (important difference)

Ponto let you GET a payment, bulk payment or payment request to read its status, and DELETE it. mybanx does not return payment statuses through the API yet, and has no cancel endpoint.

Workaround: reconcile on transactions.

  1. Store each payment you create with its end2EndId and status SENT_FOR_APPROVAL.
  2. On each transaction sync (§6), match outgoing transactions on end2EndId (fallback: amount + counterparty IBAN + remittance) and mark the payment PAID.
  3. For Request to Pay, match incoming transactions on end2EndId or the structured communication.
  4. Flag payments still unmatched after N business days for manual follow-up.

For reference, mybanx's internal statuses are: 0 UNKNOW, 1 DRAFT, 2 SENT, 3 PENDING, 4 PAID (final), 6 CANCELED (final).


9. Errors, retries, rate limits

CodeMeaningDo
200OK
204Nothing to return (not an error)Treat as empty
206Data returned, consent inactiveProcess + trigger renewal
400Invalid requestFix, don't retry
401Token expired or no accessRefresh once and retry; if still 401, treat as "access revoked"
409Same Idempotency-Key still runningWait a few seconds, retry with the same key
500UnexpectedRetry later with the same key; contact support if persistent
503Rate limit (240/min/IP)Wait until the next minute
  • Branch on status codes, not on message text.
  • Error bodies vary: validation errors are problem-style (title, status, errors), and business errors use { "StatusCode", "Message" }.
  • Log X-Correlation-ID (on every response; you may send your own) and executionId; include them when contacting [email protected].
  • Idempotency-Key: a new UUID per operation, reused on retries; replays within 24 h return the first successful response. Failed calls aren't stored.
  • Amounts are decimals in account currency; all dates are UTC.

10. Ponto features without a direct mybanx equivalent

Ponto featuremybanx workaround
WebhooksPoll with sequence (§6)
POST /synchronizations + sync statusforceRefresh=true on demand
Pending transactionsAvailable-type balances; otherwise drop the feature
Payment / bulk / payment-request statusReconcile on transactions via end2EndId (§8.4)
Delete / cancel a paymentNone via API; an unapproved payment simply isn't executed
Financial institutions listpayment/info / bulkpayment/info per account
Revoke access from your sideNone; the customer revokes in mybanx
Reauthorization eventsMonitor validUntil and 206
Onboarding details (pre-filled sign-up)Invitation API with name, email, mobile, company, VAT
User info / organization usageNot available
SandboxTest on your own company's accounts

mybanx adds statement exports (CODA, CAMT.053, MT940, CSV, HTML), Request to Pay QR codes and an MCP server for AI assistants.


11. Cutover plan

Phase 1: Build (behind a feature flag)

  • mybanx client (auth, accounts, balances, transactions, renew, payments), polling scheduler, reconciliation job.
  • A bank_provider field on each customer (ponto | mybanx), so both providers can run side by side.

Phase 2: Pilot (your own company + 2–3 friendly customers)

  • Run Ponto and mybanx in parallel for 2–4 weeks; compare balances and transaction counts daily.

Phase 3: Per-customer migration

  1. Send the mybanx invitation (or instructions to grant your app access).
  2. Customer reconnects each bank in mybanx (bank login + SCA) and shares the accounts with your app. Ponto bank consents cannot be transferred.
  3. Detect the new company in GET /indirect/companies, link it to the customer, map accounts by IBAN.
  4. Backfill and overlap: keep all Ponto history you already store. Import mybanx transactions only from the day after the last Ponto transaction, or import the overlap and deduplicate on (dateExecution, amount, counterpartReference, end2EndId / remittance), because IDs differ between providers.
  5. Switch bank_provider to mybanx; keep Ponto read-only for a week as a fallback.
  6. Revoke the Ponto integration for that customer.

Phase 4: Decommission

  • Remove Ponto webhooks endpoint, OAuth/PKCE code, client certificates, and Ponto billing.

Customer time per migration: about 15–30 minutes, depending on the number of banks.


12. Test checklist

  • Token login, refresh, refresh-token reuse protection across instances, re-login on 401
  • Company and account discovery; IBAN mapping to existing records
  • Full history import; /first date matches expectations
  • Incremental sync with sequence; no duplicates after repeated runs
  • 206 handling and consent renewal round trip
  • Balance type selection on at least 3 different banks
  • Single payment: create → approve → appears in transactions → marked PAID
  • Bulk payment incl. two-step bank approval and allowRetry
  • Request to Pay link + QR; incoming payment matched
  • Idempotency: retried POST does not create a duplicate payment
  • Rate limit: scheduler stays under 240 req/min at your expected account count
  • Customer revokes access → company disappears, 401 handled gracefully
  • Invitation batch with one invalid entry (whole call fails with 500)

13. Effort estimate

One developer familiar with the existing Ponto integration:

Work packageDays
Account setup, app validation (plus mybanx lead time)1–2
Auth client1
Onboarding: invitations, company discovery, customer linking2–3
Accounts and balances mapping1–2
Transactions: paging, sequence polling, dedup, scheduler3–4
Consent renewal1
Payments: single, bulk, request-to-pay3–4
Payment reconciliation on transactions (replaces status lookup)2–3
Testing on real accounts, error handling, monitoring3–4
Cutover tooling and parallel run2–4
Total, account data only≈ 12–19
Total, including payments≈ 17–27

Direct integration (your own company only): about 3–5 days for account data, 6–9 days with payments.


14. References


Did this page help you?