# Funding Event Response

## Parameters

### `uuid`
A cursor representing an item's token before which a page of results should end. Used to retrieve the previous page of results before this item.

### `page_size`
- **Type**: integer  
- **Range**: 1 to 100  
- **Defaults to**: 50  
- Page size (for pagination).

### `starting_after`
A cursor representing an item's token after which a page of results should begin. Used to retrieve the next page of results after this item.

## Response Codes

### `200 OK`
- **Data**: array of objects
- **Required**: Funding Event Response

#### `data*`  
- **Type**: object
    - `token`: uuid (required) - Unique token ID
    - `collection_tokens`: array of uuids (required) - IDs of collections
    - `previous_high_watermark`: date-time (required) - Time of the previous high watermark
    - `high_watermark`: date-time (required) - Time of the high watermark
    - `collection_resource_type`: string (enum, required) - Collection resource type
    - `network_settlement_summary`: array of objects (required) - Network settlement summary breakdown by network settlement date

#### `network_settlement_summary*`
- **Type**: object
    - `settled_gross_amount`: int64 (required)
    - `network_settlement_date`: date (required)
    - `created`: date-time (required) - Time of the creation
    - `updated`: date-time (required) - Time of the update
    - `has_more`: boolean (required)

### Error Codes

- `400`: A parameter in the query does not match the valid queries for the endpoint.
- `401`: User has not been authenticated.
- `422`: Unprocessable entity.
- `429`: Client has exceeded the number of allowed requests in a given time period.

## Example Request

```bash
curl --request GET \
     --url 'https://sandbox.lithic.com/v1/funding_events?page_size=50' \
     --header 'accept: application/json'
```

## Example Response

```json
{
  "data": [
    {
      "token": "b68b7424-aa69-4cbc-a946-30d90181b621",
      "collection_tokens": [
        "b68b7424-aa69-4cbc-a946-30d90181b621"
      ],
      "previous_high_watermark": "2024-01-01T00:00:00Z",
      "high_watermark": "2024-01-01T00:00:00Z",
      "collection_resource_type": "PAYMENT",
      "network_settlement_summary": [
        {
          "settled_gross_amount": 0,
          "network_settlement_date": "2024-01-01"
        }
      ],
      "created": "2024-01-01T00:00:00Z",
      "updated": "2024-01-01T00:00:00Z"
    }
  ],
  "has_more": true
}
```
