List a page of pledges where the ID is greater than the optionally supplied fromthisid parameter
Returned in ID order.
Path parameters
-
The ID that is previous to the one to start from e.g. if IDs are 1,2,3 fromthisid as 1 will return 2,3
GET
/pledge/list/{fromthisid}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/pledge/list/4 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": 123,
"user_id": 569,
"status": "active",
"form_entry_id": 76,
"datetime_created_utc": "2017-07-18 23:15:10",
"payment_method_id": 5,
"payment_token": "\\*\\* hidden \\*\\*",
"card_expiry_date": "2028-01-31",
"amount": 30,
"frequency_type": "month",
"frequency_count": 6,
"start_date_local": "2017-07-18",
"last_payment_date_local": "2019-07-18",
"finance_tags_category_1": 5,
"finance_tags_item_1": 91,
"finance_tags_category_2": 10,
"finance_tags_item_2": 14,
"accountcode_id": 43,
"campaign_id": 43,
"note": "The donor requested a change of timing for this pledge",
"pledge_drive_id": 3,
"gateway_fees": 0.43
}
]
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}