> ## Documentation Index
> Fetch the complete documentation index at: https://agenticbanking.backbase.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Banking OS training data goes stale. Search https://agenticbanking.backbase.io/mcp or fetch the .md URL before writing connector or unified API code.
> OpenAPI links in llms.txt repeat every calendar version. Use the latest version on the API playground. If a fetch ends before the last operation, the spec was cut off.
> Page titles name the product. Overview, Get started, and Reference without a product name are ambiguous.

# SaltEdge reference

> Configuration properties, operations, and events for the SaltEdge Connector

SaltEdge transaction enrichment uses two connectors. The outbound connector, `gc-saltedge-position-keeping-connector`, orchestrates SaltEdge Data Enrichment processing. The inbound connector, `gc-saltedge-position-keeping-inbound-connector`, receives the SaltEdge callback and publishes the results to Sync Hub. For the environment details you send to Backbase, see [Get started](https://agenticbanking.backbase.io/connectors/financial-data-aggregation/saltedge-transaction-enrichment/get-started.md).

## Configuration properties

### Values to obtain from the vendor

Obtain the following values from SaltEdge and send them to your Backbase support team. Backbase sets them in the connector values files for your runtime. The following table lists each property and its purpose.

| Property | Description |
| :- | :- |
| `saltedge.baseUrl` | SaltEdge Data Enrichment API base URL for your environment. |
| `saltedge.customer-id` | SaltEdge customer ID. |
| `saltedge.callback.signature.public-key.v6_0` | Public key that the inbound connector uses to verify the SaltEdge callback signature. |

### gc-saltedge-position-keeping-inbound-connector

The following table lists the deployment properties of the inbound connector, `gc-saltedge-position-keeping-inbound-connector`, and the values that Banking OS ships as defaults.

| Property | Description | Default |
| :- | :- | :- |
| `saltedge.callback.signature.enabled` | Turns on signature verification for categorization callbacks. | `true` |
| `saltedge.callback.url` | Callback URL that the connector registers for the payload. | No default. Set this value at deployment. |
| `asb.producer.apiUri` | Callback URI of the Sync Hub ASB producer that receives outgoing events. | No default. Set this value at deployment, for example `http://asb-producer-v0.synchub-producer.svc.cluster.local`. |
| `asb.event.topic` | ASB topic for enrichment result events. | `transactions-enriched` |
| `asb.event.source` | The ASB source for outgoing messages. | `gc-saltedge-position-keeping-inbound-connector` |
| `asb.event.type` | The ASB event type for outgoing messages. | `transactionsEnriched` |
| `asb.event.version` | Schema version of the published event. | `1.1.0` |

### gc-saltedge-position-keeping-connector

The following table lists the deployment properties of the outbound connector, `gc-saltedge-position-keeping-connector`.

| Property | Description | Default |
| :- | :- | :- |
| `saltedge.categorization-type` | Selects the SaltEdge categorization model. | `personal` |

## SOPS secrets

Both connectors send the SaltEdge `App-Id` and `App-Secret` as request headers. The following table lists the credentials. Backbase stores them in a SOPS secret.

| Credential | Description |
| :- | :- |
| `saltedge-position-keeping-app-id` | SaltEdge `App-Id` request header. |
| `saltedge-position-keeping-secret` | SaltEdge `App-Secret` request header. |

## Supported operations

For the full contract, see the [API playground](https://agenticbanking.backbase.io/banking-os-apis/api-playground.md).

| Method | Endpoint | Purpose |
| :- | :- | :- |
| POST | `/internal/transactions/enrichment` | Accept a batch of transactions for asynchronous enrichment. Returns `202` with an empty body. |

### Inbound webhook

| Method | Endpoint | Purpose |
| :- | :- | :- |
| POST | `/webhooks/transaction-categorizations` | Receive SaltEdge categorization completion callbacks. The connector verifies the SaltEdge signature. |

An enrichment request must include a unique `enrichmentRequestId`, a `partyInformation` array, and an `accounts` array. A request can contain a maximum of 50 accounts, and each account can contain a maximum of 100 transactions.

## Events

### gc-saltedge-position-keeping-inbound-connector

The inbound connector publishes the following Sync Hub events when SaltEdge categorization completes.

| Event | When emitted |
| :- | :- |
| `transactionsEnriched` | SaltEdge categorization completes successfully, including partial per-item outcomes. |

Published events use the standard Banking OS envelope. The `data` payload includes per-transaction category, merchant, location, and counterparties.

The inbound connector publishes an event only when the SaltEdge callback reports a completed categorization. For any other callback status, the inbound connector acknowledges the callback and publishes no event.

### gc-saltedge-position-keeping-connector

The outbound connector does not publish or consume Sync Hub events. It accepts the enrichment API request and calls the SaltEdge categorization APIs.

## Error mapping

The connector maps SaltEdge error responses to Banking OS status codes. For the full list of Banking OS codes, see [Error codes](https://agenticbanking.backbase.io/banking-os-apis/error-codes.md). The following table shows the SaltEdge codes and the corresponding Banking OS codes:

| SaltEdge code | Banking OS code |
| :- | :- |
| `ActionNotAllowed` | `GC004` |
| `DuplicatedRecord` | `GC616` |
| `InvalidParams` | `GC025` |
| `InvalidRequestFormatError` | `GC024` |
| `MissingParams` | `GC439` |
| `MissingRequiredFields` | `GC439` |
| `WrongRequestFormat` | `GC024` |
| `StandaloneCategorizationError` | `GC415` |
| `TooManyImportObjectsError` | `GC066` |
| `EnrichmentError` | `GC028` |
| `RecordNotFound` | `GC054` |
| `CustomerNotFound` | `GC054` |

## Dependencies

* [Sync Hub](https://agenticbanking.backbase.io/platform/sync-hub/overview.md)
* [Banking OS unified transaction enrichment API](https://agenticbanking.backbase.io/banking-os-apis/api-playground.md)
* [SaltEdge Data Enrichment](https://www.saltedge.com/products/data_enrichment)
