# Loan Distributions
> A Loan Distribution returns collected funds on purchased receivables to the owner of those receivables.

[Events](https://increase.com/documentation/webhooks.md) will be generated for this resource. The possible event categories are: `loan_distribution.created`.

## The Loan Distribution object
### Example
```json
{
  "amount": 100,
  "created_at": "2020-01-31T23:59:59Z",
  "destination_account_id": "account_in71c4amph0vgo2qllky",
  "id": "loan_distribution_h7z0rzz6ytwk285yg312",
  "loan_account_id": "account_in71c4amph0vgo2qllky",
  "transaction_id": "transaction_uyrp7fld2ium70oa7oi",
  "type": "loan_distribution"
}
```
### Attributes
- `amount` (integer)
  The amount of the distribution in the minor unit of the currency. For dollars, this is cents.

- `created_at` (string)
  The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the Loan Distribution was created.

- `destination_account_id` (string)
  The identifier of the Account the funds were distributed to.

- `id` (string)
  The Loan Distribution identifier.

- `loan_account_id` (string)
  The identifier of the loan Account the distribution relates to.

- `transaction_id` (string, nullable)
  The identifier of the Transaction created on the destination Account.

- `type` (string)
  A constant representing the object's type. For this resource it will always be `loan_distribution`.

## List Loan Distributions
GET /loan_distributions

### Example
```curl
curl \
  --url "${INCREASE_URL}/loan_distributions" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}"
```

### Query Parameters
- `cursor` (string, optional)
  Return the page of entries after this one.

- `limit` (integer, optional)
  Limit the size of the list that is returned. The default (and maximum) is 100 objects.
  Default: `100`

### Returns a Loan Distribution List object:
```json
{
  "data": [
    {
      "amount": 100,
      "created_at": "2020-01-31T23:59:59Z",
      "destination_account_id": "account_in71c4amph0vgo2qllky",
      "id": "loan_distribution_h7z0rzz6ytwk285yg312",
      "loan_account_id": "account_in71c4amph0vgo2qllky",
      "transaction_id": "transaction_uyrp7fld2ium70oa7oi",
      "type": "loan_distribution"
    }
  ],
  "next_cursor": "v57w5d"
}
```

## Retrieve a Loan Distribution
GET /loan_distributions/{loan_distribution_id}

### Example
```curl
curl \
  --url "${INCREASE_URL}/loan_distributions/loan_distribution_h7z0rzz6ytwk285yg312" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}"
```
### Path Parameters
- `loan_distribution_id` (string, required)
  The identifier of the Loan Distribution.