Points API
Issue, redeem, schedule, and expire points while keeping every balance change tied to a traceable business transfer.
Explore the points APIHosted balance API
Issue, spend, split, expire, and reverse app balances without designing ledger transactions, account history, or recovery workflows yourself.
5,000 transfers each month · No payment card required
POST /v1/transfers{
"transfer_id": "order_123",
"scene": "spend",
"from_accounts": [
{ "account_id": "buyer_42", "asset": "points", "action": "spend", "amount": "100" }
],
"to_accounts": [
{ "account_id": "seller_7", "asset": "points", "action": "spend", "amount": "90" },
{ "account_id": "-2", "asset": "points", "action": "spend", "amount": "10" }
]
}Built for app-defined value
Use the same ledger and transfer primitives for reward points, product usage credits, or in-app currency. Your application keeps control of the business rules.
Issue, redeem, schedule, and expire points while keeping every balance change tied to a traceable business transfer.
Explore the points APIKeep metering and pricing in your product, then record the resulting credit grants, charges, shared pools, and expiry.
Explore usage creditsRun coins, gems, and other app-defined value with multi-account transfers, platform flows, history, and reversal.
Explore virtual currencyThe accounting layer behind the feature
XferAPI provides the boundaries and recovery state that become difficult once a balance can move between several parties or change over time.
Every transfer must debit and credit the same total for each asset, whether it touches two accounts or twenty.
Model issuance, spending, marketplace splits, fees, and multi-recipient flows with one transfer primitive.
Read durable lifecycle state and account mutations when a retry, timeout, or support case needs an exact answer.
Attach Unix-second start and expiry boundaries to destination value and read current, future, and batch views.
Reverse an identified transfer as one operation. Existing records move to their reversal state while account balances are adjusted.
Each API key belongs to one ledger and carries read, write, or both scopes without crossing that accounting boundary.
Integration model
Your backend decides why value moves. XferAPI validates, records, and advances the accounting operation.
A ledger isolates accounts, assets, actions, scenes, platform accounts, transfers, records, and API keys for one accounting boundary.
Issue a ledger-scoped key for the backend that will read balances or create transfers.
Use your business transfer ID and scene, then read the durable status and records when the result needs inspection.
Plain HTTP
XferAPI is a hosted HTTP API. No runtime package or embedded engine is required in your application.
Copy the canonical llms.txt index or the complete public API context.
curl -X POST https://api.xferapi.com/v1/transfers \
-H "Authorization: Bearer xfer_sk_..." \
-H "Content-Type: application/json" \
-d '{
"transfer_id": "grant_123",
"scene": "top_up",
"from_accounts": [{
"account_id": "-1", "asset": "points", "action": "top_up", "amount": "100"
}],
"to_accounts": [{
"account_id": "member_42", "asset": "points", "action": "top_up", "amount": "100"
}]
}'Verifiable implementation properties
These are concrete behaviors in the current service, not throughput claims or abstract reliability labels.
Before execution, source and destination totals must match for every asset in the transfer.
An account mutation and its record are committed together. Multi-account progress is persisted separately instead of holding one large transaction.
Processing, Completing, Reversing, Succeeded, and Reversed states tell the recovery worker which path is valid.
Balance reads and deductions evaluate start and expiry timestamps in Unix seconds. Expired value is unavailable before lazy compaction runs.
Delivery options
The API contract stays consistent; the operating model changes.
Use XferAPI's managed API and console. Your backend integrates over HTTPS while XferAPI operates the service.
For teams with deployment-boundary requirements, XferAPI can provide deployment, upgrades, and service in an agreed private environment. This is a managed commercial engagement, not a public source distribution.
Discuss requirements