Security enhancements to IP Vault and new Gemini 3.1 Flash Live STS model for Convo mode
curl --request POST \
--url https://pria.praxislxp.com/api/admin/institution/{id}/credits \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"credits": 100,
"note": "compensation for outage",
"skipParentDebit": false
}
'{
"success": true,
"data": {
"institution": {
"id": "<string>",
"credits": 123
},
"account": {
"id": "<string>",
"credits": 123
},
"transfer": {
"_id": "<string>",
"institution": "<string>",
"account": "<string>",
"user": "<string>",
"credits": 123,
"status": "active",
"created": "2023-11-07T05:31:56Z",
"transferMode": 1,
"note": "<string>"
}
},
"message": "Institution credits adjusted!"
}Adds or subtracts credits from the given institution. Records an AccountTransfer with a mandatory note for audit. If the institution has a parent account, by default credits are transferred zero-sum from that account (the account’s balance is decremented by the same amount and the AccountTransfer record has both institution and account set). For standalone institutions OR when skipParentDebit is true, credits are injected directly into the institution with no account adjustment, and the AccountTransfer record omits the account field. skipParentDebit is intended for promo/compensation credits funded by the platform. Reserved for super administrators - regular admins and account managers receive 403.
curl --request POST \
--url https://pria.praxislxp.com/api/admin/institution/{id}/credits \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"credits": 100,
"note": "compensation for outage",
"skipParentDebit": false
}
'{
"success": true,
"data": {
"institution": {
"id": "<string>",
"credits": 123
},
"account": {
"id": "<string>",
"credits": 123
},
"transfer": {
"_id": "<string>",
"institution": "<string>",
"account": "<string>",
"user": "<string>",
"credits": 123,
"status": "active",
"created": "2023-11-07T05:31:56Z",
"transferMode": 1,
"note": "<string>"
}
},
"message": "Institution credits adjusted!"
}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.
JWT token passed in x-access-token header
Institution ID
Non-zero integer. Positive adds, negative subtracts.
100
Mandatory reason for the adjustment. Max 2000 chars.
"compensation for outage"
If true, inject credits directly into the institution without debiting the parent account. Only meaningful when the institution has a parent account. Intended for promo/compensation credits funded by the platform rather than the client account.
Was this page helpful?