# Rust API client for dtz-billing
a generated client for the DTZ Billing API
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: 2.1.0
- Package version: 2.1.0
- Generator version: 7.14.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`
## Installation
Put the package under your project folder in a directory named `dtz-billing` and add the following to `Cargo.toml` under `[dependencies]`:
```
dtz-billing = { path = "./dtz-billing" }
```
## Documentation for API Endpoints
All URIs are relative to *https://billing.dtz.rocks/api/2022-12-28*
*DefaultApi* | [**charge_stripe_post**](docs/DefaultApi.md#charge_stripe_post) | **POST** /charge/stripe | stripe webhook
*DefaultApi* | [**check_funded**](docs/DefaultApi.md#check_funded) | **GET** /funded | check if identity is funded
*DefaultApi* | [**get_stats**](docs/DefaultApi.md#get_stats) | **GET** /stats | get stats
*DefaultApi* | [**list_transactions**](docs/DefaultApi.md#list_transactions) | **GET** /transaction | get a transaction listing of all incoming and outgoing charges
*DefaultApi* | [**post_consumption**](docs/DefaultApi.md#post_consumption) | **POST** /consumption | post new service consumption
## Documentation For Models
- [CheckFunded200Response](docs/CheckFunded200Response.md)
- [Consumption](docs/Consumption.md)
- [ConsumptionValue](docs/ConsumptionValue.md)
- [GetStats200Response](docs/GetStats200Response.md)
- [GetStats200ResponseBalance](docs/GetStats200ResponseBalance.md)
- [GetStats200ResponsePreviousDay](docs/GetStats200ResponsePreviousDay.md)
- [Transaction](docs/Transaction.md)
To get access to the crate's generated documentation, use:
```
cargo doc --open
```
## Author
jens@apimeister.com