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.post73
- Generator version: 7.27.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://pluggy.ai
Requirements.
Python 3.10+
Packaging uses standard [project] metadata and [dependency-groups] (PEP 621/735).
Install the package with python -m pip install .; install development dependencies
with Poetry 2.2 or newer using poetry install, or pip 25.1 or newer using
python -m pip install --group dev. The latter installs the group, not the package.
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)
id = 'a658c848-e475-457b-8565-d1fffba127c4' # str | Account primary identifier
try:
# Get real-time balance
api_response = api_instance.account_balance_get(id)
print("The response of AccountApi->account_balance_get:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->account_balance_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.pluggy.ai
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AccountApi | account_balance_get | GET /accounts/{id}/balance | Get real-time balance |
| AccountApi | account_statements_list | GET /accounts/{id}/statements | List account statements |
| AccountApi | accounts_list | GET /accounts | List |
| AccountApi | accounts_retrieve | GET /accounts/{id} | Retrieve |
| AuthApi | auth_create | POST /auth | Create API Key |
| AuthApi | connect_token_create | POST /connect_token | Create Connect Token |
| AutomaticPIXApi | cancel_automatic_pix_schedule | POST /payments/requests/{id}/automatic-pix/schedules/{scheduleId}/cancel | Cancel an Automatic PIX schedule |
| AutomaticPIXApi | payment_request_cancel_automatic_pix_consent | POST /payments/requests/{id}/automatic-pix/cancel | Cancel an automatic PIX consent |
| AutomaticPIXApi | payment_request_create_automatic_pix | POST /payments/requests/automatic-pix | Create Automatic PIX payment request |
| AutomaticPIXApi | payment_request_create_automatic_pix_schedule | POST /payments/requests/{id}/automatic-pix/schedule | Schedule Automatic PIX payment |
| AutomaticPIXApi | payment_request_get_automatic_pix_schedule | GET /payments/requests/{requestId}/automatic-pix/schedules/{paymentId} | Get an automatic PIX scheduled payment |
| AutomaticPIXApi | payment_request_get_automatic_pix_schedules | GET /payments/requests/{id}/automatic-pix/schedules | List Automatic PIX scheduled payments |
| AutomaticPIXApi | retry_automatic_pix_schedule | POST /payments/requests/{id}/automatic-pix/schedules/{scheduleId}/retry | Retry an Automatic PIX schedule |
| BillApi | bills_list | GET /bills | List |
| BillApi | bills_retrieve | GET /bills/{id} | Retrieve |
| BoletoManagementApi | boleto_cancel | POST /boletos/{id}/cancel | Cancel Boleto |
| BoletoManagementApi | boleto_connection_create | POST /boleto-connections | Connect boleto credentials |
| BoletoManagementApi | boleto_connection_create_from_item | POST /boleto-connections/from-item | Create boleto connection from Item |
| BoletoManagementApi | boleto_create | POST /boletos | Issue Boleto |
| BoletoManagementApi | boleto_get | GET /boletos/{id} | Get Boleto |
| 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_delete | DELETE /categories/rules/{id} | Delete 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 |
| ConsentApi | consent_retrieve | GET /consents/{id} | Retrieve |
| ConsentApi | consents_list | GET /consents | List |
| IdentityApi | identity_find_by_item | GET /identity | Find by item |
| IdentityApi | identity_retrieve | GET /identity/{id} | Retrieve |
| 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_disable_autosync | PATCH /items/{id}/disable-auto-sync | Disable item auto sync |
| ItemsApi | items_list_by_cursor | GET /v2/items | List |
| ItemsApi | items_resources | GET /items/{id}/resources | List Item resources |
| 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 |
| MerchantApi | merchants_get_by_cnpj | GET /merchants | Get merchants by CNPJ list |
| 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 |
| PaymentScheduleApi | payment_schedules_cancel | POST /payments/requests/{id}/schedules/cancel | Cancel Payment Schedule Authorization |
| PaymentScheduleApi | payment_schedules_cancel_specific | POST /payments/requests/{id}/schedules/{scheduleId}/cancel | Cancel Payment Schedule |
| PaymentScheduleApi | payment_schedules_list | GET /payments/requests/{id}/schedules | List Schedules |
| SCRApi | items_retrieve_scr | GET /items/{id}/scr | Retrieve SCR |
| SmartTransferApi | smart_tranfers_preauthorizations_list | GET /smart-transfers/preauthorizations | List preauthorizations |
| SmartTransferApi | smart_transfer_payment_create | POST /smart-transfers/payments | Create payment |
| SmartTransferApi | smart_transfer_paymentretrieve | GET /smart-transfers/payments/{id} | Retrieve payment |
| SmartTransferApi | smart_transfer_preauthorization_balance_retrieve | GET /smart-transfers/preauthorizations/{id}/balance | Retrieve source account balance |
| SmartTransferApi | smart_transfer_preauthorization_create | POST /smart-transfers/preauthorizations | Create preauthorization |
| SmartTransferApi | smart_transfer_preauthorization_data_consent_delete | DELETE /smart-transfers/preauthorizations/{id}/data-consent | Cancel balance permission |
| SmartTransferApi | smart_transfer_preauthorization_payments_list | GET /smart-transfers/preauthorizations/{id}/payments | List preauthorization payments |
| SmartTransferApi | smart_transfer_preauthorization_retrieve | GET /smart-transfers/preauthorizations/{id} | Retrieve preauthorization |
| TransactionApi | transactions_list | GET /transactions | List by Page (deprecated) |
| TransactionApi | transactions_list_by_cursor | GET /v2/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
- Account
- AccountBalanceGet200Response
- AccountStatementsList200Response
- AccountStatementsList200ResponseResultsInner
- AccountsList200Response
- AdditionalCard
- Address
- AuthRequest
- AuthResponse
- AutomaticPix
- AutomaticPixFirstPayment
- AutomaticPixInterval
- AutomaticPixPayment
- AutomaticPixPaymentAttempt
- AutomaticPixPaymentDetail
- AutomaticPixPaymentErrorDetail
- AutomaticPixPaymentStatus
- AutomaticPixRetriesConfiguration
- AutomaticPixSchedulerConfiguration
- BankData
- Bill
- BillFinanceCharge
- BillPayment
- BillsList200Response
- Boleto
- BoletoConnection
- BoletoPayer
- BoletoPaymentRecipient
- BoletoRecipient
- BusinessOtherDocument
- BusinessParty
- CUSTOM
- Category
- ClientCategoryRule
- Company
- ConnectTokenRequest
- ConnectTokenResponse
- Connector
- ConnectorCredential
- ConnectorHealth
- ConnectorHealthDetails
- ConnectorIncident
- ConnectorListResponse
- ConnectorUserAction
- Consent
- CreateAutomaticPixPaymentRequest
- CreateBoleto
- CreateBoletoBoleto
- CreateBoletoBoletoFine
- CreateBoletoBoletoInterest
- CreateBoletoBoletoPayer
- CreateBoletoConnection
- CreateBoletoConnectionFromItem
- CreateClientCategoryRule
- CreateItem
- CreateItemParameters
- CreateOrUpdatePaymentCustomer
- CreatePaymentCustomerRequestBody
- CreatePaymentIntent
- CreatePaymentRecipient
- CreatePaymentRequest
- CreatePixQrPaymentRequest
- CreateSmartTransferPayment
- CreateSmartTransferPreauthorization
- CreateWebhook
- CredentialSelectOption
- CreditCardMetadata
- CreditData
- CursorPageResponseItems
- CursorPageResponseTransactions
- DAILY
- Debtor
- DebtorBankAccount
- DisaggregatedCreditLimit
- Document
- EconomicActivity
- GeographicCoordinates
- GlobalErrorResponse
- ICountResponse
- IdentityRelation
- IdentityResponse
- IdentityResponseFinancialRelationships
- IdentityResponseFinancialRelationshipsAccountsInner
- IdentityResponseFinancialRelationshipsProcuratorsInner
- IdentityResponseQualifications
- IdentityResponseQualificationsInformedIncome
- IdentityResponseQualificationsInformedPatrimony
- InformedRevenue
- Investment
- InvestmentCouponPayment
- InvestmentDebtor
- InvestmentExpenses
- InvestmentInstitution
- InvestmentMetadata
- InvestmentTransaction
- InvestmentsList200Response
- IssuedBoleto
- IssuedBoletoFine
- IssuedBoletoInterest
- IssuedBoletoPayer
- Item
- ItemCreationErrorResponse
- ItemError
- ItemOptions
- ItemResource
- ItemsResources200Response
- Loan
- LoanContractedFee
- LoanContractedFinanceCharge
- LoanInstallmentBalloonPayment
- LoanInstallmentBalloonPaymentAmount
- LoanInstallments
- LoanInterestRate
- LoanPaymentRelease
- LoanPaymentReleaseOverParcel
- LoanPaymentReleaseOverParcelCharge
- LoanPaymentReleaseOverParcelFee
- LoanPayments
- LoanWarranty
- LoansList200Response
- MONTHLY
- MaritalStatus
- Merchant
- MerchantsGetByCnpj200Response
- Nationality
- NationalityDocument
- NationalityOtherNationalitiesInner
- NotAuthenticatedResponse
- OtherDocument
- PageResponseCategories
- PageResponseCategoryRules
- PageResponseConsents
- PageResponseInvestmentTransactions
- PageResponseTransactions
- ParameterValidationError
- ParameterValidationResponse
- Passport
- PaycheckBankLink
- PaymentCustomer
- PaymentCustomerType
- PaymentCustomersList200Response
- PaymentData
- PaymentDataBoletoMetadata
- PaymentDataParticipant
- PaymentInstitution
- PaymentIntent
- PaymentIntentErrorDetail
- PaymentIntentParameter
- PaymentIntentStatus
- PaymentIntentsList200Response
- PaymentRecipient
- PaymentRecipientAccount
- PaymentRecipientsInstitutionList200Response
- PaymentRecipientsList200Response
- PaymentRequest
- PaymentRequestCallbackUrls
- PaymentRequestErrorDetail
- PaymentRequestGetAutomaticPixSchedules200Response
- PaymentRequestRecipient
- PaymentRequestSchedule
- PaymentRequestStatus
- PaymentRequestsList200Response
- PaymentSchedulesList200Response
- PhoneNumber
- PixData
- PixQrPaymentRecipient
- PortabilityReceived
- ReservedBalance
- ReservedBalanceAmount
- ReservedBalanceRemuneration
- RetryAutomaticPixPaymentRequest
- SINGLE
- ScheduleAutomaticPixPaymentRequest
- SchedulePayment
- SchedulePaymentErrorDetail
- ScrAdditionalInfo
- ScrDatabase
- ScrGuarantee
- ScrMaturityBalances
- ScrOperation
- ScrResponse
- ScrValidationMessage
- SmartAccount
- SmartTranfersPreauthorizationsList200Response
- SmartTransferCallbackUrls
- SmartTransferDataConsent
- SmartTransferOverdraft
- SmartTransferPayment
- SmartTransferPaymentErrorDetail
- SmartTransferPaymentStatus
- SmartTransferPreauthorization
- SmartTransferPreauthorizationBalance
- SmartTransferPreauthorizationConfiguration
- SmartTransferPreauthorizationConfigurationPeriodicLimit
- SmartTransferPreauthorizationConfigurationPeriodicLimits
- SmartTransferPreauthorizationErrorDetail
- SmartTransferPreauthorizationParameter
- SmartTransferPreauthorizationPaymentsList200Response
- StatusDetail
- StatusDetailProduct
- StatusDetailProductWarning
- Transaction
- UpdateItem
- UpdateItemParameters
- UpdatePaymentRecipient
- UpdatePaymentRequest
- UpdateTransaction
- UpdateWebhook
- WEEKLY
- Webhook
- WebhookCreationErrorResponse
- WebhookEventType
- WebhooksList200Response
Documentation For Authorization
Authentication schemes defined for the API:
default
- Type: API key
- API key parameter name: X-API-KEY
- Location: HTTP header
Author
Request headers
Header names are compared case-insensitively in all Python client libraries.
Request headers are copied; supplying _headers does not change the caller's dict
or the client's shared defaults. The public _headers argument retains its dict
validation and existing value serialization. Pydantic can coerce mappings such as HTTPX Headers to a dict,
combining repeated fields into a single value; _headers does not provide a
repeated-field or list-of-pairs API.
Precedence, from lowest to highest:
_headers(within one dict, the last inserted case variant wins).- Explicit OpenAPI header parameters and generated
Content-Type(or_content_type). GeneratedAcceptis added only when neither_headersnor explicit header parameters contain anAcceptcase variant. ApiClient.default_headers(including headers set withset_default_header).- The client's
cookiesetting, forCookie. - Authentication headers. A non-empty
_request_authreplaces configured authentication for that call;{}retains configured authentication. Cookie authentication appends to the selectedCookievalue.
This retains the existing precedence for identically spelled names and extends it
to case variants. To override a generated content type, use _content_type;
client defaults still take precedence over it. The winning header's spelling and
value are retained for replacements. Cookie authentication uses the canonical
Cookie spelling and appends its value. Values containing legitimate
comma-separated lists are not split or deduplicated. This does not remove
duplicate values inside a header or change the handling of repeated fields
supplied directly to the transport.
Metadata
Release files for pluggy-sdk 1.0.0.post73
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pluggy_sdk-1.0.0.post73.tar.gz | 263.5 kB | With provenance | Details for pluggy_sdk-1.0.0.post73.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pluggy_sdk-1.0.0.post73-py3-none-any.whl | Python 3 | none | any | Details for pluggy_sdk-1.0.0.post73-py3-none-any.whl |
Total release size: 837.4 kB
Release files / pluggy_sdk-1.0.0.post73.tar.gz
| Download URL | pluggy_sdk-1.0.0.post73.tar.gz |
|---|---|
| Size | 263.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb6a0dfcbf96cd72eb76f7f3a75459576d18c08128594f3dbe6f87079a82ff10
|
|
BLAKE2b-256 checksum How to use checksums |
a27a7422e48551303287f4bef56e5ffb3b817d299aa1d0987e8b6d7f30b04b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Oct 17, 2026.
Transparency logRelease files / pluggy_sdk-1.0.0.post73-py3-none-any.whl
| Download URL | pluggy_sdk-1.0.0.post73-py3-none-any.whl |
|---|---|
| Size | 573.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
609cc2a0bc637b4ded8163bb9fc88f3c0f27a9f257b2fb690ab26f76f85e3916
|
|
BLAKE2b-256 checksum How to use checksums |
a788f2534498773004cd91a4e9ea6ba397c827fd4fb838b3bcead9df2d4deb72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Oct 17, 2026.
Transparency logSecurity for pluggy-sdk 1.0.0.post73
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.
Attestation for pluggy_sdk-1.0.0.post73.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 Oct 17, 2026.
Transparency logA 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.