# Create an account/customer
curl /api/v1/accounts \
-X POST \
-H "Authorization: Token <token>" \
-d company_name="Acme Inc." \
-d code="acme-inc-customer-id-here" \
-d legal_address="Hermodsvej 22" \
-d legal_zipcode="8230" \
-d legal_city="Aabyhøj" \
-d legal_country="DK"
# Create a new subscription
curl /api/v1/subscriptions \
-X POST \
-H "Authorization: Token <token>" \
-d account="acme-inc-customer-id-here" \
-d terms="<plan-terms-uuid>" \
-d collection_method="invoice"
# Create a plan
curl /api/v1/plans \
-X POST \
-H "Authorization: Token <token>" \
-d name="Medium Plan" \
-d code="medium-plan" \
-d vat_type="services"
# Create plan terms
curl /api/v1/plans/<plan-uuid>/terms \
-X POST \
-H "Authorization: Token <token>" \
-d interval_type="month" \
-d interval_count=1 \
-d price=100 \
-d currency="DKK" \
-d revenue_group="<revenue-group-name>"
# Create a new discount contract
curl /api/v1/accounts/<account-code>/contracts \
-X POST \
-H "Authorization: Token <token>" \
-d start_date="2024-01-01 00:00:00" \
-d plan_terms="<plan-terms-uuid>"
# Create a new discount contract tier
curl /api/v1/accounts/<account-code>/contracts/<contract-uuid>/tiers \
-X POST \
-H "Authorization: Token <token>" \
-d start_date="2024-01-01 00:00:00" \
-d minimum_quantity=1 \
-d discount=10 \
-d discount_type="percent"
# Create a one-off product
curl /api/v1/draft-invoice-lines/products \
-X POST \
-H "Authorization: Token <token>" \
-d account="acme-inc-customer-id-here" \
-d date_from="2024-01-01" \
-d date_to="2024-01-01" \
-d quantity=1 \
-d product_pricing="<product-pricing-uuid>"
For developers, by developers
We want to make it as easy as possible for you to get started with the Fenerum API. That’s why we provide a developer Slack channel, detailed API documentation, and all the integrations you need.
Detailed API documentation
We provide detailed API documentation with everything you need to get started with the Fenerum API.
API documentationDedicated developer slack channel
We provide a dedicated developer Slack channel where you can chat directly with Fenerum’s developers and other developers using the Fenerum API.
Contact support to get accessOne integration, endless possibilities
When you integrate with the Fenerum API, you don’t just gain access to Fenerum, you also gain access to data from all our other useful integrations.
View all integrationsTrusted by leading SaaS businesses
We help multiple market leaders save time and money by automating their financial operations.