Branch CostpostBffBranch-costCreate
Parameters
14 body
Body · 14
branchSlugstringRequirednamestringRequiredLength: 1–200
categorystring | string | string | string | string | string | string | string | string | string | stringRequiredtypestring | stringRequireddefaultAmountMoneynumberRequiredAmount in minor units (cents / haléře). Non-negative.
Range: 0–∞
currencystringISO 4217 — defaults to the organisation default currency.
appliesFromstringRequiredISO YYYY-MM-DD.
appliesTostring | nullisActivebooleanrecurringIntervalMonthsnumberRange: 1–36
paymentDayOfMonthnumber | nullnotestring | nullcontactExternalIdstring | nullpayerContactExternalIdstring | nullRequest
POST /bff/branch-cost/create
curl -X POST "https://api.bizkithub.com/bff/branch-cost/create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"branchSlug": "example_branchSlug",
"name": "example_name",
"defaultAmountMoney": 0,
"currency": "example_currency",
"appliesFrom": "example_appliesFrom",
"isActive": false,
"recurringIntervalMonths": 0
}'Response
JSON payload
{
"success": false,
"costId": "example_costId"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.