Update a payment credit type

Updates the supplied fields of an existing payment credit type and preserves omitted fields.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringOptional<=255 characters
descriptionstring or nullOptional
is_activeboolean or nullOptional
default_fund_idinteger or nullOptional
default_campaign_idinteger or nullOptional

Response

Credit type updated successfully.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error