Create a contribution [DEPRECATED: Use transaction routes]
Deprecated
Run in API Explorer
Body
-
The type of contribution. Available options: recurring and adhoc
Value Description recurring Recurring adhoc Adhoc Values are
recurringoradhoc. -
The type of contributor. Available options: self, employer, family, government, salary_sacrifice and other
Value Description self Self employer Employer family Family government Government salary_sacrifice Salary Sacrifice other Other Values are
self,employer,family,government,salary_sacrifice, orother. -
The frequency of the contribution. Required if the contribution type is "recurring". Available options: daily, weekly, fortnightly, four_weekly, monthly, bimonthly, quarterly, biannually, annually, adhoc and one_off
Value Description daily Daily weekly Weekly fortnightly Fortnightly four_weekly Four Weekly monthly Monthly bimonthly Bimonthly quarterly Quarterly biannually Biannually annually Annually adhoc Adhoc one_off One Off Values are
daily,weekly,fortnightly,four_weekly,monthly,bimonthly,quarterly,biannually,annually,adhoc, orone_off. -
The start date of a recurring contribution. Required if the contribution type is "recurring".
-
The end date of a recurring contribution. Required if the contribution type is "recurring".
-
The date the adhoc contribution was paid. Required if the contribution type is "adhoc".
-
The value of the contribution in pennies. For example, £40.00 would be 4000.
-
Optional notes to add to the contribution.
curl \
--request POST 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed/contributions' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"type":"recurring","contributor_type":"self","frequency":"daily","started_at":"2025-11-24","ended_at":"2025-12-24","paid_at":"2025-12-24","value":4000,"notes":"Example Notes"}'
{
"type": "recurring",
"contributor_type": "self",
"frequency": "daily",
"started_at": "2025-11-24",
"ended_at": "2025-12-24",
"paid_at": "2025-12-24",
"value": 4000,
"notes": "Example Notes"
}
[
{
"uuid": "b3a67eaf-d049-43c6-94a2-74c7c925bdc5",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"paid_at": "2025-12-24T11:02:59+00:00",
"created_at": "2025-12-24T11:02:59+00:00",
"updated_at": "2025-12-24T11:02:59+00:00"
}
]