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
| Topic | Ponto Connect | mybanx.io |
|---|---|---|
| Base URL | https://api.ibanity.com/ponto-connect | https://api.mybanx.io/v2 (v1 is legacy) |
| API style | JSON:API (data, attributes, links, meta) | Plain JSON |
| Authentication | OAuth2 authorization code + PKCE, client certificate (mTLS) | applicationKey + clientKey → bearer (2 h) + single-use refresh token (30 days) |
| Customer onboarding | Redirect to Ponto OAuth consent screen | Customer grants your validated app access in mybanx, or you send an invitation via API |
| Accounts | GET /accounts | GET /v2/indirect/companies → GET /v2/indirect/companies/{companyId}/bankaccounts |
| Balances | Attributes on the account (currentBalance, availableBalance) | GET …/balances and GET …/balances/all (typed, ISO 20022 balance types) |
| Transactions | GET /accounts/{id}/transactions, cursor paging (before/after, limit) | GET …/transactions/pages/{pageId}, page index + sequence for incremental sync |
| Pending transactions | GET /accounts/{id}/pending-transactions | Not available (available-type balances include pending amounts) |
| Data refresh | Scheduled syncs + POST /synchronizations | Scheduled by mybanx + forceRefresh=true on the transactions call |
| Push notifications | Webhooks (signed JWT) | Not available, so poll with sequence |
| Consent renewal | Reauthorization requests | POST …/renew returns a bank URL |
| Single / bulk payments | payments, bulk-payments (with status lookup & delete) | payment, bulkpayment (create only, no status endpoint yet) |
| Collecting money | Payment requests | Request to Pay: payment links + QR codes |
| Statement files | Not available | Export as CODA, CAMT.053, MT940, CSV, HTML |
| Idempotency | Ibanity idempotency key header | Idempotency-Key header, 24 h replay window |
| Rate limit | Per Ibanity policy | 240 requests / minute / IP (503 when exceeded) |
| Sandbox | Yes (test banks, accounts, transactions) | Not documented: test on your own company's real accounts |
2. Before you write code
- Create a mybanx user and company at mybanx.io and link at least one of your own bank accounts.
- Create an application key on your own company (menu Applications). You get an
applicationKeyand aclientKey. - Build and test against your own accounts first. There is no documented sandbox, so use small real amounts for payment tests.
- 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.
- 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 ownclientKey, or route every refresh through one process (e.g. a lock or a token service). - Simply calling
POST /authagain 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 attribute | mybanx bank account field | Notes |
|---|---|---|
id | id | New IDs, so keep a mapping table (ponto_account_id ↔ mybanx_bank_account_id), matched on IBAN |
reference (IBAN) | account | Use this to match accounts |
currency | currency | |
currentBalance / availableBalance | balance, or /balances | See balance types below |
authorizationExpirationExpectedAt | validUntil | Consent expiry |
financialInstitution relationship | connectorId | Bank name/country available from payment/info |
subtype / product | cashAccountType | |
holderName, description | not documented | Keep the values you already store |
synchronizedAt | not documented | Track your own "last fetched" timestamp |
Balance types (balanceType, numeric)
balanceType, numeric)| Value | Code | Meaning | Closest Ponto field |
|---|---|---|---|
| 0 | CLBD | Closing booked (start of day) | currentBalance |
| 1 | CLAV | Closing available (incl. pending) | availableBalance |
| 2 | ITBD | Interim booked | currentBalance |
| 3 | ITAV | Interim available (incl. pending) | availableBalance |
| 4 | OPAV | Open available (incl. pending) | availableBalance |
| 5 | XPCD | Expected cleared (incl. pending) | availableBalance |
| 98 | MBX | Calculated by mybanx from transactions | none |
| 99 | OTHR | Unknown | none |
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 heldResults are newest first. pageId runs from 0 to 999. Response codes:
| Code | Meaning | Action |
|---|---|---|
| 200 | Page of transactions | Process |
| 204 | End of list | Stop paging |
| 206 | Transactions returned, but bank consent is inactive (data is stale) | Process, then flag the account for consent renewal (§7) |
Field mapping
| Ponto transaction attribute | mybanx field | Notes |
|---|---|---|
id | id | Not stable: may change over time. Don't use alone as key |
| none | sequence | Unique per account; decreases over time (lower = newer) |
amount | amount | Both signed; negative = outgoing |
currency | currency | |
counterpartName | counterpartName | |
counterpartReference | counterpartReference | IBAN |
remittanceInformation + remittanceInformationType = structured | remittanceStructuredRef | |
remittanceInformation + remittanceInformationType = unstructured | remittanceUnstructured | |
endToEndId | end2EndId | Key for payment reconciliation |
executionDate | dateExecution | UTC |
valueDate | dateValue | UTC |
| none | balanceAfter | New |
| none | statementNumber | New |
description, bankTransactionCode, purposeCode, creditorId, mandateId, internalReference | not documented | If 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
sequenceto read the full history, store the lowestsequence. - Later runs: page 0 with
sequence=<stored>. If a page is full, keep paging with the samesequenceuntil204. - Deduplication: key on
(bankAccountId, sequence)and keepidas an attribute. Don't key onidalone. - 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 /synchronizationsmaps toforceRefresh=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.
| Ponto | mybanx |
|---|---|
remittanceInformation + remittanceInformationType | remittanceStructuredRef or remittanceUnstructured |
creditorName | counterpartName |
creditorAccountReference | counterpartyIBAN |
requestedExecutionDate | dateExecution (only if sepaSpecificPaymentDate is true) |
endToEndId | end2EndId |
amount (number) | amount (decimal string, e.g. "125.50") |
redirectUri | redirectURL |
| none | senderEmail: 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}/bulkpaymentBody: 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}/requesttopayBody: 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.
- Store each payment you create with its
end2EndIdand statusSENT_FOR_APPROVAL. - On each transaction sync (§6), match outgoing transactions on
end2EndId(fallback: amount + counterparty IBAN + remittance) and mark the paymentPAID. - For Request to Pay, match incoming transactions on
end2EndIdor the structured communication. - 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
| Code | Meaning | Do |
|---|---|---|
| 200 | OK | |
| 204 | Nothing to return (not an error) | Treat as empty |
| 206 | Data returned, consent inactive | Process + trigger renewal |
| 400 | Invalid request | Fix, don't retry |
| 401 | Token expired or no access | Refresh once and retry; if still 401, treat as "access revoked" |
| 409 | Same Idempotency-Key still running | Wait a few seconds, retry with the same key |
| 500 | Unexpected | Retry later with the same key; contact support if persistent |
| 503 | Rate 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) andexecutionId; 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 feature | mybanx workaround |
|---|---|
| Webhooks | Poll with sequence (§6) |
POST /synchronizations + sync status | forceRefresh=true on demand |
| Pending transactions | Available-type balances; otherwise drop the feature |
| Payment / bulk / payment-request status | Reconcile on transactions via end2EndId (§8.4) |
| Delete / cancel a payment | None via API; an unapproved payment simply isn't executed |
| Financial institutions list | payment/info / bulkpayment/info per account |
| Revoke access from your side | None; the customer revokes in mybanx |
| Reauthorization events | Monitor validUntil and 206 |
| Onboarding details (pre-filled sign-up) | Invitation API with name, email, mobile, company, VAT |
| User info / organization usage | Not available |
| Sandbox | Test 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_providerfield 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
- Send the mybanx invitation (or instructions to grant your app access).
- Customer reconnects each bank in mybanx (bank login + SCA) and shares the accounts with your app. Ponto bank consents cannot be transferred.
- Detect the new company in
GET /indirect/companies, link it to the customer, map accounts by IBAN. - 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. - Switch
bank_providertomybanx; keep Ponto read-only for a week as a fallback. - 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;
/firstdate matches expectations - Incremental sync with
sequence; no duplicates after repeated runs -
206handling 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 package | Days |
|---|---|
| Account setup, app validation (plus mybanx lead time) | 1–2 |
| Auth client | 1 |
| Onboarding: invitations, company discovery, customer linking | 2–3 |
| Accounts and balances mapping | 1–2 |
Transactions: paging, sequence polling, dedup, scheduler | 3–4 |
| Consent renewal | 1 |
| Payments: single, bulk, request-to-pay | 3–4 |
| Payment reconciliation on transactions (replaces status lookup) | 2–3 |
| Testing on real accounts, error handling, monitoring | 3–4 |
| Cutover tooling and parallel run | 2–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
- mybanx docs: https://apidocs.mybanx.io (index: https://apidocs.mybanx.io/llms.txt)
- mybanx OpenAPI: https://api.mybanx.io/swagger/v2/swagger.json
- Key pages: Authentication, Indirect Integration, Reading bank data, Errors limits and retries, Balance Types, Payment Statuses, Single Payments, Bulk Payments, Request to Pay
- Ponto developer docs: https://documentation.myponto.com/developers
Updated 1 day ago
