Skip to main content

Pluggy API

Project description

pluggy-sdk

Pluggy's main API to review data and execute connectors

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0.post4
  • Generator version: 7.5.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://pluggy.ai

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import pluggy_sdk

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import pluggy_sdk

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import pluggy_sdk
from pluggy_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.pluggy.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = pluggy_sdk.Configuration(
    host = "https://api.pluggy.ai"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: default
configuration.api_key['default'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['default'] = 'Bearer'


# Enter a context with an instance of the API client
with pluggy_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pluggy_sdk.AccountApi(api_client)
    item_id = 'd0f8a8c0-e8e3-11e9-b210-d663bd873d93' # str | Item primary identifier
    type = 'BANK' # str | Parameter to filter between bank accounts and credit accounts (optional)

    try:
        # List
        api_response = api_instance.accounts_list(item_id, type=type)
        print("The response of AccountApi->accounts_list:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AccountApi->accounts_list: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.pluggy.ai

Class Method HTTP request Description
AccountApi accounts_list GET /accounts List
AccountApi accounts_retrieve GET /accounts/{id} Retrieve
AcquirerAnticipationApi acquirer_anticipation_retrieve GET /acquirer-anticipations/{id} Retrieve
AcquirerAnticipationApi acquirer_anticipations_list GET /acquirer-anticipations List
AcquirerReceivableApi acquirer_receivable_retrieve GET /acquirer-receivables/{id} Retrieve
AcquirerReceivableApi acquirer_receivables_list GET /acquirer-receivables List
AcquirerSaleApi acquirer_sales_list GET /acquirer-sales List
AcquirerSaleApi acquirer_sales_retrieve GET /acquirer-sales/{id} Retrieve
AuthApi auth_create POST /auth Create API Key
AuthApi connect_token_create POST /connect_token Create Connect Token
BillApi bills_list GET /bills List
BillApi bills_retrieve GET /bills/{id} Retrieve
BulkPaymentApi bulk_payment_create POST /payments/bulk Create
BulkPaymentApi bulk_payment_retrieve GET /payments/bulk/{id} Retrieve
BulkPaymentApi bulk_payments_list GET /payments/bulk List
CategoryApi categories_list GET /categories List
CategoryApi categories_retrieve GET /categories/{id} Retrieve
CategoryApi client_category_rules_create POST /categories/rules Create Category Rule
CategoryApi client_category_rules_list GET /categories/rules List Category Rules
ConnectorApi connector_retrieve GET /connectors/{id} Retrieve
ConnectorApi connectors_list GET /connectors List
ConnectorApi connectors_validate POST /connectors/{id}/validate Validate
IdentityApi identity_find_by_item GET /identity Find by item
IdentityApi identity_retrieve GET /identity/{id} Retrieve
IncomeReportApi income_reports_find_by_item GET /income-reports Find income reports by item
InvestmentApi investment_transactions_list GET /investments/{id}/transactions List investment transactions
InvestmentApi investments_list GET /investments List
InvestmentApi investments_retrieve GET /investments/{id} Retrieve
ItemsApi items_create POST /items Create
ItemsApi items_delete DELETE /items/{id} Delete
ItemsApi items_retrieve GET /items/{id} Retrieve
ItemsApi items_send_mfa POST /items/{id}/mfa Send MFA
ItemsApi items_update PATCH /items/{id} Update
LoanApi loans_list GET /loans List
LoanApi loans_retrieve GET /loans/{id} Retrieve
PaymentCustomerApi payment_customer_create POST /payments/customers Create
PaymentCustomerApi payment_customer_delete DELETE /payments/customers/{id} Delete
PaymentCustomerApi payment_customer_retrieve GET /payments/customers/{id} Retrieve
PaymentCustomerApi payment_customer_update PATCH /payments/customers/{id} Update
PaymentCustomerApi payment_customers_list GET /payments/customers List
PaymentIntentApi payment_intent_create POST /payments/intents Create
PaymentIntentApi payment_intent_retrieve GET /payments/intents/{id} Retrieve
PaymentIntentApi payment_intents_list GET /payments/intents List
PaymentRecipientApi payment_recipient_create POST /payments/recipients Create
PaymentRecipientApi payment_recipient_delete DELETE /payments/recipients/{id} Delete
PaymentRecipientApi payment_recipient_institutions_retrieve GET /payments/recipients/institutions/{id} Retrieve Institution
PaymentRecipientApi payment_recipient_retrieve GET /payments/recipients/{id} Retrieve
PaymentRecipientApi payment_recipient_update PATCH /payments/recipients/{id} Update
PaymentRecipientApi payment_recipients_institution_list GET /payments/recipients/institutions List Institutions
PaymentRecipientApi payment_recipients_list GET /payments/recipients List
PaymentRequestApi payment_request_create POST /payments/requests Create
PaymentRequestApi payment_request_create_pix_qr POST /payments/requests/pix-qr Create PIX QR payment request
PaymentRequestApi payment_request_delete DELETE /payments/requests/{id} Delete
PaymentRequestApi payment_request_retrieve GET /payments/requests/{id} Retrieve
PaymentRequestApi payment_request_update PATCH /payments/requests/{id} Update
PaymentRequestApi payment_requests_list GET /payments/requests List
PortfolioYieldApi aggregated_portfolio_find_by_item GET /portfolio/{itemId} Find aggregated portfolio yield by item
PortfolioYieldApi monthly_portfolio_find_by_item GET /portfolio/{itemId}/monthly Find monthly portfolio yield by item
SmartAccountApi smart_account_balance_retrieve GET /payments/smart-accounts/{id}/balance Retrieve Balance
SmartAccountApi smart_account_create POST /payments/smart-accounts Create
SmartAccountApi smart_account_retrieve GET /payments/smart-accounts/{id} Retrieve
SmartAccountApi smart_accounts_list GET /payments/smart-accounts List
TransactionApi transactions_list GET /transactions List
TransactionApi transactions_retrieve GET /transactions/{id} Retrieve
TransactionApi transactions_update PATCH /transactions/{id} Update
WebhookApi webhooks_create POST /webhooks Create
WebhookApi webhooks_delete DELETE /webhooks/{id} Delete
WebhookApi webhooks_list GET /webhooks List
WebhookApi webhooks_retrieve GET /webhooks/{id} Retrieve
WebhookApi webhooks_update PATCH /webhooks/{id} Update

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

default

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header

Author

hello@pluggy.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pluggy-sdk-1.0.0.post4.tar.gz (126.8 kB view hashes)

Uploaded Source

Built Distribution

pluggy_sdk-1.0.0.post4-py3-none-any.whl (286.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page