Create a payment credit type

Creates a named credit type and optionally associates its default fundraising fund and campaign.

Authentication

AuthorizationBearer

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

Request

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

Response

Credit type created successfully.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

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