# LupaRiel AR Rail Matrix

> LupaRiel AR Rail Matrix is a paid API for AI agents from lupariel.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Returns a decision matrix classifying which payment rail (settle, consent, or checkout) applies to a given Argentine agentic payment scenario.

## Facts

- Endpoint: GET https://lupariel.com/api/rail/matrix?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lupariel-ar-rail-matrix-c947c890
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I2DhHD-eWitHTaWN67zBW

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 lupariel-ar-rail-matrix-c947c890
```

Example prompt: I have a machine-to-machine USDC payment scenario in Argentina — can you check the LupaRiel rail matrix to tell me whether I should use the settle rail, and whether I need a fiat ARS hop for it?

## When to prefer this

Use this endpoint when you need to programmatically determine which Argentine agentic payment rail (settle, consent, or checkout) applies to a specific payment scenario, especially when building x402-based M2M payment flows or needing to decide whether a fiat ARS hop is required. Prefer it over manual documentation lookups or general payment routing logic when operating within the Argentine agentic payments ecosystem.

## Known failure modes

- Invalid 'case' query parameter value returns 400 with error and hint fields
- Missing required input fields returns a validation error
- Network or service unavailability returns a non-200 HTTP error
- Unsupported HTTP method (e.g. POST) returns 405 or similar error

## How this service works

Directorio público de x402, AP2, ACP y MPP. Fuente + fecha. No inventamos precios ni estados.

## Output

A JSON object containing the evaluated payment case (e.g. m2m_usdc, fiat_consent, checkout), the applicable rail (e.g. x402), the rail's role (settle, consent, checkout), whether an ARS fiat hop is needed, and a hub URL with further documentation in English and Spanish, all governed by the ar-rail-matrix-v1 ruleset.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "case": {
       "enum": [
        "m2m_usdc",
        "fiat_consent",
        "checkout"
       ],
       "type": "string",
       "description": "Decision case. Default m2m_usdc. Invalid value → 400 { error, hint }."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "case": "m2m_usdc",
  "kind": "rail_matrix",
  "lock": "settle_ne_consent",
  "rails": [
   {
    "why": "Pago por request HTTP 402 Exact+USDC: settle nativo, sin hop ARS.",
    "rail": "x402",
    "role": "settle",
    "applies": true,
    "hub_url": {
     "en": "https://lupariel.com/en/agentic-payment-rails/",
     "es": "https://lupariel.com/x402/"
    },
    "needs_ars_fiat_hop": false
   }
  ],
  "product": "LupaRiel",
  "ruleset": "ar-rail-matrix-v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lupariel-ar-rail-matrix-c947c890/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lupariel.com](https://www.zero.xyz/host/lupariel.com/llms.txt)
