---
title: "Packaging returned in store: donations with the Charitips API"
description: "A shop gives 0,10 € for each packaging item dropped at its collection point."
canonical: https://www.charitips.com/docs/use-cases/on-site/packaging-return
---

# Packaging returned in store: donations with the Charitips API

> A shop gives 0,10 € for each packaging item dropped at its collection point. The customer picks the charity once; the shop sends the month's total as one donation.

- **Use case**: [On site, at a kiosk or with a QR code](https://www.charitips.com/docs/use-cases/on-site.md)
- **Sector**: Retail
- **Who pays**: Your company
- **What starts the donation**: A customer action
- **Example**: 0,10 € per item returned, settled monthly
- **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/onsite/packaging-return.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": "Packaging returned",
    "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": "Packaging returned",
    "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. At the kiosk drop-off

- Button: Scan my card at the kiosk

No call: this screen only shows the result.

### 2. When the charity is chosen

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

No call: this screen only shows the result.

### 3. At the end of the month

- Button: Close the month

**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": 250,
    "uniqueExternalId": "customer_5521_2026-10",
    "externalId": "customer_5521",
    "charityId": "<charityId>"
  }
  ```

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

## Other ways to run it

- [Cup returned at a festival](https://www.charitips.com/docs/use-cases/on-site/cup-return.md) (Culture and events): 0,50 € per cup returned
- [Game at an event stand](https://www.charitips.com/docs/use-cases/on-site/stand-game.md) (Culture and events): 1 € to 10 € per win
- [Contact left at a stand](https://www.charitips.com/docs/use-cases/on-site/stand-lead.md) (Culture and events): 0,50 € per contact
- [QR code on a product](https://www.charitips.com/docs/use-cases/on-site/product-qr.md) (Retail): 2 % of the price, scanned after purchase
- [Cashless wristband top-ups](https://www.charitips.com/docs/use-cases/on-site/cashless-top-up.md) (Culture and events): 0,50 € per top-up, sent after the festival
- [Full guide: edge cases, webhooks, receipts](https://www.charitips.com/docs/use-cases/on-site.md)
- [All use cases](https://www.charitips.com/docs/use-cases.md)
