widgetic api credits <command> runs the Credits operations of the REST API. It has 2 commands. Every command also takes the flags every command takes.
widgetic api credits get-user-credit-balance
Get an account’s credit balance
- Request:
GET /credits/user/{userId}/balance - Operation:
getUserCreditBalance(widgetic api call getUserCreditBalanceruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api credits get-user-credit-balance.
widgetic api credits get-user-credit-transactions
List an account’s credit ledger
- Request:
GET /credits/user/{userId}/transactions - Operation:
getUserCreditTransactions(widgetic api call getUserCreditTransactionsruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api credits get-user-credit-transactions.