Lists invoice events for a site. Each event contains event "data" (such as an applied payment) as well as a snapshot of the invoice at the time of event completion.
Exposed event types are:
Invoice events are returned in ascending order.
If both a since_date and since_id are provided in request parameters, the since_date will be used.
Note - invoice events that occurred prior to 09/05/2018 will not contain an invoice snapshot.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The timestamp in a format YYYY-MM-DD T HH:MM:SS Z, or YYYY-MM-DD(in this case, it returns data from the beginning of the day). of the event from which you want to start the search. All the events before the since_date timestamp are not returned in the response.
The ID of the event from which you want to start the search(ID is not included. e.g. if ID is set to 2, then all events with ID 3 and more will be shown) This parameter is not used if since_date is defined.
int64Result records are organized in pages. By default, the first page of results is displayed. The page parameter specifies a page number of results to fetch. You can start navigating through the pages to consume the results. You do this by passing in a page parameter. Retrieve the next page by adding ?page=2 to the query string. If there are no results to return, then an empty result set will be returned.
Use in query page=1.
1 <= value1This parameter indicates how many records to fetch in each request. Default value is 100. The maximum allowed values is 200; any per_page value over 200 will be changed to 200.
100Providing an invoice_uid allows for scoping of the invoice events to a single invoice or credit note.
Use this parameter if you want to fetch also invoice events with change_invoice_status type.
Filter results by event_type. Supply a comma separated list of event types (listed above). Use in query: event_types=void_invoice,void_remainder.
application/json
curl -X GET -G \ --url 'https://subdomain.chargify.com/invoices/events.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'