| Crates.io | dtz-billing |
| lib.rs | dtz-billing |
| version | 2.1.0 |
| created_at | 2024-05-19 23:56:04.214386+00 |
| updated_at | 2025-08-16 21:24:09.95726+00 |
| description | a generated client for the DTZ Billing API |
| homepage | https://downtozero.cloud |
| repository | https://github.com/DownToZero-Cloud/dtz-sdk-for-rust |
| max_upload_size | |
| id | 1245289 |
| size | 76,848 |
a generated client for the DTZ Billing API
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegenPut 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" }
All URIs are relative to https://billing.dtz.rocks/api/2022-12-28
| Class | Method | HTTP request | Description |
|---|
DefaultApi | charge_stripe_post | POST /charge/stripe | stripe webhook DefaultApi | check_funded | GET /funded | check if identity is funded DefaultApi | get_stats | GET /stats | get stats DefaultApi | list_transactions | GET /transaction | get a transaction listing of all incoming and outgoing charges DefaultApi | post_consumption | POST /consumption | post new service consumption
To get access to the crate's generated documentation, use:
cargo doc --open