Your account
taifoon_accountReads your tenant, what your key rents and its usage, and runs your reseller side (child keys with your markup, your earnings). For a new key use taifoon_register; for vault money use taifoon_vault. Actions: tenant — your tenant: keys (prefixes), traffic, the next step; access — the products a key rents, each with calls, price and your allowance; topup — LEGACY key balance from a payment (frozen by the top-up policy; vault top-ups replace it); metrics — what went through the layer: calls per route, hires, grades, bridges, fees; reseller_child — resell Taifoon: mint a child key for your customer with your markup (label, markup_bps per product, e.g. { "*": 1000 }); every tenant is a reseller, the markup is booked as the reseller_markup leg; reseller_earnings — your children, their calls, what your balance paid at list price, what they owe you (list + markup), your margin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | the hash of your transfer on that chain (actions: topup) | |
| day | No | YYYY-MM-DD (UTC) (actions: metrics) | |
| plan | No | plan (actions: topup) | |
| tile | No | tile (actions: tenant) | |
| usdc | No | usdc (actions: topup) | |
| view | No | view (actions: access) | |
| label | No | a label for the child key (your customer) (actions: reseller_child) | |
| range | No | range (actions: tenant) | |
| action | No | what to do (default tenant): tenant | access | topup | metrics | reseller_child | reseller_earnings | tenant |
| params | No | operation parameters, e.g. { "vault": "vault:tenant:tenant-3" } (actions: reseller_earnings) | |
| series | No | series (actions: metrics) | |
| window | No | window (actions: access) | |
| api_key | No | api key (actions: tenant, access, topup, reseller_child, reseller_earnings) | |
| chain_id | No | the pay chain; absent = Base (actions: topup) | |
| signature | No | personal_sign of the quoted message by the wallet that sent the transfer (actions: topup) | |
| markup_bps | No | your markup in basis points per product id, "*" for all, e.g. { "*": 1000, "taifoon.rpc": 2500 } (actions: reseller_child) |