Record a donation for a creator (server-to-server; amount returned in cents).
API Key API key used for authentication
In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/donation/create" \ -H "Content-Type: application/json" \ -d '{ "amount": 1, "currency": "aed" }'{ "id": "test-donation-id", "amount": 1000, "currency": "usd", "donorName": "Test Donor", "donorEmail": "test@example.com", "message": "Test donation", "createdAt": "2026-07-15T21:26:44.878Z"}{ "error": "string", "code": "string", "details": null}Donation amount in dollars (e.g. 5.00 for $5.00, max 10000.00)
1 <= value <= 10000Currency code (ISO 4217). Must be a valid Stripe-supported currency.
Value in
Donor name
length <= 200Donor email (optional, may be set by payment provider)
Donation message
length <= 500