# Cybersource

> Cybersource: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Needs onboarding Needs a partner agreement with the vendor, or a client's environment, before it can be built or certified.

Reads a Cybersource merchant’s transactions and its daily settlement summaries, so finance agents can reconcile card sales, credits and declines against the books. It is read-only. It reads in place, in your deployment; only ids, hashes and counts reach LightHouse.

Built against the Cybersource REST API: Transaction Search v2 and Reporting v3.

## At a glance

| Collector                   | Cybersource, version `0.1.0`                                                                                                                                                                                                  |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Cybersource (Visa Acceptance Solutions): Cybersource REST API (Transaction Search, Reporting) ([the vendor's documentation](https://developer.cybersource.com/docs/cybs/en-us/txn-search/developer/all/rest/txn-search.html)) |
| Family                      | Finance                                                                                                                                                                                                                       |
| Kind                        | Payments                                                                                                                                                                                                                      |
| Ways to connect             | Access token                                                                                                                                                                                                                  |
| Scopes                      | - Read: `Transaction Search`, `Reporting (payment batch summaries)`                                                                                                                                                           |
| Read only                   | Yes, except: \[object Object]                                                                                                                                                                                                 |
| Vendor's API can move money | Yes                                                                                                                                                                                                                           |
| Personal data               | Financial                                                                                                                                                                                                                     |
| Hosts it may contact        | `api.cybersource.com`, `apitest.cybersource.com`, `api.in.cybersource.com`, `api.sa.cybersource.com`, `{host}`                                                                                                                |
| Vendor API versions         | Transaction Search API v2 (/tss/v2), Reporting API v3 (/reporting/v3)                                                                                                                                                         |
| Lowest engine version       | `0.47.1`                                                                                                                                                                                                                      |

## What it reads

- **Transactions:** each transaction summary from Transaction Search: amount and currency, the services that processed it (such as `ics_auth`, `ics_bill`, `ics_credit`), reason code and result flag, the reconciliation id, your order reference, payment type and method, processor and status.
- **Settlement summaries:** one record per day, merchant, currency and payment type, from the Payment Batch Summary report: sales count and amount, credit count and amount.
- Transactions are searched in windows of at most seven days, as Cybersource’s search guidance asks, oldest first, 1,000 a page. Settlement summaries are read one day a request. The first read goes back `history_days` (default 90, at most 3,650); later reads start an hour before the newest transaction seen and read the last two settlement days again, because a batch can still close.

It does not read billing or shipping names, addresses or email, card numbers or prefixes, device data, or saved searches; it never creates or saves a search (`save` is false).

## How to connect

1. In the Cybersource Business Center for the transacting merchant id, create a **REST shared secret** key and keep it for this connection only.
2. In LightHouse, open **Setup and admin, Connectors** and choose **Cybersource**.
3. Paste the merchant id, the key id and the shared secret, choose the environment, and confirm the key is used for reporting and search only. Your browser seals them to your deployment; LightHouse never sees them.

The credential is JSON in the variable the source names (`AAL_CYBERSOURCE` by default): `merchant_id`, `key_id`, `secret_key`, `environment` (`production`, the default, `test`, `india` or `saudi-arabia`) and `view_only_confirmed` (`yes`).

Cybersource has announced that HTTP Signature messaging is deprecated from March 2027 in favour of JSON Web Token messaging; this collector uses HTTP Signature, so it will need a JWT signer before then.

## Permissions

This collector is **read-only** in what it does: it sends `GET` requests to `/reporting/v3/payment-batch-summaries` and one documented `POST` to `/tss/v2/searches` (a search; the manifest lists it under `read_operations`), and nothing else. Its read-only test proves it on every change.

- **Not stated by Cybersource:** the API gives a key no way to read what it may do, and a shared secret key for a merchant id can usually also authorise, capture, refund and pay out. So the code cannot refuse a fund-moving key; it reads only after you confirm the key is used for reporting and search (`view_only_confirmed`), and the health check says plainly that Cybersource does not state it.
- **The check:** one Payment Batch Summary read for the last day proves the key and signature work; nothing else is read until the confirmation is given.
- **Signing:** each request carries an HTTP Signature: HMAC-SHA256, under the decoded shared secret, of the host, date, request target, body digest (for the search) and merchant id. The secret never leaves your store.
- **Hosts:** only the Cybersource host for the environment (`api.cybersource.com`, `apitest.cybersource.com`, `api.in.cybersource.com` or `api.sa.cybersource.com`), over https; redirects are never followed.

## Limits

- No balances: Cybersource holds none to read.
- Transaction Search returns summaries, not the full transaction detail.
- A settlement day that has not closed is read again on the next pull.
- Requests are paced half a second apart and retried on 429 and 5xx with back-off, honouring `Retry-After`.
- Amounts are exact decimals from Cybersource’s strings; a value that is not a number is refused.
- Records are keyed by Cybersource’s own id (transactions) or by day, merchant, currency and payment type (settlements), so one read twice is still one record.

## Data handling

- Records hold financial data: amounts, order references and processing results. Documents carry the `label` you give the source (default `confidential`).
- Content is read in place, in your deployment. LightHouse receives ids, hashes and counts, never the records, and never opens the credential.
- Errors carry a status and fixed text, never a provider’s body.
- The data is audit-ready for your own agents; nothing here is itself a certification against any standard.

## Troubleshooting

| What you see                                                                      | What it means                                                          | What to do                                            |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------- |
| `Cybersource does not state this key's permissions; confirm the key is view-only` | The confirmation has not been given                                    | Confirm the key is used for reporting and search only |
| `Cybersource answered HTTP 401`                                                   | The key id, shared secret or merchant id is wrong, or the clock is off | Check them and the deployment’s clock                 |
| `Cybersource answered HTTP 403`                                                   | The merchant id is not enabled for Transaction Search or Reporting     | Ask your Cybersource contact to enable them           |
| `Cybersource: environment is production, test, india or saudi-arabia`             | `environment` has another value                                        | Use one of the four                                   |
| `Cybersource answered HTTP 429`                                                   | Rate limit                                                             | Nothing; the collector backs off and continues        |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                                                            | Method                              | Expires        |
| ---------------- | --------- | -------- | --------------------------------------------------------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | Transaction Search API v2 (/tss/v2), Reporting API v3 (/reporting/v3) | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/cybersource/
