how to get event payment info via API

73 views
Skip to first unread message

Dan Lord

unread,
Jun 20, 2016, 5:01:40 PM6/20/16
to Eventbrite API
I suspect this is one of those "stupid questions", but I need to ask it. Evidently, there is some basic understanding I'm lacking.

My goal it to retrieve payment information from Eventbrite. I'm using the /users/:id/owned_event_orders/ endpoint for this purpose.
I'd also like attendee and event-related data, so I've added the event and attendee expansions, as follows: https://www.eventbriteapi.com/v3/users/133503208274/owned_event_orders/?changed_since=2016-01-01T00:00:01Z&status=all&expand=event,attendees&token=XXXXXX

(Of course, I use a real token.)

In the data returned by the API, I see a costs object for each order. I also see a costs object for each attendee.

Does the higher level costs object - the one on the orders object - give me the total payments of all attendees on this order?

Does the lower level costs object - the one on the attendee object - give me the payment made by the specific attendee?

I'm guessing that the normal situation is that there is one attendee per order, and so if the answers to my two questions above are both, "Yes." then the data in each of those objects should match. Right?

Also, is the amount shown in the costs object an actual payment? or is it simply the costs of the event?

And, if it is only the cost of the event, how do I retrieve the payment information?

If these questions are answered clearly elsewhere, please point me in that direction.

I have read the API documentation, and I've done some searching in this forum.



Eventbrite API

unread,
Jun 27, 2016, 12:38:17 PM6/27/16
to Eventbrite API
Hi Dan, Unfortunately, the payment object is not something that you can access yet. We have it documented in preparation for the upcoming release of a new endpoint. I apologize for the confusion. 

 Regarding the costs, you are correct in your understanding. The cost on the order object is for all attendees on an order. The cost on the attendee object is for one specific attendee and should match the cost of the ticket class. The cost of the order may or may not match the cost of the ticket class based on the number of attendees on the order. 

 The cost does not correspond to an actual payment.

Dan Lord

unread,
Jun 27, 2016, 1:07:02 PM6/27/16
to Eventbrite API
Thank you for your response.

I think I will have to resort to manually running reports from within Eventbrite, exporting the data to a CSV file and reading that file for the required data.
Reply all
Reply to author
Forward
0 new messages