> For the complete documentation index, see [llms.txt](https://docs.openg2p.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openg2p.org/products/g2p-bridge/features/extensibility-connect-to-sponsor-banks.md).

# Extensibility Layer

As part of its process flow, the G2P Bridge subsystem needs to interact with external systems to fulfill the post disbursement lifecycle processes. These interactions (interfaces) with external systems will surely involve writing custom connectors with the external systems.

{% hint style="info" %}
**➡️ How to write your own connector:** see [Connectors & Extensibility](/products/g2p-bridge/design-specifications/connectors-and-extensibility.md) — the end-to-end guide. You implement the interface in your own package, extend the **published Bridge Docker image** (`FROM … + pip install`), and select it via config — **no fork** of the core. Per-interface method contracts are in [Tech Guides → Extensions](/products/g2p-bridge/tech-guides.md).
{% endhint %}

In order to facilitate clean and isolated integrations, the g2p bridge subsystem has identified the following extensions.

<figure><img src="https://3034178245-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJZcdob2emEcLMvLyIxqT%2Fuploads%2FeN1YFcGNCg6oIE6OOgEb%2FG2P-Bridge-Extensibility-Layer.jpg?alt=media&amp;token=8c4dcf9c-c388-4040-9fc8-20295c0cafbe" alt=""><figcaption></figcaption></figure>

**For Cash digitally disbursed to Beneficiaries' accounts (or wallets)**

1. Address Resolver - to resolve beneficiary ID to Financial Address, Email address, Phone number, in order to decipher the final account (or wallet) - where the disbursement proceeds need to be credited
2. Sponsor Bank Connector - to connect to the Sponsor Bank to dispatch payment instructions -

   Debit Department (Benefit Program) Account (within Sponsor bank) - Disbursement Amount\
   Credit Beneficiary Account (in another destination bank, within the country) - Disbursement Amount\
   \
   a. Single instruction per beneficiary, each instruction identified by a unique Disbursement ID.\
   b. Multiple instructions in a single payload (API invocation), depending on batch size configuration<br>

**For other goods & services, including cash which is physically distributed**

1. Geo Resolver - to resolve Administrative Large Area and Administrative Small Area for a beneficiary so that subsequent processes like Warehouse resolution and Agency resolution can be done based on these administrative areas
2. Warehouse Resolver - the G2P Bridge ships with a sample implementation of Warehouse resolution. However, specific implementations can choose to implement their own custom logic for Warehouse resolution.
3. Agency Resolver - the G2P Bridge ships with a sample implementation of Agency resolution. However, specific implementations can choose to implement their own custom logic for Agency resolution
4. Notification Connector - The G2P Bridge lifecycle involves dispatching notifications to various stakeholders - warehouses, agencies and beneficiaries. G2P Bridge allows you to write custom connectors to a notification engine


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openg2p.org/products/g2p-bridge/features/extensibility-connect-to-sponsor-banks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
