Issuance and sinks
Use configured negative-ID platform accounts for platform-owned issuance, collection, or settlement flows.
Game coins and in-app value
Model coins, gems, or another digital unit without treating a balance update as an isolated counter change.
Digital purchase flow
After configuring the coins asset, a buyer can fund a seller, the -2 spending platform account, a reward pool, or other recipients in one balanced transfer.
{
"transfer_id": "purchase_8842",
"scene": "spend",
"from_accounts": [
{ "account_id": "player_42", "asset": "coins", "action": "spend", "amount": "100" }
],
"to_accounts": [
{ "account_id": "creator_7", "asset": "coins", "action": "spend", "amount": "85" },
{ "account_id": "-2", "asset": "coins", "action": "spend", "amount": "15" }
]
}Use configured negative-ID platform accounts for platform-owned issuance, collection, or settlement flows.
A platform account entry point can distribute transfers across its configured ID range using the transfer ID.
XferAPI does not provide crypto wallets, exchange, payment processing, or real-money settlement.
The asset is defined by your app; XferAPI supplies the balance and movement layer.
No. It is an API for balances defined inside your product. It does not custody or exchange external currency.
Yes. Add multiple destination entries and keep the per-asset destination total equal to the source total.
Yes. Destination batches may start later or expire. Use this for product-specific grants, not for external financial instruments.
Use the quickstart to create the balance boundary, then adapt the transfer entries to your app's account and asset model.