All articles

Developer Guides

Open banking consent management for Nigerian fintechs: A Developer Guide

Build an open banking consent lifecycle that respects user choices and prevents stale permissions from powering new requests. This guide covers scope design, revocation, background jobs and audit evidence for Nigerian fintech teams.

29 Oct 2026 6 min read

Open banking consent management for Nigerian fintechs is an application architecture problem, not just an authorisation screen. If your product connects bank accounts for cash-flow insights, transaction analysis or financial operations, every data request needs a valid purpose and a current permission boundary.

The difficult cases arrive after onboarding: a customer disconnects an account while a sync is running, an authorisation expires before a scheduled refresh, or a new feature needs broader access than the customer originally approved.

This guide explains how to build a consent lifecycle around an open banking integration. Paddle offers open banking alongside other financial infrastructure; confirm available institutions, access methods, permission granularity and lifecycle operations before designing your production flow.

Why consent belongs in your backend

A successful bank connection does not establish indefinite permission to retrieve every available data field. Treat connectivity, credentials and customer permission as separate concerns.

Your backend should distinguish:

  • Connection state: Whether the external account link is operational.
  • Authorisation state: Whether credentials or tokens remain usable upstream.
  • Consent state: Whether your application currently permits a particular use of data.

These states can diverge. A token might remain technically usable after a customer disconnects an account in your app. Conversely, customer consent might still be current while an upstream authorisation needs renewal.

Build a central access gate that evaluates all three before making a request. Do not leave this decision to individual dashboard screens or scheduled jobs.

Design open banking consent management for Nigerian fintechs

Start with the actual product purpose. “Connect your bank” explains an action, but not what the connection will enable.

For a cash-flow dashboard, describe the relevant account information, the transaction history needed, the refresh behaviour and how customers can stop future access. Avoid bundling unrelated uses into one broad approval.

Map features to minimum data requirements

Maintain a permission map in code or versioned configuration:

Product featureRequired dataAccess pattern
Account overviewSelected account identifiers and balancesUser-triggered refresh
Cash-flow dashboardTransactions for a defined periodScheduled refresh where authorised
Account-link statusConnection and authorisation metadataStatus checks

These are application design examples, not Paddle API scope names. Map them to the capabilities supported by your integration.

If an upstream permission is broader than your feature requires, restrict what your application retrieves, stores and exposes. Do not imply that your local controls change permissions granted upstream.

Separate the consenting actor from the data subject

For business products, record who approved the connection and which organisation owns the relationship. A logged-in employee should not automatically be allowed to connect a company's bank account.

Use your organisation roles and approval policies to establish who can connect, expand access or disconnect. Bank-side authentication does not replace your own tenant and role checks.

Model consent as a versioned record

Store a dedicated consent record rather than a bank_connected boolean on the customer table.

Useful fields include:

  • Internal consent ID, organisation ID and actor ID.
  • Provider connection reference and selected account references.
  • Purpose identifier and approved application permissions.
  • Consent notice version and acceptance timestamp.
  • Applicable expiry timestamp, where established by the authorisation flow or your policy.
  • Status, status version and revocation timestamp.
  • References to upstream authorisation evidence, where available.

Keep credentials and access tokens out of this record. Store secrets separately with restricted access, and avoid including full account details in logs.

A practical internal lifecycle is pending, active, reauthorisation_required, expired and revoked. These are your application's states, not a claim about provider response values.

Only activate a record after validating the completed authorisation flow. Where the integration supports redirects, bind the callback to the initiating session and organisation using the documented security mechanism. Never trust a browser-supplied organisation ID as the authority for assigning a connection.

Keep earlier consent versions as evidence. If permissions change, create a new version rather than silently overwriting what the customer previously approved.

Enforce consent at the data-access boundary

Route all open banking requests through a shared service. Interactive requests, scheduled refreshes, exports and administrative tools should use the same permission check.

The following pseudocode illustrates an internal policy gate, not a Paddle endpoint or SDK:

