Account

Deprecated — agent runs deduct credits server-side

Not needed for agent runs: POST /api/packiq/run deducts (and refunds) credits itself.

post/account/credits/deduct

Request

  • Base URL: https://opnplatform.com/api
  • URL: https://opnplatform.com/api/account/credits/deduct
  • Auth: HTTP bearer

Request body

agent_idstring required

PACKIQ agent ID (e.g. quote-analyser)

costinteger required

Credits to deduct

Response

Credits deducted — returns new balance

Changes

No recorded changes to this operation across all 1 revision of this API.