Get all contributions [DEPRECATED: Use transaction routes]
Headers
-
Content-Type string
-
Accept string
Path parameters
-
An optional sub-account to constrain the results by.
Query parameters
-
filter[uuid] string
Filter by a comma separated list of UUIDs.
-
sort string
Field to sort by. Valid fields are [created_at, updated_at, type, started_at, ended_at, paid_at]. Negative sign to denote DESC. Defaults to '-paid_at,-created_at'.
-
per_page integer
Number of results to return with pagination (Default 15. Max 500).
GET
/api/v1/plans/{plan_uuid}/contributions/{subAccount}
curl \
--request GET https://api.plannrcrm.com/api/v1/plans/plan_uuid/contributions/subAccount \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Response examples (200)
{
"data": [
{
"uuid": "8859febf-5dd6-4f9f-9cb5-4e6f0f606d8b",
"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-02-20T10:13:04+00:00",
"created_at": "2025-02-20T10:13:04+00:00",
"updated_at": "2025-02-20T10:13:04+00:00"
}
]
}