subscription_logs
Resource: subscription_log
Beta: This resource may change in backwards-incompatible ways before it's final.
This link relationship returns a collection of subscription logs, for a subscription (/subscriptions/{id}/subscription_logs) or a store (/stores/{id}/subscription_logs). You can paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last.
Filter on any property, such as type=billing_success or date_created=2026-10-01..2026-10-31.
This collection was first released as subscription_events (fx:subscription_events), whose logs had event_type and event_source in place of type and source. The old names aren't accepted; the subscription_log resource lists everything that was renamed.
Required Scopes How scopes work →
Collection Resource
subscription_logActions
Properties (5)
_embedded Object · Read-only Contains fx:subscription_logs[] — array of subscription_log resources
total_items String · Read-only Total number of resources in this collection.
returned_items Number · Read-only Number of resources returned in this page.
limit Number · Read-only Maximum number of resources per page.
offset Number · Read-only Number of resources skipped.
Link Relations (5)
self This Collection first First Page of this Collection prev Previous Page of this Collection next Next Page of this Collection last Last Page of this Collection Example Representation
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/stores/123/subscription_logs",
"title": "This Collection"
},
"first": {
"href": "https://api.foxycart.com/stores/123/subscription_logs?offset=0",
"title": "First Page of this Collection"
},
"prev": {
"href": "https://api.foxycart.com/stores/123/subscription_logs?offset=0",
"title": "Previous Page of this Collection"
},
"next": {
"href": "https://api.foxycart.com/stores/123/subscription_logs?offset=20",
"title": "Next Page of this Collection"
},
"last": {
"href": "https://api.foxycart.com/stores/123/subscription_logs?offset=20",
"title": "Last Page of this Collection"
}
},
"_embedded": {
"fx:subscription_logs": [
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/subscription_logs/456",
"title": "This Subscription Log"
},
"fx:store": {
"href": "https://api.foxycart.com/stores/456",
"title": "This Store"
},
"fx:subscription": {
"href": "https://api.foxycart.com/subscriptions/321",
"title": "This Subscription"
},
"fx:customer": {
"href": "https://api.foxycart.com/customers/789",
"title": "This Customer"
},
"fx:transaction": {
"href": "https://api.foxycart.com/transactions/999",
"title": "Related Transaction"
}
},
"type": "billing_success",
"source": "mit_recurring",
"changes": null,
"error_message": null,
"details": {
"order_total": 24.55,
"past_due_amount": 24.55,
"is_makeup_payment": true
},
"date_created": "2026-10-05T03:14:22-0700"
}
]
},
"total_items": 1,
"returned_items": 1,
"limit": 20,
"offset": 0
}