Skip to main content
PATCH
Change the Membership fees settings

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Query Parameters

dryRun
boolean

Check and report the change without saving it

Body

application/json

The settings to change

isActive
boolean
default:true

Turns membership fee collection on for the workspace. Off hides fee status, fee payment and fee menus from members and admins. Dry-run and confirm with the person first.

productUuid
string | null

UUID of the product members pay their membership fee with. Set together with fees.productId (the same product). Empty means no fee product, so members cannot pay a fee. The uuid of a Product in this workspace. Dry-run and confirm with the person first.

productId
integer | null

Numeric id of the membership fee product; must be the same product as fees.productUuid. The id of a Product in this workspace. Dry-run and confirm with the person first.

defaultProductPriceId
integer | null

Price (level) of the fee product that is preselected for members. Must belong to the fee product and must not be an admin-only price. Empty means no default. Marks the chosen price as the default on the product and unmarks the previous one; an id outside the workspace or an admin-only price is rejected. The id of a ProductPrice in this workspace. Dry-run and confirm with the person first.

hasPaymentIban
boolean
default:false

Allows bank transfer (IBAN) as a fee payment option and shows a bank transfer filter on the fee payments list.

feeLocalExists
boolean
default:false

Local centers collect their own membership fee in addition to (or instead of) the organisation fee.

hasLocalCentersDashboard
boolean
default:true

Shows a local centers dashboard for fee management. Only offered while local center fees are on.

hasLocalCenterMembersTable
boolean
default:false

Gives local center financial admins a members table in the local center fee dashboard where they can record temporary fee notes. Only offered while local center fees are on.

hasLifeTime
boolean
default:false

Allows lifetime membership prices: a member who paid a lifetime price stays paid forever and is never auto-deactivated. Dry-run and confirm with the person first.

feeMaxDaysStillActive
integer
default:0

Grace period in days after a membership fee expires during which the member still counts as paid. 0 means no grace period. Added to fees.feeMaxMonthsStillActive. Dry-run and confirm with the person first.

Required range: x >= 0
feeMaxMonthsStillActive
enum<integer>
default:0

Grace period in months (0 to 12) after a membership fee expires during which the member still counts as paid. 0 means no grace period. Dry-run and confirm with the person first.

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
feeMinimumMembersLocalCenter
integer
default:25

Number of members below which a local center is flagged as late in the organisation's fee statistics. Only used with local center fees.

Required range: x >= 0
feeMinimumMembersPercentageLocalCenterActive
enum<integer>
default:100

Percentage of active members (10 to 100) that must have paid before a local center stops being flagged as late in the fee statistics. Only used with local center fees.

Available options:
10,
20,
30,
40,
50,
60,
70,
80,
90,
100
notEligibleUserTypeId
integer | null

User type whose members are not eligible to pay the membership fee and do not count as owing one. Empty means every user type is eligible. The id of a Role in this workspace.

canPayNextYear
boolean
default:true

Lets members pay the next membership year in advance. Off limits payments to periods starting in the current year.

advancePaymentWindowMonths
enum<integer> | null

How many months (1 to 12) before expiry a yearly or multi-month fee can be paid in advance. Empty uses the default of 1 month.

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
null
advancePaymentWindowDays
integer | null

How many days before expiry a monthly fee can be paid in advance. Empty uses the default of 7 days.

Required range: x >= 0
whoCanSeeUserFee
enum<string>
default:USER

Who can see a member's fee payment status: any user, local HR, organisation HR or organisation admins. Currently stored only; the server does not enforce it.

Available options:
USER,
HR_LOCAL,
HR_TENANT,
ADMIN_TENANT
fixedStartingDateFee
boolean
default:false

Fee periods follow a fixed calendar cycle instead of starting on the day each member pays. Cannot be on together with fees.donationsCountTowardsMembership. Dry-run and confirm with the person first.

donationsCountTowardsMembership
boolean
default:false

A donation to any campaign extends the donor's membership from the day it is paid, when it reaches the pay-what-you-want minimum for its period. Needs a pay-what-you-want level with a minimum on the fee product and fees.fixedStartingDateFee off. Every change queues a recomputation of all members' membership dates; switching on is rejected while fees use a fixed starting date or the fee product has no pay-what-you-want level with a minimum. Dry-run and confirm with the person first.

continuityMandatory
boolean
default:false

Members must pay fee periods in order with no gaps: older unpaid periods have to be paid before later ones.

isMandatory
boolean
default:false

Membership fee payment is mandatory: eligible members whose fee has expired are blocked from the workspace until they pay (organisation HR and financial admins are exempt). Dry-run and confirm with the person first.

requireContractForMembershipPurchase
boolean
default:false

Members must sign the membership contract (fees.membershipContractDocumentId) before they can pay the membership fee.

membershipContractDocumentId
integer | null

Contract document members must sign before paying the membership fee. Used only while fees.requireContractForMembershipPurchase is on. The id of a Contract in this workspace.

enableMembershipPaymentsViaBankTransfer
boolean
default:false

Lets members and companies pay the membership fee by bank transfer against an invoice. Needs bank transfer payments (fees.hasPaymentIban) and the Invoices module on.

companyFeeIsMandatory
boolean
default:false

Company members lose access until their company fee is paid; the company's financial representatives can pay, other members see a message. Needs the Company module on. Dry-run and confirm with the person first.

autoDeactivateOnFeeExpiry
boolean
default:false

Sets members to inactive automatically when their membership fee expires, in a daily run at 7:00 UTC. Only works while fee payment is mandatory. From the next daily run, members whose fee has expired are set to inactive. Dry-run and confirm with the person first.

allowMarkAsPaid
boolean
default:true

Lets financial admins mark a member's membership fee as paid by hand.

hasVat
boolean
default:false

Shows VAT fields on membership prices and adds VAT on top at checkout and on invoices. Off means VAT is never charged, even on prices that have a rate set. Dry-run and confirm with the person first.

hasRegistrationFee
boolean
default:false

Shows the one-time registration fee on membership prices and charges it on a member's first membership payment. Off means no registration fee is charged. Dry-run and confirm with the person first.

allowCoverProcessingFee
boolean
default:false

Lets members add the card processing fee to their membership payment so the organisation receives the full amount. Has no effect while VAT on fees is on. Dry-run and confirm with the person first.

attributeFeeRevenueToLocalCenter
boolean
default:false

Credits payments on organisation-level products to the payer's local center in local center analytics. Changes reporting only, not where money goes. Applies to new metrics only; past local center figures change only after the metrics aggregation is rerun for the workspace. Dry-run and confirm with the person first.

Response

OK