# Pakistani IBAN (PK) Validator — mod-97 check

> Pakistani IBAN (PK) Validator — mod-97 check is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Validates whether a given string is a structurally correct Pakistani IBAN (PK prefix, 24 characters, passing the mod-97 checksum)

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-iban-pk?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pakistani-iban-pk-validator-mod-97-check-9e70c167
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B_a-C2QpxsxapHEaecR9g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pakistani-iban-pk-validator-mod-97-check-9e70c167 -d '<json body>'
```

Example prompt: Can you check whether 'PK36SCBL0000001123456702' is a valid Pakistani IBAN — specifically that it's 24 characters long and passes the mod-97 check?

## When to prefer this

Use this endpoint when you specifically need to validate a Pakistani (PK) IBAN and require both the length check (24 characters) and the mod-97 checksum. Use the free sandbox endpoint POST /v1/sandbox/check-iban-pk for testing before incurring the $0.001 USDC cost. Choose sibling endpoints for other country IBANs (e.g. LB, LI, MC, SE).

## Known failure modes

- Malformed or missing input string returns a validation error
- IBAN that is correct length but fails mod-97 returns invalid
- Non-PK country code IBANs will fail (wrong country prefix)
- IBAN longer or shorter than 24 characters returns invalid
- Network or payment failure if x402 USDC payment of $0.001 is not completed

## How this service works

Call when an agent needs whether an IBAN is a mod-97-valid PK number of length 24. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/check-iban-pk first.

## Output

A boolean or structured result indicating whether the submitted string is a valid Pakistani IBAN: passes the mod-97 checksum algorithm and is exactly 24 characters with the 'PK' country prefix.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "PK95AAAA0000000000000000"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pakistani-iban-pk-validator-mod-97-check-9e70c167/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
