---
title: "Donate to an agentic campaign via MPP"
method: POST
path: "/api/agent/donate"
---

# Donate to an agentic campaign via MPP

`POST /api/agent/donate`

First request without an Authorization credential returns 402 with a Payment challenge. Retry with Authorization: Payment <credential> containing a Stripe Shared Payment Token (SPT). Query amount is in major currency units (e.g. 10.0 for $10); the challenge request.amount is the minor-unit integer string.

## Query parameters

- `campaignId` integer, required
- `amount` string, required
- `donorFirstName` string
- `donorLastName` string
- `donorEmail` string, email
- `notes` string

## Response `200`

Donation succeeded

## Other responses

- `400` — Invalid campaign or amount
- `402` — Payment Required — WWW-Authenticate Payment challenge

---

[API](https://skmtc.net/donorbox/apis/donorbox-agent-api.md) · [All operations](https://skmtc.net/donorbox/apis/donorbox-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/donorbox/donorbox-agent-api/revisions/8380ed6e0ee4/schema)
