Concepts
Vendor credits
Spend the startup credits and prepaid commits you already hold first.
Tell Boxport about credit you hold with a vendor and it places sessions there first while the credit lasts. Speed and health still count, so a vendor that is down doesn't get traffic because it's free.
curl -X PUT https://boxport.dev/v1/spend/credits -H "Authorization: Bearer $BOXPORT_KEY" \
-d '{"daytona":{"amount":5000,"expires":"2027-06-30"}}'
- The body replaces the whole list. An amount of
0removes a vendor. - A session that fits in a vendor's remaining credit is placed as if it cost nothing.
- Each closed sandbox's estimate is taken off the balance. Caps still use list price.
GET /v1/spendshows what is left.