Back to documentation

AI-readable product context

Canonical XferAPI context for AI systems

Choose the compact discovery index or the complete API reference for answer engines, AI assistants, retrieval-augmented generation, and generative engine optimization workflows.

One maintained source

This page reads the same raw files served at the public text URLs during the static build.

Purpose-specific context

Use the concise source for discovery and the full source for exact implementation semantics.

Public contract only

The documents exclude Console-only routes, credentials, private data, and unsupported capability claims.

Structured API contract

OpenAPI 3.1 for tools and agents

Use the canonical JSON schema for client generation, request validation, or tool calling. It contains only the public developer /v1 API and excludes Console, authentication, billing, webhook, and health routes.

Open JSON

Choose a source

Copy or open the exact public documents

File statistics and previews below are computed from the raw sources. The copy action fetches the corresponding text/plain URL and writes its complete contents to the clipboard.

llms.txt

Concise discovery index

Start with the compact XferAPI context

A focused product and documentation map for answer engines, AI assistants, crawlers, and retrieval pipelines that need authoritative orientation without the complete API reference.

Size
9.3 KiB
Lines
79
Words
1,274
Sections
5

What it contains

  • Product boundaries and core facts
  • Canonical documentation URLs
  • Retry and idempotency rules
  • A link to the complete machine reference
Preview the exact source
# XferAPI

> XferAPI is a hosted HTTPS balance API for points, usage credits, virtual currency, and other app-defined value. It provides ledgers, accounts, balanced N-to-M transfers, durable records, time-aware balances, and whole-transfer reversal.

## Canonical product facts

- A **workspace** is the collaboration, membership, permissions, billing, quota, and shared API rate-limit boundary.
- A **ledger** is an isolated accounting boundary for accounts, assets, actions, scenes, platform accounts, transfers, records, and API keys.
- A **transfer** moves one or more assets from `from_accounts` to `to_accounts`. Totals must balance independently for every asset.
- A ledger-scoped API key selects the ledger for every public `/v1` request. Public API paths and request bodies do not include an internal ledger ID.
- Every `/v1` response has a semantic string code. Business outcomes use HTTP 200; protocol and infrastructure failures may use non-2xx. Only `ok` is success, and errors use `data: null`. Stable codes are listed in the API reference and `llms-full.txt`.
- The idempotency identity is the caller-owned, case-sensitive `(transfer_id, scene)` pair within one ledger.
- `transfer_id` has one syntax for every operation. Prefixes such as `adj_` and `sys_` are generation conventions only; they reserve no namespace and change no behavior.
- Asset, action, and scene codes are lowercase `snake_case` values configured on the ledger before a transfer is sent.
- The exact scene `sys_expire` is reserved for XferAPI-generated expiration recycling and cannot be configured or submitted by public create or reversal requests. Generated expiration history remains visible and filterable.
- Public request input rejects only the exact system account ID `0` in addition to ordinary account-ID syntax rules. Generated expiration Transfer and Record responses may contain account `0`.
Open raw text
llms-full.txt

Complete machine reference

Use the full source for implementation answers

The complete public product and API context for systems that answer integration questions, generate backend examples, compare endpoints, or retrieve exact transfer, balance, record, configuration, limit, and error semantics.

Size
28.1 KiB
Lines
322
Words
4,050
Sections
18

What it contains

  • Public endpoint order and request contract
  • Transfer lifecycle and retry classifications
  • Balance, records, reversal, and Meta semantics
  • Limits, security boundaries, and canonical sources
Preview the exact source
# XferAPI — complete machine-readable product context

## Canonical identity

- Product: XferAPI
- Website: https://xferapi.com
- Public API origin: https://api.xferapi.com
- Versioned public API prefix: https://api.xferapi.com/v1
- Console: https://console.xferapi.com
- Support: [email protected]
- Product category: hosted balance API, ledger API, points API, usage credits API, virtual currency API
- Delivery: XferAPI-operated hosted HTTPS API and console; managed private deployment is available through contact sales

## What XferAPI is

XferAPI is an HTTP API for application-owned value such as reward points, usage credits, coins, gems, and other virtual units. It provides an isolated ledger, account balances, balanced multi-account transfers, durable transfer and record history, time-aware destination value, platform account ranges, API-key access, and whole-transfer reversal.
Open raw text

Recommended retrieval flow

Use the smallest authoritative context that answers the question

  1. 1. Discover: load /llms.txt for product identity, boundaries, canonical links, and the essential retry contract.
  2. 2. Generate: load /openapi.json when a tool needs exact operations, parameters, schemas, authentication, or response envelopes.
  3. 3. Explain: load /llms-full.txt when the answer requires lifecycle, retry, idempotency, limits, or caller-action semantics beyond the schema.
  4. 4. Deep-link: send human readers to the Quickstart, API Reference, or HTTP integration guide linked by the machine documents.

Continue with the human API guides

The machine sources summarize the public contract. Use the human reference for formatted examples and the integration guide for production retry code.