# OceanAlt Prepaid Decision Credits

> OceanAlt Prepaid Decision Credits is a paid API for AI agents from oceanalt.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-23).

Purchase a prepaid bundle of 100 decision-review credits for the OceanAlt /api/x402/decision endpoint, valid for 365 days, returning a single-use credit token.

## Facts

- Endpoint: POST https://oceanalt.com/api/x402/credits?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oceanalt-prepaid-decision-credits-27d611d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_18oaendImSy_bTbuYTlSu

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 oceanalt-prepaid-decision-credits-27d611d8 -d '<json body>'
```

Example prompt: Buy me a prepaid bundle of 100 OceanAlt decision credits so my payment agent can start screening transactions — I want the credit token sent back so I can store it.

## When to prefer this

Choose this endpoint when you need to prepay in bulk for OceanAlt AI-agent payment-decision calls rather than paying per-call; ideal when running a long-lived agent that will make many payment screening requests over a year, as the prepaid bundle avoids per-call settlement overhead and gives a stable bearer token for agent configuration.

## Known failure modes

- Payment settlement failure — USDC payment not confirmed, no token issued
- Token already issued for this settlement — idempotency violation, duplicate purchase attempt
- Invalid or missing required POST body fields — 400 Bad Request
- Credits endpoint temporarily unavailable — 503 or timeout
- Token lost after first display — shown_once:true means no retrieval endpoint exists

## How this service works

Prepaid credits for the sanctions and AML pre-payment decision: 100 calls to /api/x402/decision for one settlement, valid 365 days.

## Output

Returns a JSON object containing a one-time-shown credit_token string (prefixed 'oac_') to be sent as the X-OceanAlt-Credit header on future /api/x402/decision calls, the integer credits count (100), an ISO 8601 expires_at timestamp roughly 365 days out, and a shown_once boolean confirming the token will not be returned again.

## 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": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "credit_token",
      "credits",
      "expires_at"
     ],
     "properties": {
      "credits": {
       "type": "integer"
      },
      "expires_at": {
       "type": "string",
       "description": "ISO 8601 expiry"
      },
      "shown_once": {
       "type": "boolean"
      },
      "credit_token": {
       "type": "string",
       "description": "Prepaid token, shown once; send as X-OceanAlt-Credit"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "credits": 100,
  "expires_at": "2027-10-04T00:00:00.000Z",
  "shown_once": true,
  "credit_token": "oac_…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oceanalt-prepaid-decision-credits-27d611d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oceanalt.com](https://www.zero.xyz/host/oceanalt.com/llms.txt)
