Credit user institution with tokens
curl --request POST \
--url https://pria.praxislxp.com/api/user/userInstitutionCredit/{id} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"credits": 1000
}
'{
"success": true,
"message": "Transfer successfuly executed and recorded!"
}User Institutions
Credit user institution with tokens
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.
POST
/
api
/
user
/
userInstitutionCredit
/
{id}
Credit user institution with tokens
curl --request POST \
--url https://pria.praxislxp.com/api/user/userInstitutionCredit/{id} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"credits": 1000
}
'{
"success": true,
"message": "Transfer successfuly executed and recorded!"
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Path Parameters
The user institution ID to credit (must be a valid ObjectId)
Body
application/json
Number of credits to transfer (defaults to 1000 if omitted)
Example:
1000
Was this page helpful?
⌘I