Skip to main content

Creditas OpenAPI

Project description

Creditas OpenAPI Client

Start Here

Disclaimer

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.

Versioning

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.

License

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.

Description

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:

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

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 

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 creditas

Getting Started

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)

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

oauth_code

  • 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

oauth_implicit

  • 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

Author

is@creditas.cz

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

creditas-1.0.0.1.tar.gz (82.9 kB view hashes)

Uploaded Source

Built Distribution

creditas-1.0.0.1-py3-none-any.whl (301.6 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