Skip to main content

MoneyKit

MoneyKit is the next generation connection for the world's money.

This is an autogenerated python SDK for MoneyKit. It provides a wrapper around the MoneyKit API.

Installation & Usage

Poetry

Install via Poetry.

poetry add moneykit

Then import the package:

import moneykit

pip install

pip install moneykit

Then import the package:

import moneykit

Getting Started

Please follow the installation procedure and then run the following:

import moneykit
import moneykit.models
from moneykit.rest import ApiException

# Defaults to MoneyKit-Version: 2023-02-18
config = moneykit.Configuration(host="https://api.moneykit.com")
api_client = moneykit.ApiClient(config)
try:
    access_token_api = moneykit.AccessTokenApi(api_client)
    response = access_token_api.create_access_token(
        client_id=os.environ["MONEYKIT_CLIENT_ID"],
        client_secret=os.environ["MONEYKIT_CLIENT_SECRET"],
        grant_type="client_credentials",
    )

    api_client.configuration.access_token = response.access_token
except ApiException as e:
    print("Exception when calling AccessTokenApi->create_access_token: %s\n" % e)

Examples

See our Examples repository for more complete example projects.

import moneykit
import moneykit.models

link_session_api = moneykit.LinkSessionApi(moneykit_client())

response = link_session_api.create_link_session(
    moneykit.models.CreateLinkSessionRequest(
        customer_user=moneykit.models.LinkSessionCustomerUser(id=user.uuid),
        redirect_uri="http://localhost:3000",
    ),
)

link_session_token = response.link_session_token
import moneykit
import moneykit.models


exchangeable_token = 'TOKEN'

link_session_api = moneykit.LinkSessionApi(moneykit_client())
response = link_session_api.exchange_token(
    moneykit.models.ExchangeTokenRequest(exchangeable_token=body.exchangeable_token),
)

link_id = response.link_id
institution_id = response.link.institution_id
import moneykit
import moneykit.models


link_id = 'LINK_ID'

links_api = moneykit.LinksApi(moneykit_client())
links_api.delete_link(link_id)

Fetch accounts

import moneykit
import moneykit.models


link_id = 'LINK_ID'

accounts_api = moneykit.AccountsApi(moneykit_client())
response = accounts_api.get_accounts(link_id)

accounts = response.accounts

Metadata

Release files for moneykit 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moneykit 0.2.3
File Size Uploaded Provenance Actions
moneykit-0.2.3.tar.gz 107.1 kB With provenance Details for moneykit-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moneykit 0.2.3
File Interpreter ABI Platform Actions
moneykit-0.2.3-py3-none-any.whl Python 3 none any Details for moneykit-0.2.3-py3-none-any.whl

Total release size: 380.4 kB

Release files / moneykit-0.2.3.tar.gz

Download URL moneykit-0.2.3.tar.gz
Size 107.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6a89df268217513439a7412730db93df549c577e6414c1bb1011b7f628bba7fc
BLAKE2b-256 checksum
How to use checksums
4ff1af83891fbd1cd6b040e5c6233bee9ec1307b83150052d5afa5ad2be75d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2025.

Transparency log

Release files / moneykit-0.2.3-py3-none-any.whl

Download URL moneykit-0.2.3-py3-none-any.whl
Size 273.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7399a627dab90fe7e77c528cf435370f9320fb08d89f8c27d25e2ab20f369f40
BLAKE2b-256 checksum
How to use checksums
2fcba804a5ab28f9930a3a84a20d94e0ccdc197f7214995250cc1602527f5794
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2025.

Transparency log

Security for moneykit 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for moneykit-0.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page