admin

Adjust User Credits

Add or deduct credits for a user's organization.

post/admin/users/{user_id}/adjust-credits

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

user_idstring uuid required

Request body

amountinteger required

Positive to add credits, negative to deduct

reasonstring nullable

Admin note for this adjustment

Response

Successful Response

successboolean
new_balanceinteger required
change_amountinteger required
reasonstring required
ledger_entry_idstring uuid required

Changes

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