---
title: "Appointment kept: donations with the Charitips API"
description: "A medical practice gives 0,20 € when a patient confirms a reminder, 50 % more if they arrive on time."
canonical: https://www.charitips.com/docs/use-cases/validated-reward/appointment-kept
---

# Appointment kept: donations with the Charitips API

> A medical practice gives 0,20 € when a patient confirms a reminder, 50 % more if they arrive on time. The patient picks the charity when confirming; reception validates arrival.

- **Use case**: [A reward validated later](https://www.charitips.com/docs/use-cases/validated-reward.md)
- **Sector**: Software and apps
- **Who pays**: Your company
- **What starts the donation**: A customer action
- **Example**: 0,20 € per confirmed reminder, +50 % if on time
- **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), [`POST /v1/donations/{donationId}/claim`](https://www.charitips.com/docs/api-reference/claim-donation.md), [`POST /v1/donations/{donationId}/validate`](https://www.charitips.com/docs/api-reference/validate-donation.md)
- **Webhooks**: `donation_create`, `donation_update`

Interactive demo on the page. The same flow as a build spec: https://www.charitips.com/docs/demos/validation/appointment-kept.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 practice",
    "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 practice",
    "charitiesSelectionId": "<charitiesSelectionId>",
    "type": "PERMANENT",
    "amountType": "FREE_AMOUNT",
    "withDonationsValidation": true,
    "donationsBilledOn": "CLAIM"
  }
  ```
- [`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. On confirmation

- Button: Confirm

**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": 20,
    "uniqueExternalId": "booking_2026_10_14_0930",
    "externalId": "client_5521"
  }
  ```

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

### 2. When the charity is chosen

- The customer picks a charity from your selection.
- Button: Choose the charity

**Your server calls:**

- [`POST /v1/donations/{donationId}/claim`](https://www.charitips.com/docs/api-reference/claim-donation.md) Claim a donation: donationId from the create-donation response

  ```json
  {
    "charityId": "<charityId>"
  }
  ```

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

### 3. On arrival at the appointment

- Button: Close the appointment: 0,30 €

**Your server calls:**

- [`POST /v1/donations/{donationId}/validate`](https://www.charitips.com/docs/api-reference/validate-donation.md) Validate a donation: once your team has checked it; donationId from the create-donation response

  ```json
  {
    "amount": 30
  }
  ```

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

## Other ways to run it

- [Bug bounty](https://www.charitips.com/docs/use-cases/validated-reward/bug-bounty.md) (Software and apps): 5 € to 5 000 € by severity, set at validation
- [Employee referral bonus](https://www.charitips.com/docs/use-cases/validated-reward/hiring-referral.md) (Professional services): 50 € once the hire passes the trial period
- [Bottles returned by post](https://www.charitips.com/docs/use-cases/validated-reward/bottle-return.md) (Health and sport): 0,50 € per bottle received and checked
- [Health goal validated](https://www.charitips.com/docs/use-cases/validated-reward/health-goal.md) (Banking and insurance): 20 € per goal validated by a doctor
- [Real-world mission validated](https://www.charitips.com/docs/use-cases/validated-reward/irl-mission.md) (Professional services): 5 € per mission validated by the ops team
- [Full guide: edge cases, webhooks, receipts](https://www.charitips.com/docs/use-cases/validated-reward.md)
- [All use cases](https://www.charitips.com/docs/use-cases.md)
