# Balance change history

## Request

```bash
curl -X POST https://api.bitsby.app/billing/history \
  -H "Authorization: Token MSvL2ltaDZdWVjmZURURMVWhqSJLT2NURjhL2Fla1Z1T1IxQTltKs1T3Ay"
  	-F "offset=0" \
	-F "limit=10"
```

## Request parameters

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Data type</th><th>Description</th><th>Example</th><th>Mandatory?</th><th>Default</th></tr></thead><tbody><tr><td><code>offset</code></td><td>Integer</td><td>Number of the initial record from which the data output will begin</td><td>0</td><td>no</td><td>0</td></tr><tr><td><code>limit</code></td><td>Integer</td><td>The number of records you want to retrieve</td><td>50</td><td>no</td><td>10</td></tr></tbody></table>

## Example answer

```json
{
    "result": "success",
    "data": {
        {
            "datetime": "2024-11-30 18:02:41",
            "event": "other",
            "target": "internal",
            "amount": "5.00",
            "comment": "welcome bonus 5"
        }
    }
}
```

## Answer parameters

<table><thead><tr><th width="272">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>datetime</code></td><td>Event date and time</td></tr><tr><td><code>event</code></td><td>Event type</td></tr><tr><td><code>target</code></td><td>Type of balance that has been changed</td></tr><tr><td><code>amount</code></td><td>Amount by which the balance was changed</td></tr><tr><td><code>comment</code></td><td>Event comment</td></tr></tbody></table>
