Record a purchase (custom contribution)
superphone_add_contributionWRITE: record a purchase or donation against a contact (name, amount, date). It adds to the contact's total spent and cannot be undone with this server. Returns the new contribution. GraphQL mutation createCustomContribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What it was for, e.g. 'Gift card' or 'October order #1042'. | |
| amount | Yes | Amount in the account's currency. | |
| contact_id | Yes | Superphone contact id. | |
| created_at | No | When it happened, ISO 8601 (2026-10-01T12:00:00Z or 2026-10-01). Default: now. |