To access the transactions of your site via the API do an HTTP GET like so:
[ ~ ] $ curl -u cbb8f088775cf209035729c0eb69b9f340a3b047:X https://spreedly.com/api/v4/meresheep/transactions.xml
This returns the 50 most recent transactions.
You can also pass in a since_id url parameter like so:
[ ~ ] $ curl -u cbb8f088775cf209035729c0eb69b9f340a3b047:X https://spreedly.com/api/v4/meresheep/transactions.xml?since_id=32
This returns the next 50 transactions with an ID greater than 32 (more recent).
Here is an example of the xml for a transaction:
<transaction>
<amount type="decimal">24.0</amount>
<created-at type="datetime">2009-09-26T03:06:30Z</created-at>
<currency-code>USD</currency-code>
<description>Subscription</description>
<detail-type>Subscription</detail-type>
<expires-at type="datetime">2009-12-26T04:06:30Z</expires-at>
<id type="integer">20</id>
<invoice-id type="integer">64</invoice-id>
<start-time type="datetime">2009-09-26T03:06:30Z</start-time>
<terms>3 months</terms>
<updated-at type="datetime">2009-09-26T03:06:30Z</updated-at>
<price>$24.00</price>
<subscriber-customer-id>39053</subscriber-customer-id>
<detail>
<payment-method>visa</payment-method>
<recurring type="boolean">false</recurring>
<feature-level type="string">example</feature-level>
</detail>
</transaction>
The detail-type indicates the type of Transaction it actually is. (such as a Subscription, RenewalFailure, StopAutoRenew, etc). The detail section includes the properties which are specific to that kind of transaction.