---
updatedAt: 2025-11-13T14:12:56.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/developers/llms.txt
---

# The Event Object

## Attributes

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Data type
      </th>

      <th style={{ textAlign: "left" }}>
        Sescription
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        **created**
      </td>

      <td style={{ textAlign: "left" }}>
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        The time stamp for the event
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **currency**
      </td>

      <td style={{ textAlign: "left" }}>
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in uppercase. Possible values:

        * USD
        * CAD
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **id**
      </td>

      <td style={{ textAlign: "left" }}>
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        The `id` for this API event.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **transaction\_id**
      </td>

      <td style={{ textAlign: "left" }}>
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        The `id` for the charge transaction.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **type**
      </td>

      <td style={{ textAlign: "left" }}>
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        The type of event. TBD
      </td>
    </tr>
  </tbody>
</Table>

```json The Events Object
"events":[
      {
         "created":"2014-03-20T14:00:33Z",
         "currency":"USD",
         "id":"UI1ZOXSXQ44QUXQL",
         "transaction_id":"TpR3Xrx8TkvuGio0",
         "type":"auth"
      }
```