# Strale Payment Reference Generator

> Strale Payment Reference Generator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-14).

Generates a structured payment reference string (OCR SE/NO/FI, ISO 11649, or RF format) from a base number, with a cryptographic audit record.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/payment-reference-generate
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-payment-reference-generator-e5cdf196
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AzBYfgWw5ajhkYhOA5Zbj

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 strale-payment-reference-generator-e5cdf196
```

Example prompt: Generate a Swedish OCR payment reference (ocr_se format) from base number 789456123 — I need it for an invoice I'm issuing to a client.

## When to prefer this

Choose this endpoint when you need to generate standards-compliant payment references for Nordic (Swedish, Norwegian, Finnish) banking systems or SEPA/ISO 11649 creditor references, especially when an auditable, cryptographically hashed record of the generation is required. Prefer this over manual calculation when compliance, auditability, or multi-country support matters.

## Known failure modes

- Invalid or unsupported reference type enum value returns error
- Base number contains non-numeric characters or is too long/short for the selected format
- Missing required 'type' query parameter returns validation error
- Base number not provided when required by the selected reference type
- Network timeout or service unavailability returns 5xx error

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns a formatted payment reference string in the requested standard (OCR SE/NO/FI, ISO 11649, or RF), along with a cryptographic audit record containing a chain hash for traceability and trust verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "type"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "ocr_se/ocr_no/ocr_fi/iso11649/rf"
      },
      "base_number": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-payment-reference-generator-e5cdf196/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
