banks2ff/gocardless-bankaccount-data-api
Jacob Kiers 80849a9eef Fix bug in official Gocardless API definition
The official Gocardless API definition indicates that transactions are
directly output to an array.

Instead, they are wrapped in a transactions key.

This made the code fail to retrieve transactions, because they could not
be correctly serialized.

This is now fixed in the API definition, and the API code is also
regenerated.

Signed-off-by: Jacob Kiers <code@kiers.eu>
2024-10-04 20:34:27 +02:00
..
.openapi-generator Fix bug in official Gocardless API definition 2024-10-04 20:34:27 +02:00
docs Fix bug in official Gocardless API definition 2024-10-04 20:34:27 +02:00
src Fix bug in official Gocardless API definition 2024-10-04 20:34:27 +02:00
.gitignore Initial commit 2024-10-04 20:31:39 +02:00
.openapi-generator-ignore Initial commit 2024-10-04 20:31:39 +02:00
.travis.yml Initial commit 2024-10-04 20:31:39 +02:00
Cargo.toml Initial commit 2024-10-04 20:31:39 +02:00
git_push.sh Initial commit 2024-10-04 20:31:39 +02:00
README.md Fix bug in official Gocardless API definition 2024-10-04 20:34:27 +02:00

Rust API client for gocardless-bankaccount-data-api

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: 2.0 (v2)
  • Package version: 2.0.0
  • Generator version: 7.9.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named gocardless-bankaccount-data-api and add the following to Cargo.toml under [dependencies]:

gocardless-bankaccount-data-api = { path = "./gocardless-bankaccount-data-api" }

Documentation for API Endpoints

All URIs are relative to https://bankaccountdata.gocardless.com

Class Method HTTP request Description
AccountsApi retrieve_account_balances GET /api/v2/accounts/{id}/balances/
AccountsApi retrieve_account_details GET /api/v2/accounts/{id}/details/
AccountsApi retrieve_account_metadata GET /api/v2/accounts/{id}/
AccountsApi retrieve_account_transactions GET /api/v2/accounts/{id}/transactions/
AgreementsApi accept_eua PUT /api/v2/agreements/enduser/{id}/accept/
AgreementsApi create_eua POST /api/v2/agreements/enduser/
AgreementsApi delete_eua_by_id DELETE /api/v2/agreements/enduser/{id}/
AgreementsApi retrieve_all_euas_for_an_end_user GET /api/v2/agreements/enduser/
AgreementsApi retrieve_eua_by_id GET /api/v2/agreements/enduser/{id}/
InstitutionsApi retrieve_all_supported_institutions_in_a_given_country GET /api/v2/institutions/
InstitutionsApi retrieve_institution GET /api/v2/institutions/{id}/
RequisitionsApi create_requisition POST /api/v2/requisitions/
RequisitionsApi delete_requisition_by_id DELETE /api/v2/requisitions/{id}/
RequisitionsApi requisition_by_id GET /api/v2/requisitions/{id}/
RequisitionsApi retrieve_all_requisitions GET /api/v2/requisitions/
TokenApi get_a_new_access_token POST /api/v2/token/refresh/
TokenApi obtain_new_access_slash_refresh_token_pair POST /api/v2/token/new/

Documentation For Models

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

cargo doc --open

Author