---
title: "Premium plan revenue: donations with the Charitips API"
description: "An online school gives 5 % of all Premium subscriptions each month to one charity it names for the year."
canonical: https://www.charitips.com/docs/use-cases/periodic-statement/premium-plan
---

# Premium plan revenue: donations with the Charitips API

> An online school gives 5 % of all Premium subscriptions each month to one charity it names for the year. Subscribers see in their account the total given since January.

- **Use case**: [A saved choice, a periodic statement](https://www.charitips.com/docs/use-cases/periodic-statement.md)
- **Sector**: Education
- **Who pays**: Your company
- **What starts the donation**: Every period
- **Example**: 5 % of the Premium plan revenue, each month
- **Calls**: [`POST /v1/charities-selections`](https://www.charitips.com/docs/api-reference/create-charities-selection.md), [`POST /v1/campaigns`](https://www.charitips.com/docs/api-reference/create-campaign.md), [`POST /v1/campaigns/{campaignId}/activate`](https://www.charitips.com/docs/api-reference/activate-campaign.md), [`POST /v1/donations`](https://www.charitips.com/docs/api-reference/create-donation.md)
- **Webhooks**: `donation_create`

Interactive demo on the page. The same flow as a build spec: https://www.charitips.com/docs/demos/statement/premium-plan.md

## How it works

The screens of the demo in order, with the calls your server makes at each one.

### Once, before the first customer

- [`POST /v1/charities-selections`](https://www.charitips.com/docs/api-reference/create-charities-selection.md) Create a charities selection: once: the charities you offer, from the catalog

  ```json
  {
    "name": "Your course platform",
    "charityIds": [
      "<charityId>"
    ]
  }
  ```
- [`POST /v1/campaigns`](https://www.charitips.com/docs/api-reference/create-campaign.md) Create a campaign: once: the campaign the donations go to

  ```json
  {
    "name": "Your course platform",
    "charitiesSelectionId": "<charitiesSelectionId>",
    "type": "PERMANENT",
    "amountType": "FREE_AMOUNT"
  }
  ```
- [`POST /v1/campaigns/{campaignId}/activate`](https://www.charitips.com/docs/api-reference/activate-campaign.md) Activate a campaign: once: the campaign starts taking donations

### 1. When the month closes

- Button: Close the month of October

**Your server calls:**

- [`POST /v1/donations`](https://www.charitips.com/docs/api-reference/create-donation.md) Create a donation: from your server, when it happens; amount in cents

  ```json
  {
    "campaignId": "<campaignId>",
    "amount": 124000,
    "uniqueExternalId": "premium_2026-10",
    "charityId": "<charityId>"
  }
  ```

Charitips then sends the `donation_create` webhook to your endpoint.

## Other ways to run it

- [Share of a subscription](https://www.charitips.com/docs/use-cases/subscription-share.md) (Software and apps): 1 % of each plan, every renewal
- [Card cashback](https://www.charitips.com/docs/use-cases/card-cashback.md) (Banking and insurance): 1 % of card spending, each month
- [Energy saved](https://www.charitips.com/docs/use-cases/periodic-statement/kwh-saved.md) (Energy): 0,01 € per kWh saved, on each bill
- [No-claim year bonus](https://www.charitips.com/docs/use-cases/periodic-statement/no-claim-bonus.md) (Banking and insurance): 10 € after a year with no claim
- [Unused premium given back](https://www.charitips.com/docs/use-cases/periodic-statement/unused-premium.md) (Banking and insurance): 5 % of the unused premium, at year end
- [Monthly share of a premium](https://www.charitips.com/docs/use-cases/periodic-statement/policy-renewal.md) (Banking and insurance): 1 € a month, inside the premium
- [Share of a card fee](https://www.charitips.com/docs/use-cases/periodic-statement/card-fee-share.md) (Banking and insurance): 10 % of the yearly fee of a premium card
- [Cashback on purchases](https://www.charitips.com/docs/use-cases/periodic-statement/purchase-cashback.md) (Banking and insurance): 1 % of each purchase, settled monthly
- [Active time converted](https://www.charitips.com/docs/use-cases/periodic-statement/active-time.md) (Software and apps): 0,01 € per active period, settled monthly
- [Full guide: edge cases, webhooks, receipts](https://www.charitips.com/docs/use-cases/periodic-statement.md)
- [All use cases](https://www.charitips.com/docs/use-cases.md)
