#generated-client #api-client #billing #dtz #endpoint

dtz-billing

a generated client for the DTZ Billing API

10 stable releases

new 1.1.2 Feb 24, 2025
1.1.1 Feb 22, 2025
1.0.6 Dec 6, 2024
1.0.3 Nov 6, 2024
1.0.0 May 19, 2024

#1407 in Web programming

Download history 91/week @ 2024-10-31 66/week @ 2024-11-07 17/week @ 2024-11-14 25/week @ 2024-11-21 11/week @ 2024-11-28 458/week @ 2024-12-05 26/week @ 2024-12-12 3/week @ 2024-12-19 2/week @ 2024-12-26 3/week @ 2025-01-02 5/week @ 2025-01-09 5/week @ 2025-01-16 14/week @ 2025-01-23 130/week @ 2025-01-30 20/week @ 2025-02-06 50/week @ 2025-02-13

219 downloads per month
Used in dtz

MIT/Apache

25KB
425 lines

Rust API client for dtz-billing

a generated client for the DTZ Billing API

Overview

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.

  • API version: 1.1.2
  • Package version: 1.1.2
  • 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

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

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

jens@apimeister.com

Dependencies

~5–18MB
~255K SLoC