Getting Pledge Details From /current_user


#1

So calling /current_user will return an array of pledges that include only the pledge id. How can I take this id and get details on the pledge, or get the pledge details included in the original request?

Sorry if this is obvious or easy to do, but I’ve been searching around a lot and can’t figure it out. I know I can make a request for ALL pledges to a campaign, but I don’t want to have to loop through all of the pledges to find the one I’m looking for.

Thanks.


#2

Nevermind. Figured it out. Didn’t expect there to be data outside of the data property. Sorry for the bother.


#3

For posterity, the pledge resource is located in the top level included key of the response.