> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Activity Object

To record an activity, fill in as many of the data-member fields of the Activity object as possible. The more information you collect, the more useful it will be for Vindicia to dispute chargebacks on your behalf should they occur.

The following table lists and describes the data members of the Activity object.

## Attributes

| Name | Type | Description |
| - | - | - |
| object | string | Value is “Activity” |
| vid | string | A Globally Unique Identifier (GUID) for this object. Assigned by Subscribe. |
| account | [Account](Accounts) | *Required.* The customer account **id** or **vid** for which you are recording this activity. |
| subscription | [Subscription](Subscriptions) | The subscription **id** or **vid** for which you are recording this activity. |
| transaction | [Transaction](Transactions) | The transaction **id** or **vid** for which you are recording this activity. |
| invoice | [Invoices](Invoices) | The invoice **id** or **vid** for which you are recording this activity. |
| timestamp | datetime | *Required.* A time stamp that specifies the date and time of when the event you are recording took place. |
| type | enum | Can be `Cancellation`, `Email`, `Fulfillment`, `Login`, `Logout`, `NamedValue`, `Note`, `Phone`, `URIView`, `Usage` |
| login\_args | [Activity Login](Activity_Login) | The IP address from which a login originated. |
| logout\_args | [Activity Logout](Activity_Logout) | The IP address from which a logout originated. |
| uriview\_args | [Activity URI View](Activity_URI_View) | A customer’s visit to a Web page, and possible download activity. |
| phone\_args | [Activity Phone](Activity_Phone) | A phone contact that relates to the Activity object. |
| email\_args | [Activity Email](Activity_Email) | An email event. |
| fulfillment\_args | [Activity Fulfillment](Activity_Fulfillment) | The status of your fulfillment of a customer order. |
| usage\_args | [Activity Usage](Activity_Usage) | The amount of use of a resource (such as the number of downloads) you provide to the customer. |
| namedvalue\_args | [Activity Named Value](Activity_Named_Value) | An activity defined by you. With this data structure, you create Activity objects that are unique to your business, and that are not described by the predefined Activity events in Activity Types. Creating such an activity implies that it will likely occur regularly with your customers. |
| cancellation\_args | [Activity Cancellation](Activity_Cancellation) | The customer’s cancellation of a service or product. |
| note\_args | [Activity Note](Activity_Note) | An optional memo on the Activity object. |

**Parent topic:**[Activities](../topics/Activities)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.