/bff/contact-credit/reason/create
Creates a new credit reason for the organisation.
Contact CreditpostBffContact-creditReasonCreate
Parameters
6 body
Body · 6
namestringRequiredDisplay name.
codestringUnique code (slug-like). Auto-generated from name when omitted.
descriptionstringInternal description shown in admin.
defaultAmountnumberRequiredDefault credit amount when this reason is selected.
defaultAmountMoneynumberDefault monetary value in the organisation default currency. Omit to inherit from defaultAmount (1:1).
activebooleanWhether the reason is selectable. Defaults to true.
Request
POST /bff/contact-credit/reason/create
curl -X POST "https://api.bizkithub.com/bff/contact-credit/reason/create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"name": "Reklamace úklidu",
"code": "cleaning-complaint",
"description": "example_description",
"defaultAmount": 50,
"defaultAmountMoney": 50,
"active": false
}'Response
JSON payload
{
"success": true,
"externalId": "example_externalId",
"code": "example_code"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.