Package: creditas
Creditas OpenAPI ClientStart HereDisclaimerThis code has been autogenerated bySwagger 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.VersioningThe 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 (like1.0.0.1), where the last number (1) represents an additional patch.Also, surprisingly,Creditas API versioning does not followSemantic Versioning. E.g. the API version1.0.1introduces breaking changes to1.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.LicenseFromSwagger 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.DescriptionThis 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 theSwagger Codegenproject:API version: 1.0.0Package version: 1.0.0.1Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visithttps://www.creditas.cz/otevrene-bankovnictviRequirements.Python 2.7 and 3.4+Installation & Usagepip installpipinstallcreditas(you may need to runpipwith root permission:sudo pip install git+https://github.com//.git)Then import the package:importcreditasSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importcreditasGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportcreditasfromcreditas.restimportApiExceptionfrompprintimportpprint# Configure OAuth2 access token for authorization: oauth_codeconfiguration=creditas.Configuration()configuration.access_token='YOUR_ACCESS_TOKEN'# Configure OAuth2 access token for authorization: oauth_implicitconfiguration=creditas.Configuration()configuration.access_token='YOUR_ACCESS_TOKEN'# create an instance of the API classapi_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 accountapi_response=api_instance.d_ps_account_current_get_api(authorization_bearer=authorization_bearer,body=body)pprint(api_response)exceptApiExceptionase:print("Exception when calling AccountApi->d_ps_account_current_get_api:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.creditas.cz/oam/v1ClassMethodHTTP requestDescriptionAccountApid_ps_account_current_get_apiPOST/account/current/getGet current accountAccountApid_ps_account_list_apiPOST/account/listGet account listAccountApid_ps_account_savings_get_apiPOST/account/savings/getGet savings accountAccountApid_ps_account_term_deposit_get_apiPOST/account/termdeposit/getGet term deposit accountAdministrationApio_am_client_registration_create_apiPOST/client/registration/createCreate client's application registrationAispApid_ps_aisp_account_balance_get_apiPOST/aisp/account/balance/getGet account balanceAispApid_ps_aisp_account_list_apiPOST/aisp/account/listGet list of accountsAispApid_ps_aisp_account_transaction_list_apiPOST/aisp/account/transaction/listGet list of account transactionsAuthorizationApia_ut_authorization_status_get_apiPOST/authorization/status/getGet authorization statusAuthorizationApia_ut_mpin_esign_device_list_apiPOST/authorization/mpinesign/device/listGet device list for MpinEsignAuthorizationApia_ut_mpin_esign_initiate_apiPOST/authorization/mpinesign/initiateInitiate MpinEsign authorizationAuthorizationApia_ut_redirect_ib_initiate_apiPOST/authorization/ib/initiateInitiate IB authorizationAuthorizationApia_ut_sms_otp_initiate_apiPOST/authorization/smsotp/initiateInitiate SMS authorizationAuthorizationApia_ut_sms_otp_perform_apiPOST/authorization/smsotp/performPerform SMS authorizationBalanceApid_ps_account_balance_get_apiPOST/account/balance/getGet account balanceCardApic_rd_card_debit_get_apiPOST/card/debit/getGet debit cardCardApic_rd_card_list_apiPOST/card/listGet card listCispApid_ps_cisp_account_balance_check_apiPOST/cisp/account/balance/checkCheck balance for amountExampleApis_ys_error_basic_example_get_apiPOST/example/error/basicExample of basic error responseExampleApis_ys_error_transaction_authorization_example_get_apiPOST/example/error/authorizationExample of authorization error responseExampleApis_ys_error_validation_example_get_apiPOST/example/error/validationExample of validation error responseLoanApil_ns_loan_get_apiPOST/loan/getGet loanLoanApil_ns_loan_list_apiPOST/loan/listGet loan listPaymentApip_ay_payment_domestic_create_apiPOST/payment/domestic/createCreate domestic payment orderPaymentApip_ay_payment_foreign_create_apiPOST/payment/foreign/createCreate foreign payment orderPaymentApip_ay_payment_import_apiPOST/payment/importImport payment orders(s)PaymentApip_ay_payment_import_status_get_apiPOST/payment/import/status/getGet payment import statusPaymentApip_ay_payment_search_apiPOST/payment/searchSearch payment ordersPaymentApip_ay_payment_sepa_create_apiPOST/payment/sepa/createCreate SEPA payment orderPaymentApip_ay_payment_status_get_apiPOST/payment/status/getGet payment statusPispApid_ps_pisp_account_balance_check_apiPOST/pisp/account/balance/checkCheck balance for amountPispApip_ay_pisp_payment_domestic_create_apiPOST/pisp/payment/domestic/createCreate domestic payment orderPispApip_ay_pisp_payment_foreign_create_apiPOST/pisp/payment/foreign/createCreate foreign payment orderPispApip_ay_pisp_payment_sepa_create_apiPOST/pisp/payment/sepa/createCreate SEPA payment orderPispApip_ay_pisp_payment_status_get_apiPOST/pisp/payment/status/getGet payment statusStatementApis_ta_account_statement_get_apiPOST/account/statement/getDownload account statementStatementApis_ta_account_statement_list_apiPOST/account/statement/listGet list of available account satementsTransactionApid_ps_account_transaction_export_apiPOST/account/transaction/exportExport account transactionsTransactionApid_ps_account_transaction_search_apiPOST/account/transaction/searchSearch account transactionsDocumentation For ModelsAccountCurrentAccountSavingsAccountStatementAccountTermDepositAccountTransactionAccountTransactionFilterAccountTransactionFilterPartnerAccountAccountTransactionPartnerAccountAispAccountAispAccountTransactionAispAccountTransactionPartnerAccountBodyBody1Body10Body11Body12Body13Body14Body15Body16Body17Body18Body19Body2Body20Body21Body22Body23Body24Body25Body26Body27Body28Body3Body4Body5Body6Body7Body8Body9CispaccountbalancecheckCardClientregistrationcreateClientApplicationDebitCardErrorBasicErrorTransactionAuthorizationErrorTransactionAuthorizationDataErrorValidationErrorValidationDataErrorValidationDataParameterErrorValidationDataValidationResultInlineResponse200InlineResponse2001InlineResponse20010InlineResponse20011InlineResponse20012InlineResponse20013InlineResponse20014InlineResponse20015InlineResponse20016InlineResponse20017InlineResponse20018InlineResponse20019InlineResponse2001DevicesInlineResponse2002InlineResponse20020InlineResponse20021InlineResponse20022InlineResponse20023InlineResponse20024InlineResponse20025InlineResponse20026InlineResponse20027InlineResponse20028InlineResponse20029InlineResponse2003InlineResponse20030InlineResponse20031InlineResponse2004InlineResponse2005InlineResponse2006InlineResponse2007InlineResponse2008InlineResponse2009InlineResponse500InlineResponse5001InlineResponse5002LoanMoneyPaymentOrderCommonPaymentOrderCommonPartnerAccountPaymentOrderDomesticPaymentOrderDomesticPartnerAccountPaymentOrderFilterPaymentOrderFilterPartnerAccountPaymentOrderForeignPaymentOrderForeignPartnerAccountPaymentOrderSepaPaymentOrderSepaPartnerAccountPaymentdomesticcreatePartnerAccountPaymentdomesticcreateSourceAccountPaymentforeigncreatePartnerAccountPaymentsepacreatePartnerAccountPaymentsepacreateSourceAccountPisppaymentdomesticcreateSourceAccountPisppaymentsepacreatePartnerAccountSourceAccountDocumentation For Authorizationoauth_codeType: OAuthFlow: accessCodeAuthorization URL:https://www.creditas.cz/api/oam/authorizeScopes:product_info: Access product informationbalance_info: Access account balance informationtransaction_info: Access transaction historypayment: Access payment functionalityoauth_implicitType: OAuthFlow: implicitAuthorization URL:https://www.creditas.cz/api/oam/authorizeScopes:product_info: Access product informationbalance_info: Access account balance informationtransaction_info: Access transaction historypayment: Access payment functionalityAuthoris@creditas.cz