def refresh_transactions(job):
    consent = consent_store.get_current(job.consent_id)

    require(consent.organisation_id == job.organisation_id)
    require(consent.status == "active")
    require(not consent.has_expired())
    require("transaction_history" in consent.permissions)
    require(job.account_ref in consent.account_refs)
    require(job.consent_version == consent.version)

    result = bank_connector.fetch_transactions(
        connection_ref=consent.connection_ref,
        account_ref=job.account_ref,
        start=job.allowed_start,
        end=job.allowed_end,
    )

    persist_if_consent_is_still_current(result, consent)

Validate the requested history window against your policy too; do not assume a job payload is trustworthy simply because it came from your queue.

The final persistence operation should recheck consent within a transaction or equivalent concurrency control. A check made before a network request cannot guarantee that permission remains current when the response arrives.

Make disconnection a controlled workflow

A disconnect button should immediately block new application-initiated data access. It should not merely hide the account from the interface.

Use this implementation checklist:

  1. Authorise the actor. Verify that the user can manage this organisation's connection.
  2. Revoke locally. Update consent status and increment its version in a durable transaction.
  3. Stop future work. Disable schedules and invalidate queued jobs referencing the earlier version.
  4. Revoke upstream where supported. Use the documented operation and track its result separately.
  5. Handle in-flight responses. Prevent newly returned financial data from entering normal processing after revocation.
  6. Apply retention rules. Delete, restrict or retain existing records according to their purpose and applicable obligations.
  7. Confirm the outcome. Explain what has stopped and whether any upstream action remains pending.

Local revocation should not wait for an upstream service to recover. If external revocation fails, keep the local block in place and retry the upstream operation through a controlled queue.

Disconnection and historical-data deletion are different actions. Explain that distinction clearly rather than promising immediate erasure of every record.

Handle expiry and permission expansion explicitly

Do not treat authentication failures as ordinary transient errors indefinitely. Classify responses using the integration's documented semantics and move affected connections into an appropriate recovery state.

When renewed authorisation is needed, pause background collection and give the customer a clear route to reconnect. Preserve the last successful refresh timestamp so the dashboard does not present old balances as live information.

A new feature requiring additional data should trigger a separate permission decision. Show what is changing, why it is needed and whether declining affects existing features.

Never automatically reactivate revoked consent because a delayed success callback arrives. Validate the callback against the current consent version and pending authorisation attempt.

Test races, evidence and operational visibility

Test more than successful account linking. Include revocation during a sync, repeated callbacks, stale queue messages, permission expansion being declined and an upstream revocation outage.

Also test tenant isolation: one organisation's user must never retrieve or disconnect another organisation's connection by changing an identifier.

Record access decisions with the consent version, purpose, account reference, result and correlation ID. Keep raw transaction payloads and secrets out of routine logs. Support teams usually need to know why access was allowed or denied, not see the underlying financial history.

Monitor blocked stale jobs, connections awaiting reauthorisation and unresolved upstream revocations. Review applicable Nigerian data-protection obligations, the latest CBN open banking requirements and your contractual responsibilities with qualified advisers. This architecture guide is not legal advice.

Build it with Paddle

Paddle gives African digital businesses access to open banking and financial infrastructure that includes virtual accounts, payouts, ledgers and verification services. Build your consent policy as a reusable service, then map it to the supported integration capabilities.

Before launch, confirm institution coverage, available data, authorisation flows, revocation support and error handling. Paddle is a banking-as-a-service platform by Pickpadi Global Ltd, not a bank; banking services are provided by CBN-licensed partner banks.

Ready to build? Create a free account and read the API docs to plan your integration.

#Developer Guides#Open Banking#Nigeria#Consent Management

Keep reading

Paddle Build Studio

Want us to build it with you?

Build for Africa and the world. Our team can deliver your fintech, web or mobile product in 2–3 weeks — or integrate Paddle APIs and build it yourself.