This code has been autogenerated by Swagger Codegen. I do only minimal changes, like adding this info, adding helper scripts for code generation, or fixing some bugs (if needed). I'm not affiliated with Banka Creditas.
The package version follows the API version. However, as the autogenerated code or the docs may require fixes, it is necessary to provide an extended versioning (like 1.0.0.1
), where the last number (1
) represents an additional patch.
Also, surprisingly, Creditas API versioning does not follow Semantic Versioning. E.g. the API version 1.0.1
introduces breaking changes to 1.0.0
. Consider to define the the package version in your requirements like this: creditas==1.0.0.*
. Then no breaking changes should sneak in, but additional fixes are still allowed.
From Swagger Codegen license info:
When code is generated from this project, it shall be considered AS IS and owned by the user of the software. There are no warranties--expressed or implied--for generated code. You can do what you wish with it, and once generated, the code is your responsibility and subject to the licensing terms that you deem appropriate.
Releasing this code under the MIT license.
This is specification of the Creditas OpenAPI. It contains definitions of Creditas banking services exposed via API accessible on the internet.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0.1
- Build package: io.swagger.codegen.languages.PythonClientCodegen For more information, please visit https://www.creditas.cz/otevrene-bankovnictvi
Python 2.7 and 3.4+
pip install creditas
(you may need to run pip
with root permission: sudo pip install git+https://github.com//.git
)
Then import the package:
import creditas
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 creditas
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import creditas
from creditas.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth_code
configuration = creditas.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth_implicit
configuration = creditas.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = creditas.AccountApi(creditas.ApiClient(configuration))
authorization_bearer = 'authorization_bearer_example' # str | Access token (optional)
body = creditas.Body5() # Body5 | Input data structure (optional)
try:
# Get current account
api_response = api_instance.d_ps_account_current_get_api(authorization_bearer=authorization_bearer, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->d_ps_account_current_get_api: %s\n" % e)
All URIs are relative to https://api.creditas.cz/oam/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AccountApi | d_ps_account_current_get_api | POST /account/current/get | Get current account |
AccountApi | d_ps_account_list_api | POST /account/list | Get account list |
AccountApi | d_ps_account_savings_get_api | POST /account/savings/get | Get savings account |
AccountApi | d_ps_account_term_deposit_get_api | POST /account/termdeposit/get | Get term deposit account |
AdministrationApi | o_am_client_registration_create_api | POST /client/registration/create | Create client's application registration |
AispApi | d_ps_aisp_account_balance_get_api | POST /aisp/account/balance/get | Get account balance |
AispApi | d_ps_aisp_account_list_api | POST /aisp/account/list | Get list of accounts |
AispApi | d_ps_aisp_account_transaction_list_api | POST /aisp/account/transaction/list | Get list of account transactions |
AuthorizationApi | a_ut_authorization_status_get_api | POST /authorization/status/get | Get authorization status |
AuthorizationApi | a_ut_mpin_esign_device_list_api | POST /authorization/mpinesign/device/list | Get device list for MpinEsign |
AuthorizationApi | a_ut_mpin_esign_initiate_api | POST /authorization/mpinesign/initiate | Initiate MpinEsign authorization |
AuthorizationApi | a_ut_redirect_ib_initiate_api | POST /authorization/ib/initiate | Initiate IB authorization |
AuthorizationApi | a_ut_sms_otp_initiate_api | POST /authorization/smsotp/initiate | Initiate SMS authorization |
AuthorizationApi | a_ut_sms_otp_perform_api | POST /authorization/smsotp/perform | Perform SMS authorization |
BalanceApi | d_ps_account_balance_get_api | POST /account/balance/get | Get account balance |
CardApi | c_rd_card_debit_get_api | POST /card/debit/get | Get debit card |
CardApi | c_rd_card_list_api | POST /card/list | Get card list |
CispApi | d_ps_cisp_account_balance_check_api | POST /cisp/account/balance/check | Check balance for amount |
ExampleApi | s_ys_error_basic_example_get_api | POST /example/error/basic | Example of basic error response |
ExampleApi | s_ys_error_transaction_authorization_example_get_api | POST /example/error/authorization | Example of authorization error response |
ExampleApi | s_ys_error_validation_example_get_api | POST /example/error/validation | Example of validation error response |
LoanApi | l_ns_loan_get_api | POST /loan/get | Get loan |
LoanApi | l_ns_loan_list_api | POST /loan/list | Get loan list |
PaymentApi | p_ay_payment_domestic_create_api | POST /payment/domestic/create | Create domestic payment order |
PaymentApi | p_ay_payment_foreign_create_api | POST /payment/foreign/create | Create foreign payment order |
PaymentApi | p_ay_payment_import_api | POST /payment/import | Import payment orders(s) |
PaymentApi | p_ay_payment_import_status_get_api | POST /payment/import/status/get | Get payment import status |
PaymentApi | p_ay_payment_search_api | POST /payment/search | Search payment orders |
PaymentApi | p_ay_payment_sepa_create_api | POST /payment/sepa/create | Create SEPA payment order |
PaymentApi | p_ay_payment_status_get_api | POST /payment/status/get | Get payment status |
PispApi | d_ps_pisp_account_balance_check_api | POST /pisp/account/balance/check | Check balance for amount |
PispApi | p_ay_pisp_payment_domestic_create_api | POST /pisp/payment/domestic/create | Create domestic payment order |
PispApi | p_ay_pisp_payment_foreign_create_api | POST /pisp/payment/foreign/create | Create foreign payment order |
PispApi | p_ay_pisp_payment_sepa_create_api | POST /pisp/payment/sepa/create | Create SEPA payment order |
PispApi | p_ay_pisp_payment_status_get_api | POST /pisp/payment/status/get | Get payment status |
StatementApi | s_ta_account_statement_get_api | POST /account/statement/get | Download account statement |
StatementApi | s_ta_account_statement_list_api | POST /account/statement/list | Get list of available account satements |
TransactionApi | d_ps_account_transaction_export_api | POST /account/transaction/export | Export account transactions |
TransactionApi | d_ps_account_transaction_search_api | POST /account/transaction/search | Search account transactions |
- AccountCurrent
- AccountSavings
- AccountStatement
- AccountTermDeposit
- AccountTransaction
- AccountTransactionFilter
- AccountTransactionFilterPartnerAccount
- AccountTransactionPartnerAccount
- AispAccount
- AispAccountTransaction
- AispAccountTransactionPartnerAccount
- Body
- Body1
- Body10
- Body11
- Body12
- Body13
- Body14
- Body15
- Body16
- Body17
- Body18
- Body19
- Body2
- Body20
- Body21
- Body22
- Body23
- Body24
- Body25
- Body26
- Body27
- Body28
- Body3
- Body4
- Body5
- Body6
- Body7
- Body8
- Body9
- CispaccountbalancecheckCard
- ClientregistrationcreateClientApplication
- DebitCard
- ErrorBasic
- ErrorTransactionAuthorization
- ErrorTransactionAuthorizationData
- ErrorValidation
- ErrorValidationData
- ErrorValidationDataParameter
- ErrorValidationDataValidationResult
- InlineResponse200
- InlineResponse2001
- InlineResponse20010
- InlineResponse20011
- InlineResponse20012
- InlineResponse20013
- InlineResponse20014
- InlineResponse20015
- InlineResponse20016
- InlineResponse20017
- InlineResponse20018
- InlineResponse20019
- InlineResponse2001Devices
- InlineResponse2002
- InlineResponse20020
- InlineResponse20021
- InlineResponse20022
- InlineResponse20023
- InlineResponse20024
- InlineResponse20025
- InlineResponse20026
- InlineResponse20027
- InlineResponse20028
- InlineResponse20029
- InlineResponse2003
- InlineResponse20030
- InlineResponse20031
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse2007
- InlineResponse2008
- InlineResponse2009
- InlineResponse500
- InlineResponse5001
- InlineResponse5002
- Loan
- Money
- PaymentOrderCommon
- PaymentOrderCommonPartnerAccount
- PaymentOrderDomestic
- PaymentOrderDomesticPartnerAccount
- PaymentOrderFilter
- PaymentOrderFilterPartnerAccount
- PaymentOrderForeign
- PaymentOrderForeignPartnerAccount
- PaymentOrderSepa
- PaymentOrderSepaPartnerAccount
- PaymentdomesticcreatePartnerAccount
- PaymentdomesticcreateSourceAccount
- PaymentforeigncreatePartnerAccount
- PaymentsepacreatePartnerAccount
- PaymentsepacreateSourceAccount
- PisppaymentdomesticcreateSourceAccount
- PisppaymentsepacreatePartnerAccount
- SourceAccount
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://www.creditas.cz/api/oam/authorize
- Scopes:
- product_info: Access product information
- balance_info: Access account balance information
- transaction_info: Access transaction history
- payment: Access payment functionality
- Type: OAuth
- Flow: implicit
- Authorization URL: https://www.creditas.cz/api/oam/authorize
- Scopes:
- product_info: Access product information
- balance_info: Access account balance information
- transaction_info: Access transaction history
- payment: Access payment functionality