Path parameters
-
Which item to be processed
Minimum value is
0
.
GET
/pledge/{id}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/pledge/99 \
-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"
}
Response examples (404)
{
"error": "Not Found"
}