Purchase units
Purchases run units (execution units) for the current workspace.
POST
/api/billing/purchase-unitsBody
amountintegerrequiredRequest
curl
curl -X POST https://platform.trickest.com/api/billing/purchase-units \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Purchase result
successboolean400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring