Transfers credits from the parent account to the institution. Requires admin or super account type. Validates that the user institution exists, belongs to the authenticated user, matches the user’s current institution, the institution is linked to a parent account, and the account has sufficient credits. Creates an AccountTransfer record to log the transaction. Defaults to 1000 credits if not specified.
JWT token passed in x-access-token header
The user institution ID to credit (must be a valid ObjectId)
Number of credits to transfer (defaults to 1000 if omitted)
1000