Transfer credits between account and institution
curl --request PUT \
--url https://pria.praxislxp.com/api/admin/accountInstitution/{id} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institutionId": "<string>",
"credits": 100
}
'{
"success": true,
"data": {
"account": {
"id": "<string>",
"credits": 123
},
"institution": {
"id": "<string>",
"credits": 123,
"creditsTotal": 123,
"creditsUsagePct": 123
}
},
"message": "Account Transfer recorded!"
}Admin Accounts
Transfer credits between account and institution
Transfers credits from the parent account to one of its institutions (positive credits value) or reclaims credits from the institution back to the account (negative credits value). The institution must belong to the specified account. Both the account and institution must have sufficient credits for the transfer direction. An AccountTransfer record is created for audit purposes.
PUT
/
api
/
admin
/
accountInstitution
/
{id}
Transfer credits between account and institution
curl --request PUT \
--url https://pria.praxislxp.com/api/admin/accountInstitution/{id} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institutionId": "<string>",
"credits": 100
}
'{
"success": true,
"data": {
"account": {
"id": "<string>",
"credits": 123
},
"institution": {
"id": "<string>",
"credits": 123,
"creditsTotal": 123,
"creditsUsagePct": 123
}
},
"message": "Account Transfer 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
Account ID (the parent account to transfer credits from/to)
Body
application/json
Was this page helpful?
⌘I