# Validate & Mask SWIFT MT103 IBANs for AI Compliance Agents

**Use case:** 

Verify IBAN Modulo-97 checksums and UETR wire tracking IDs in RAM first, then redact ordering and beneficiary account numbers (preserving country code + last 4 digits) for zero-PII AI compliance and trade-dispute review.

## Input

```json
{
  "wire_messages": [
    "{1:F01CHASUS33AXXX0000000000}{2:I103DEUTDEFFXXXXN}{3:{108:WIRE20261124}{119:STP}{121:eb6305c9-1f7f-49de-aed0-16487c27b42d}}{4:\n:20:EXP202611240091\n:23B:CRED\n:32A:261124EUR49975,00\n:33B:EUR50000,00\n:50K:/US440021000021889900\nPACIFIC INDUSTRIAL SUPPLY INC\n1200 HARBOR BLVD\nLOS ANGELES CA US\n:52A:CHASUS33XXX\n:57A:DEUTDEFFXXX\n:59:/DE89370400440532013000\nRHEINWERK MASCHINENBAU GMBH\nINDUSTRIESTR 42\n60311 FRANKFURT DE\n:70:INV-2026-77410 CNC SPINDLE UNIT\n:71A:SHA\n:71F:EUR25,00\n-}{5:{CHK:89AB4412CD01}}"
  ],
  "include_cbpr_xml": false,
  "mask_account_numbers": true,
  "max_items": 25
}
```

## Output

```json
{
  "source_format": {
    "label": "Format",
    "format": "string"
  },
  "sender_reference": {
    "label": "Ref (:20: / InstrId)",
    "format": "string"
  },
  "uetr": {
    "label": "SWIFT GPI UETR",
    "format": "string"
  },
  "value_date": {
    "label": "Value Date",
    "format": "string"
  },
  "settled_currency": {
    "label": "CCY",
    "format": "string"
  },
  "settled_amount": {
    "label": "Settled (:32A:)",
    "format": "string"
  },
  "charge_bearer_mt": {
    "label": "Charges",
    "format": "string"
  },
  "hidden_fee_or_fx_delta": {
    "label": "Fee/FX Gap",
    "format": "string"
  },
  "sender_bic": {
    "label": "Sender BIC",
    "format": "string"
  },
  "receiver_bic": {
    "label": "Receiver BIC",
    "format": "string"
  },
  "is_structurally_valid": {
    "label": "Valid",
    "format": "boolean"
  },
  "fraud_risk_flag": {
    "label": "Fraud Flag",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge Actor is ready to run with the inputs already set for "Validate & Mask SWIFT MT103 IBANs for AI Compliance Agents". [Sign up or log in](https://console.apify.com/create-task-from-example/kPZ9RkSTE6vuEhDcF) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Validate & Mask SWIFT MT103 IBANs for AI Compliance Agents" task

The SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge Actor will start running based on the input automatically. You can also change all the input fields, like SWIFT FIN (MT103 / MT202) or ISO 20022 (pacs.008 / pacs.009) Messages, generate iso 20022 cbpr+ xml (pacs.008.001.08 / pacs.009.001.08), and more, to match your specific use case.

### 3. Receive the "Validate & Mask SWIFT MT103 IBANs for AI Compliance Agents" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as format, ref (:20: / instrid), SWIFT GPI UETR, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Validate & Mask SWIFT MT103 IBANs for AI Compliance Agents" task via API](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge.md).

## FAQ

### Are IBAN checksums validated before or after account masking?

IBAN ISO 13616 Mod-97 checksum validation runs first in volatile RAM, and only afterward are middle digits masked (e.g., DE****3000) in the output.

### Is this Actor safe to invoke from autonomous MCP or x402 AI agents?

Yes. It enforces Apify LIMITED_PERMISSIONS and makes zero outbound network calls, keeping sensitive remittance strings isolated.

### Do Apify Bronze, Silver, and Gold plans receive automatic volume discounts?

Yes. Tiered PPE pricing automatically discounts per-wire charges by 10% on Bronze, 15% on Silver, and 20% on Gold, Platinum, and Diamond plans.

## About this Actor

This example demonstrates how to use [SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
