Funding Runs
How your wallet and workflow bundles fund runs started in the app or through the API.
Buyers and creators using Edgaze.
Overview#
You fund runs from your wallet or a prepaid workflow bundle. The app and API are ways to start a run; both use the same funding order: matching bundle first, then wallet.
Prepaid runs on one workflow version: any whole number of runs, $5 to $500 in total. Drawn first.
Top up once, pay per run on any workflow when packs are empty.
Packs are locked to one workflow version and keep the price they were bought at. A pack holds any whole number of runs, $5 to $500 in total (cheaper workflows offer larger packs to reach the minimum), and unused runs expire after 2 years. A workflow that costs $5 or more a run can also be bought one run at a time.
Wallet#
Top up at least $10.00 through checkout. Wallet balance works across current per-run workflows. The app shows the amount currently available to spend.
Wallet is the most flexible option if you run many different workflows.
Prepaid bundles#
A pack prepays a whole number of runs for one workflow version, at the price shown when you buy it. The total is that per-run price times the number of runs, at least $5.00 and at most $500. A workflow that costs $5 or more a run can also be bought one run at a time. A pack keeps the price it was bought at, even if the workflow's price changes later.
Bundle runs draw before wallet on every trigger. A run on your own API keys is the exception: it pays the own-keys price from your wallet and leaves your bundle runs untouched. Failed runs do not consume a bundle run. When your bundle is empty or expired, funding falls through to your wallet.
At trigger#
When you start a run, Edgaze checks for an eligible bundle matching you, the workflow, and the exact version that runs. If one exists with runs remaining and has not expired, that run uses the bundle. When you do not choose a version and you hold a bundle, the run uses the version the bundle was bought for.
Otherwise the run is funded from your wallet. A wallet-funded run reserves exactly its price while it runs, so a balance equal to the price is enough. A successful run is charged that price, a failed run is not charged, and a run that completes with issues is charged less. If your wallet cannot cover the price and no bundle run is available, execution does not start and no charge is made. A REST API request may first return 202 and later report the run as failed.
API-triggered runs follow the same order. API keys can also set a spend cap that rejects the request immediately. See the API funding table.
After the run#
A successful bundle-funded run consumes one prepaid run. A successful wallet-funded run charges your balance for the displayed price.
A failed or cancelled run is not ordinarily charged. Bundle runs are not consumed on failure.
Special cases#
- Bundle depleted: Funding falls through to wallet. If wallet is insufficient, the run will not start.
- New version published: A bundle keeps running the version it was bought for. A run without a chosen version uses that version and draws from the bundle. If you pick a different version, that run uses wallet at its own price. See Version Pinning.
- Expired bundle: Excluded from funding. You must use wallet or the run will not start.
- Insufficient wallet: If your available balance cannot cover the run's price, no execution starts and no charge is made. An accepted API request later reports
failed.
What you see in Edgaze#
- Checkout: wallet top-up and run packs, with the per-run and total price
- Workflow page: "runs left" counter when you hold a prepaid bundle
- Wallet page: top-ups, bundle purchases, and charges
- Insufficient funds or spend cap messages when a run cannot start
Related policies#
Was this useful?
Your response helps us improve the documentation.
Related documentation
How workflow runs are priced, funded, settled, and refunded. Step-by-step guides for buyers, creators, and developers.
How to open a workflow, fund a run, and what happens when it completes.
How the per-run price is built, what the creator earns, and what Edgaze keeps.