fortis-python-sdk 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fortis_python_sdk-1.0.0/LICENSE +28 -0
- fortis_python_sdk-1.0.0/MANIFEST.in +2 -0
- fortis_python_sdk-1.0.0/PKG-INFO +183 -0
- fortis_python_sdk-1.0.0/README.md +166 -0
- fortis_python_sdk-1.0.0/fortis_python_sdk.egg-info/PKG-INFO +183 -0
- fortis_python_sdk-1.0.0/fortis_python_sdk.egg-info/SOURCES.txt +704 -0
- fortis_python_sdk-1.0.0/fortis_python_sdk.egg-info/dependency_links.txt +1 -0
- fortis_python_sdk-1.0.0/fortis_python_sdk.egg-info/requires.txt +7 -0
- fortis_python_sdk-1.0.0/fortis_python_sdk.egg-info/top_level.txt +3 -0
- fortis_python_sdk-1.0.0/fortisapi/__init__.py +12 -0
- fortis_python_sdk-1.0.0/fortisapi/api_helper.py +19 -0
- fortis_python_sdk-1.0.0/fortisapi/configuration.py +294 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/__init__.py +40 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/apple_pay_validate_merchant_controller.py +84 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/async_processing_controller.py +78 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/base_controller.py +67 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/batches_controller.py +179 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/calculate_surcharge_controller.py +76 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/contacts_controller.py +398 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/declined_recurring_transactions_controller.py +326 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/device_terms_controller.py +242 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/elements_controller.py +129 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/enterprise_link_redirect_controller.py +81 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/full_boarding_controller.py +85 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/level_3_data_controller.py +219 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/locations_controller.py +478 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/m_3_ds_authentication_controller.py +90 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/m_3_ds_transactions_controller.py +84 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/merchant_deposits_controller.py +295 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/merchant_details_controller.py +82 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/on_boarding_controller.py +100 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/paylinks_controller.py +396 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/payment_card_reader_token_controller.py +76 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/quick_invoices_controller.py +531 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/recurring_controller.py +545 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/reports_controller.py +209 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/signatures_controller.py +249 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/tags_controller.py +328 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/terminals_controller.py +304 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/tickets_controller.py +249 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/tokens_controller.py +679 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transaction_ach_retries_controller.py +250 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transactions_ach_controller.py +398 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transactions_cash_controller.py +123 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transactions_credit_card_controller.py +1796 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transactions_ebt_card_controller.py +147 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transactions_read_controller.py +248 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/transactions_updates_controller.py +435 -0
- fortis_python_sdk-1.0.0/fortisapi/controllers/webhooks_controller.py +493 -0
- fortis_python_sdk-1.0.0/fortisapi/exceptions/__init__.py +8 -0
- fortis_python_sdk-1.0.0/fortisapi/exceptions/api_exception.py +36 -0
- fortis_python_sdk-1.0.0/fortisapi/exceptions/response_401_token_exception.py +77 -0
- fortis_python_sdk-1.0.0/fortisapi/exceptions/response_412_exception.py +109 -0
- fortis_python_sdk-1.0.0/fortisapi/exceptions/response_error_exception.py +109 -0
- fortis_python_sdk-1.0.0/fortisapi/fortisapi_client.py +360 -0
- fortis_python_sdk-1.0.0/fortisapi/http/__init__.py +11 -0
- fortis_python_sdk-1.0.0/fortisapi/http/auth/__init__.py +8 -0
- fortis_python_sdk-1.0.0/fortisapi/http/auth/access_token.py +100 -0
- fortis_python_sdk-1.0.0/fortisapi/http/auth/developer_id.py +100 -0
- fortis_python_sdk-1.0.0/fortisapi/http/auth/user_api_key.py +100 -0
- fortis_python_sdk-1.0.0/fortisapi/http/auth/user_id.py +100 -0
- fortis_python_sdk-1.0.0/fortisapi/http/http_call_back.py +20 -0
- fortis_python_sdk-1.0.0/fortisapi/http/http_client_provider.py +23 -0
- fortis_python_sdk-1.0.0/fortisapi/http/http_method_enum.py +25 -0
- fortis_python_sdk-1.0.0/fortisapi/http/http_request.py +55 -0
- fortis_python_sdk-1.0.0/fortisapi/http/http_response.py +45 -0
- fortis_python_sdk-1.0.0/fortisapi/http/proxy_settings.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/__init__.py +636 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_info.py +519 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_type_12_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_type_13_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_type_16_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_type_enum.py +83 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_vault.py +1408 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_vault_cau_log.py +201 -0
- fortis_python_sdk-1.0.0/fortisapi/models/account_vault_cau_product_transaction.py +754 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ach_product_transaction.py +3048 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ach_sec_code_1_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ach_sec_code_31_enum.py +61 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ach_sec_code_3_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ach_sec_code_enum.py +67 -0
- fortis_python_sdk-1.0.0/fortisapi/models/acs_challenge_mandated_enum.py +52 -0
- fortis_python_sdk-1.0.0/fortisapi/models/action_enum.py +70 -0
- fortis_python_sdk-1.0.0/fortisapi/models/active_recurring.py +975 -0
- fortis_python_sdk-1.0.0/fortisapi/models/additional_access.py +102 -0
- fortis_python_sdk-1.0.0/fortisapi/models/additional_amount.py +201 -0
- fortis_python_sdk-1.0.0/fortisapi/models/addon.py +222 -0
- fortis_python_sdk-1.0.0/fortisapi/models/addon_transaction_type_enum.py +57 -0
- fortis_python_sdk-1.0.0/fortisapi/models/address.py +205 -0
- fortis_python_sdk-1.0.0/fortisapi/models/address_1.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/address_2.py +204 -0
- fortis_python_sdk-1.0.0/fortisapi/models/address_71.py +186 -0
- fortis_python_sdk-1.0.0/fortisapi/models/address_match_enum.py +54 -0
- fortis_python_sdk-1.0.0/fortisapi/models/address_type_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/all_tag.py +194 -0
- fortis_python_sdk-1.0.0/fortisapi/models/alt_bank_account.py +180 -0
- fortis_python_sdk-1.0.0/fortisapi/models/amount_ind_enum.py +121 -0
- fortis_python_sdk-1.0.0/fortisapi/models/app_delivery_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/auth_currency_enum.py +168 -0
- fortis_python_sdk-1.0.0/fortisapi/models/avs_enum.py +56 -0
- fortis_python_sdk-1.0.0/fortisapi/models/balance.py +154 -0
- fortis_python_sdk-1.0.0/fortisapi/models/bank_account.py +156 -0
- fortis_python_sdk-1.0.0/fortisapi/models/bank_account_1.py +186 -0
- fortis_python_sdk-1.0.0/fortisapi/models/batch_risk_config.py +132 -0
- fortis_python_sdk-1.0.0/fortisapi/models/billing_address.py +233 -0
- fortis_python_sdk-1.0.0/fortisapi/models/billing_address_1.py +258 -0
- fortis_python_sdk-1.0.0/fortisapi/models/billing_address_24.py +263 -0
- fortis_python_sdk-1.0.0/fortisapi/models/billing_address_5.py +155 -0
- fortis_python_sdk-1.0.0/fortisapi/models/body.py +134 -0
- fortis_python_sdk-1.0.0/fortisapi/models/branding_domain.py +867 -0
- fortis_python_sdk-1.0.0/fortisapi/models/branding_domain_1.py +867 -0
- fortis_python_sdk-1.0.0/fortisapi/models/broad_info.py +241 -0
- fortis_python_sdk-1.0.0/fortisapi/models/browser_information.py +401 -0
- fortis_python_sdk-1.0.0/fortisapi/models/business_category_enum.py +77 -0
- fortis_python_sdk-1.0.0/fortisapi/models/business_type_enum.py +365 -0
- fortis_python_sdk-1.0.0/fortisapi/models/cardholder.py +324 -0
- fortis_python_sdk-1.0.0/fortisapi/models/cardholder_account.py +211 -0
- fortis_python_sdk-1.0.0/fortisapi/models/category_enum.py +133 -0
- fortis_python_sdk-1.0.0/fortisapi/models/cau_subscribe_type_code_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/cau_subscribe_type_id_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/cau_summary_status_id_enum.py +53 -0
- fortis_python_sdk-1.0.0/fortisapi/models/cc_product_transaction.py +3048 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ch_acc_age_ind_enum.py +66 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ch_acc_change_ind_enum.py +63 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ch_acc_pw_change_ind_enum.py +67 -0
- fortis_python_sdk-1.0.0/fortisapi/models/challenge_message_extension.py +177 -0
- fortis_python_sdk-1.0.0/fortisapi/models/challenge_window_size_enum.py +73 -0
- fortis_python_sdk-1.0.0/fortisapi/models/changelog.py +280 -0
- fortis_python_sdk-1.0.0/fortisapi/models/changelog_detail.py +178 -0
- fortis_python_sdk-1.0.0/fortisapi/models/children.py +822 -0
- fortis_python_sdk-1.0.0/fortisapi/models/communication_type_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions.py +125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_18.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_181.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_191.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_27.py +125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_4.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_41.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_42.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/conditions_43.py +146 -0
- fortis_python_sdk-1.0.0/fortisapi/models/contact.py +179 -0
- fortis_python_sdk-1.0.0/fortisapi/models/contact_1.py +822 -0
- fortis_python_sdk-1.0.0/fortisapi/models/contact_9.py +169 -0
- fortis_python_sdk-1.0.0/fortisapi/models/contact_user_default_entry_page_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/context.py +125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/country_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/created_user.py +1197 -0
- fortis_python_sdk-1.0.0/fortisapi/models/currency_code_enum.py +186 -0
- fortis_python_sdk-1.0.0/fortisapi/models/currency_type.py +131 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data.py +225 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_1.py +105 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_10.py +1283 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_11.py +948 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_12.py +369 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_13.py +263 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_14.py +552 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_15.py +102 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_16.py +930 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_17.py +920 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_18.py +102 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_19.py +631 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_2.py +1134 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_20.py +1657 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_21.py +223 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_22.py +1341 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_23.py +245 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_24.py +219 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_25.py +1456 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_26.py +376 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_27.py +1681 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_28.py +380 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_29.py +4233 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_3.py +296 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_30.py +421 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_31.py +150 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_34.py +103 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_35.py +259 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_36.py +537 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_4.py +482 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_5.py +171 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_6.py +469 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_7.py +230 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_8.py +616 -0
- fortis_python_sdk-1.0.0/fortisapi/models/data_9.py +129 -0
- fortis_python_sdk-1.0.0/fortisapi/models/debit_credit_enum.py +48 -0
- fortis_python_sdk-1.0.0/fortisapi/models/declined_recurring_notification.py +251 -0
- fortis_python_sdk-1.0.0/fortisapi/models/default_transaction_type_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/delivery_method_enum.py +61 -0
- fortis_python_sdk-1.0.0/fortisapi/models/delivery_timeframe_enum.py +61 -0
- fortis_python_sdk-1.0.0/fortisapi/models/deposit_type_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/detail.py +173 -0
- fortis_python_sdk-1.0.0/fortisapi/models/detail_1.py +323 -0
- fortis_python_sdk-1.0.0/fortisapi/models/detail_2.py +273 -0
- fortis_python_sdk-1.0.0/fortisapi/models/developer_company.py +270 -0
- fortis_python_sdk-1.0.0/fortisapi/models/device.py +123 -0
- fortis_python_sdk-1.0.0/fortisapi/models/device_binding_status_enum.py +373 -0
- fortis_python_sdk-1.0.0/fortisapi/models/device_channel_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/document.py +115 -0
- fortis_python_sdk-1.0.0/fortisapi/models/e_format_enum.py +62 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ebt_plan_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ebt_type_enum.py +61 -0
- fortis_python_sdk-1.0.0/fortisapi/models/email_blacklist.py +178 -0
- fortis_python_sdk-1.0.0/fortisapi/models/email_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/emv_receipt_data.py +244 -0
- fortis_python_sdk-1.0.0/fortisapi/models/entry_mode_id_enum.py +73 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_108_enum.py +48 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_10_enum.py +42 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_11_enum.py +99 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_15_enum.py +42 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_17_enum.py +96 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_18_enum.py +84 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_1_enum.py +75 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_26_enum.py +87 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_34_enum.py +42 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_37_enum.py +42 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_40_enum.py +63 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_44_enum.py +48 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_47_enum.py +69 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_57_enum.py +54 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_5_enum.py +48 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_60_enum.py +171 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_8_enum.py +57 -0
- fortis_python_sdk-1.0.0/fortisapi/models/expand_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field.py +125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_20.py +267 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_27_enum.py +129 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_28_enum.py +168 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_30_enum.py +75 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_31_enum.py +87 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_33_enum.py +183 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_34_enum.py +195 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_35_enum.py +180 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_36_enum.py +192 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_37_enum.py +102 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_39_enum.py +186 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_41_enum.py +237 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_43_enum.py +198 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_45_enum.py +78 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_46_enum.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_47_enum.py +60 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_49_enum.py +57 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_51_enum.py +210 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_53_enum.py +84 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_55_enum.py +231 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_57_enum.py +75 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_59_enum.py +510 -0
- fortis_python_sdk-1.0.0/fortisapi/models/field_configuration.py +202 -0
- fortis_python_sdk-1.0.0/fortisapi/models/file.py +412 -0
- fortis_python_sdk-1.0.0/fortisapi/models/file_2.py +125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/file_5.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/models/filter_by.py +171 -0
- fortis_python_sdk-1.0.0/fortisapi/models/footer.py +134 -0
- fortis_python_sdk-1.0.0/fortisapi/models/forecast.py +250 -0
- fortis_python_sdk-1.0.0/fortisapi/models/format_1_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/format_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/header.py +134 -0
- fortis_python_sdk-1.0.0/fortisapi/models/helppage.py +270 -0
- fortis_python_sdk-1.0.0/fortisapi/models/home_phone.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/models/hosted_payment_page.py +558 -0
- fortis_python_sdk-1.0.0/fortisapi/models/identity_verification.py +183 -0
- fortis_python_sdk-1.0.0/fortisapi/models/identity_verification_2.py +183 -0
- fortis_python_sdk-1.0.0/fortisapi/models/identity_verification_27.py +165 -0
- fortis_python_sdk-1.0.0/fortisapi/models/idtype_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/iias_ind_enum.py +64 -0
- fortis_python_sdk-1.0.0/fortisapi/models/industry_type_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/initiation_type_enum.py +92 -0
- fortis_python_sdk-1.0.0/fortisapi/models/interval_type_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/item_list.py +125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/item_list_4.py +99 -0
- fortis_python_sdk-1.0.0/fortisapi/models/item_list_5.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/models/joi.py +104 -0
- fortis_python_sdk-1.0.0/fortisapi/models/joi_18.py +111 -0
- fortis_python_sdk-1.0.0/fortisapi/models/joi_19.py +111 -0
- fortis_python_sdk-1.0.0/fortisapi/models/joi_27.py +104 -0
- fortis_python_sdk-1.0.0/fortisapi/models/joi_4.py +110 -0
- fortis_python_sdk-1.0.0/fortisapi/models/kyc_response_object.py +101 -0
- fortis_python_sdk-1.0.0/fortisapi/models/level_3_data.py +481 -0
- fortis_python_sdk-1.0.0/fortisapi/models/level_3_data_5.py +324 -0
- fortis_python_sdk-1.0.0/fortisapi/models/level_3_data_6.py +469 -0
- fortis_python_sdk-1.0.0/fortisapi/models/level_3_default.py +481 -0
- fortis_python_sdk-1.0.0/fortisapi/models/line_item.py +450 -0
- fortis_python_sdk-1.0.0/fortisapi/models/line_item_13.py +449 -0
- fortis_python_sdk-1.0.0/fortisapi/models/line_item_19.py +360 -0
- fortis_python_sdk-1.0.0/fortisapi/models/line_item_20.py +273 -0
- fortis_python_sdk-1.0.0/fortisapi/models/links.py +196 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list.py +650 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_1.py +1134 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_10.py +1657 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_11.py +1341 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_12.py +336 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_13.py +731 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_14.py +245 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_15.py +219 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_16.py +1456 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_17.py +376 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_18.py +1681 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_19.py +380 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_20.py +4233 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_3.py +296 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_4.py +469 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_5.py +948 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_6.py +1283 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_8.py +552 -0
- fortis_python_sdk-1.0.0/fortisapi/models/list_9.py +920 -0
- fortis_python_sdk-1.0.0/fortisapi/models/location.py +756 -0
- fortis_python_sdk-1.0.0/fortisapi/models/location_18.py +217 -0
- fortis_python_sdk-1.0.0/fortisapi/models/location_5.py +227 -0
- fortis_python_sdk-1.0.0/fortisapi/models/location_billing_account.py +509 -0
- fortis_python_sdk-1.0.0/fortisapi/models/location_type_26_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/location_type_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/locationmarketplace.py +247 -0
- fortis_python_sdk-1.0.0/fortisapi/models/log_email.py +364 -0
- fortis_python_sdk-1.0.0/fortisapi/models/log_sms.py +315 -0
- fortis_python_sdk-1.0.0/fortisapi/models/marketplace.py +247 -0
- fortis_python_sdk-1.0.0/fortisapi/models/masync.py +128 -0
- fortis_python_sdk-1.0.0/fortisapi/models/merchant_list.py +193 -0
- fortis_python_sdk-1.0.0/fortisapi/models/merchant_risk_indicator.py +341 -0
- fortis_python_sdk-1.0.0/fortisapi/models/message_category_enum.py +119 -0
- fortis_python_sdk-1.0.0/fortisapi/models/message_extension.py +177 -0
- fortis_python_sdk-1.0.0/fortisapi/models/meta.py +107 -0
- fortis_python_sdk-1.0.0/fortisapi/models/method_3.py +147 -0
- fortis_python_sdk-1.0.0/fortisapi/models/method_50.py +145 -0
- fortis_python_sdk-1.0.0/fortisapi/models/method_53_enum.py +56 -0
- fortis_python_sdk-1.0.0/fortisapi/models/method_5_enum.py +56 -0
- fortis_python_sdk-1.0.0/fortisapi/models/method_enum.py +56 -0
- fortis_python_sdk-1.0.0/fortisapi/models/mobile_phone.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/models/modified_user.py +1197 -0
- fortis_python_sdk-1.0.0/fortisapi/models/multi_transaction.py +147 -0
- fortis_python_sdk-1.0.0/fortisapi/models/operator_1_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/operator_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/order_21.py +99 -0
- fortis_python_sdk-1.0.0/fortisapi/models/order_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/owner.py +322 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ownership_type_enum.py +71 -0
- fortis_python_sdk-1.0.0/fortisapi/models/page.py +132 -0
- fortis_python_sdk-1.0.0/fortisapi/models/pagination.py +196 -0
- fortis_python_sdk-1.0.0/fortisapi/models/parent.py +822 -0
- fortis_python_sdk-1.0.0/fortisapi/models/parent_3.py +756 -0
- fortis_python_sdk-1.0.0/fortisapi/models/partner_enum.py +71 -0
- fortis_python_sdk-1.0.0/fortisapi/models/paylink_action_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_acc_ind_enum.py +67 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_method_16_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_method_1_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_method_9_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_method_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_recurring_notification.py +251 -0
- fortis_python_sdk-1.0.0/fortisapi/models/payment_type_priority_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/postback_log.py +295 -0
- fortis_python_sdk-1.0.0/fortisapi/models/postback_status_id_enum.py +53 -0
- fortis_python_sdk-1.0.0/fortisapi/models/pre_order_purchase_ind_enum.py +52 -0
- fortis_python_sdk-1.0.0/fortisapi/models/preferred_language_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/preferred_protocol_version_enum.py +65 -0
- fortis_python_sdk-1.0.0/fortisapi/models/pricing_element.py +147 -0
- fortis_python_sdk-1.0.0/fortisapi/models/primary_principal.py +396 -0
- fortis_python_sdk-1.0.0/fortisapi/models/primary_principal_1.py +376 -0
- fortis_python_sdk-1.0.0/fortisapi/models/process_method_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/processor_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_accountvault.py +317 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_file.py +416 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_file_1.py +414 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_invoice.py +651 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_recurring.py +387 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_token.py +317 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_transaction.py +3048 -0
- fortis_python_sdk-1.0.0/fortisapi/models/product_transaction_1.py +3046 -0
- fortis_python_sdk-1.0.0/fortisapi/models/purchase.py +501 -0
- fortis_python_sdk-1.0.0/fortisapi/models/quick_invoice.py +1256 -0
- fortis_python_sdk-1.0.0/fortisapi/models/quick_invoice_setting.py +299 -0
- fortis_python_sdk-1.0.0/fortisapi/models/quick_invoice_view.py +176 -0
- fortis_python_sdk-1.0.0/fortisapi/models/reason_code.py +131 -0
- fortis_python_sdk-1.0.0/fortisapi/models/reason_code_id_1_enum.py +935 -0
- fortis_python_sdk-1.0.0/fortisapi/models/reason_code_id_enum.py +578 -0
- fortis_python_sdk-1.0.0/fortisapi/models/reason_model_enum.py +74 -0
- fortis_python_sdk-1.0.0/fortisapi/models/received_email.py +364 -0
- fortis_python_sdk-1.0.0/fortisapi/models/recipients_enum.py +62 -0
- fortis_python_sdk-1.0.0/fortisapi/models/recurring.py +975 -0
- fortis_python_sdk-1.0.0/fortisapi/models/recurring_3.py +977 -0
- fortis_python_sdk-1.0.0/fortisapi/models/recurring_flag_enum.py +64 -0
- fortis_python_sdk-1.0.0/fortisapi/models/recurring_split.py +200 -0
- fortis_python_sdk-1.0.0/fortisapi/models/recurring_type_id_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/registration_field_enum.py +87 -0
- fortis_python_sdk-1.0.0/fortisapi/models/rejected_transaction.py +3198 -0
- fortis_python_sdk-1.0.0/fortisapi/models/rejected_transaction_ach_retry.py +244 -0
- fortis_python_sdk-1.0.0/fortisapi/models/relationship_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/reorder_items_ind_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/report_export_type_enum.py +53 -0
- fortis_python_sdk-1.0.0/fortisapi/models/resource_12_enum.py +52 -0
- fortis_python_sdk-1.0.0/fortisapi/models/resource_2_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/resource_enum.py +55 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_416_date_range.py +148 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_417_filter_channels.py +148 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_apple_pay_validate_merchant.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_async_status.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_batchs_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_calculate_surcharge.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_contact.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_contact_searchs_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_contacts_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_declined_recurring_transaction.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_declined_recurring_transaction_payment.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_declined_recurring_transaction_resend.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_declined_recurring_transactions_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_device_term.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_device_terms_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_fullboarding.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_location.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_location_info.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_location_infos_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_location_searchs_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_locations_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_merchant.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_merchant_deposit.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_merchant_deposits_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_merchant_details.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_onboarding.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_paylink.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_paylinks_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_payment_card_reader_token.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_quick_invoice.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_quick_invoice_resend.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_quick_invoices_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_recurring.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_recurrings_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_reporting_reports_cc_settled_transactions_collection.py +231 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_reporting_reports_chargebacks_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_signature.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_signatures_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_tag.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_tags_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_terminal.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_terminals_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_three_ds_authentication.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_three_ds_transaction.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_ticket.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_ticket_intention.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_tickets_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_token.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_tokens_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_ach_retry.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_ach_retrys_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_bin_info.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_intention.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_level_3.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_level_3_master.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_level_3_visa.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transaction_processing.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_transactions_collection.py +228 -0
- fortis_python_sdk-1.0.0/fortisapi/models/response_webhook.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/result.py +152 -0
- fortis_python_sdk-1.0.0/fortisapi/models/retry_transaction.py +3198 -0
- fortis_python_sdk-1.0.0/fortisapi/models/retry_transaction_ach_retry.py +246 -0
- fortis_python_sdk-1.0.0/fortisapi/models/return_fee_transaction.py +3198 -0
- fortis_python_sdk-1.0.0/fortisapi/models/return_fee_transaction_ach_retry.py +246 -0
- fortis_python_sdk-1.0.0/fortisapi/models/saved_account.py +1408 -0
- fortis_python_sdk-1.0.0/fortisapi/models/scheme_id_enum.py +54 -0
- fortis_python_sdk-1.0.0/fortisapi/models/sec_code_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/settings.py +148 -0
- fortis_python_sdk-1.0.0/fortisapi/models/settled_currency_enum.py +168 -0
- fortis_python_sdk-1.0.0/fortisapi/models/severity_enum.py +62 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ship_address_usage_ind_enum.py +62 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ship_indicator_enum.py +101 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ship_name_indicator_enum.py +52 -0
- fortis_python_sdk-1.0.0/fortisapi/models/shipping_address.py +264 -0
- fortis_python_sdk-1.0.0/fortisapi/models/signature.py +220 -0
- fortis_python_sdk-1.0.0/fortisapi/models/sms_blacklist.py +178 -0
- fortis_python_sdk-1.0.0/fortisapi/models/sms_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/sort.py +132 -0
- fortis_python_sdk-1.0.0/fortisapi/models/source_enum.py +56 -0
- fortis_python_sdk-1.0.0/fortisapi/models/stack_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_11.py +131 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_3_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_5.py +102 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_code_12_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_code_17_enum.py +102 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_code_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_enum.py +50 -0
- fortis_python_sdk-1.0.0/fortisapi/models/status_id_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/surcharge.py +574 -0
- fortis_python_sdk-1.0.0/fortisapi/models/surcharge_transaction.py +367 -0
- fortis_python_sdk-1.0.0/fortisapi/models/suspicious_acc_activity_enum.py +52 -0
- fortis_python_sdk-1.0.0/fortisapi/models/tag.py +194 -0
- fortis_python_sdk-1.0.0/fortisapi/models/tag_transaction.py +319 -0
- fortis_python_sdk-1.0.0/fortisapi/models/tax_exempt_enum.py +61 -0
- fortis_python_sdk-1.0.0/fortisapi/models/tax_surcharge_config_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal.py +1245 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_2.py +1243 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_application.py +411 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_cvm.py +293 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_manufacturer.py +249 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_manufacturer_code_enum.py +55 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_router.py +245 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_timeouts.py +304 -0
- fortis_python_sdk-1.0.0/fortisapi/models/terminal_timeouts_12.py +314 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_req_auth_method_enum.py +154 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_req_prior_auth_method_enum.py +123 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor.py +345 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor_authentication_ind_enum.py +141 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor_authentication_info.py +179 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor_challenge_ind_enum.py +126 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor_dec_req_ind_enum.py +72 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor_prior_authentication_info.py +188 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ds_requestor_spc_support_enum.py +49 -0
- fortis_python_sdk-1.0.0/fortisapi/models/three_ri_ind_enum.py +180 -0
- fortis_python_sdk-1.0.0/fortisapi/models/tip_percents.py +160 -0
- fortis_python_sdk-1.0.0/fortisapi/models/trans_char_enum.py +45 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction.py +3196 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_batch.py +537 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_batch_settlement.py +202 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_history.py +246 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_level_3.py +152 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_reference.py +298 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_split.py +221 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_status_enum.py +88 -0
- fortis_python_sdk-1.0.0/fortisapi/models/transaction_type_enum.py +68 -0
- fortis_python_sdk-1.0.0/fortisapi/models/trx_source_code_enum.py +155 -0
- fortis_python_sdk-1.0.0/fortisapi/models/trx_source_id_enum.py +155 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_103_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_105_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_10_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_110_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_114_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_11_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_121_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_123.py +131 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_124_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_125_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_126_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_127_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_128_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_134_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_135_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_136_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_15_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_16_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_1_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_20_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_21_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_22_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_23_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_27_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_28_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_29_enum.py +64 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_2_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_30_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_31_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_35_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_39_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_3_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_43_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_44_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_45_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_46_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_47_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_48_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_4_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_52_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_53_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_54_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_55_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_59_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_5_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_60_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_61_enum.py +45 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_62_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_63_enum.py +91 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_64_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_65_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_6_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_70_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_71_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_75_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_79_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_83_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_84_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_88_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_89_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_93_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_94_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_98_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_99_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/type_id_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/ui_prefs.py +204 -0
- fortis_python_sdk-1.0.0/fortisapi/models/update_if_exists_enum.py +44 -0
- fortis_python_sdk-1.0.0/fortisapi/models/user.py +180 -0
- fortis_python_sdk-1.0.0/fortisapi/models/user_1.py +1197 -0
- fortis_python_sdk-1.0.0/fortisapi/models/user_9.py +1195 -0
- fortis_python_sdk-1.0.0/fortisapi/models/user_type_code_enum.py +74 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_contacts_request.py +685 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_contacts_request_1.py +707 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_declined_recurring_transaction_payments_request.py +354 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_device_terms_request.py +161 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_elements_ticket_intention_request.py +195 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_elements_transaction_intention_request.py +591 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_fullboarding_request.py +827 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_merchant_threedsecure_authentication_request.py +696 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_onboarding_request.py +833 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_paylinks_request.py +723 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_paylinks_request_1.py +735 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_public_calculate_surcharge_request.py +527 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_quick_invoices_request.py +1035 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_quick_invoices_request_1.py +1070 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_quick_invoices_transaction_request.py +86 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_recurrings_defer_payment_request.py +86 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_recurrings_request.py +742 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_recurrings_request_1.py +750 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_recurrings_skip_payment_request.py +86 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_signatures_request.py +113 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tags_request.py +99 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tags_request_1.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_terminals_request.py +1005 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_terminals_request_1.py +1112 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tickets_request.py +286 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_ach_request.py +945 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_ach_request_1.py +907 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_cc_request.py +1071 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_cc_request_1.py +905 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_previous_transaction_request.py +858 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_terminal_async_request.py +889 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_terminal_request.py +889 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_ticket_request.py +882 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_tokens_wallet_request.py +919 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transaction_ach_retries_request.py +119 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_credit_keyed_request.py +1600 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_credit_prev_trxn_request.py +1616 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_credit_token_request.py +1660 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_debit_keyed_request.py +1600 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_debit_prev_trxn_request.py +1616 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_debit_token_request.py +1660 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ach_refund_prev_trxn_request.py +1616 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_auth_complete_request.py +1519 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_auth_increment_request.py +1533 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cash_refund_request.py +1515 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cash_sale_request.py +1489 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_keyed_request.py +2164 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_prev_trxn_request.py +2124 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_taptopay_request.py +1843 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_terminal_request.py +2082 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_ticket_request.py +2050 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_token_request.py +2129 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_auth_only_wallet_request.py +2062 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_keyed_request.py +2175 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_prev_trxn_request.py +2124 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_swiped_request.py +2086 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_terminal_request.py +2093 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_ticket_request.py +2061 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_token_request.py +2140 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_avs_only_wallet_request.py +2073 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_keyed_request.py +2176 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_prev_trxn_request.py +2125 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_swiped_request.py +2087 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_terminal_request.py +2094 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_ticket_request.py +2062 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_token_request.py +2141 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_balance_inquiry_wallet_request.py +2074 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_keyed_request.py +2218 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_prev_trxn_request.py +2124 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_taptopay_request.py +1869 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_terminal_request.py +2082 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_ticket_request.py +2050 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_token_request.py +2129 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_refund_wallet_request.py +2062 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_keyed_request.py +2164 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_prev_trxn_request.py +2124 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_taptopay_request.py +1843 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_terminal_request.py +2082 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_ticket_request.py +2050 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_token_request.py +2129 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_cc_sale_wallet_request.py +2062 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ebt_voucher_clear_refund_keyed_request.py +2190 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_ebt_voucher_clear_sale_keyed_request.py +2190 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_level_3_master_card_request.py +91 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_level_3_visa_request.py +91 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_partial_reversal_request.py +1462 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_refund_request.py +1448 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_tip_adjust_request.py +1973 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_transactions_void_request.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_wallet_provider_apple_pay_validate_merchant_request.py +127 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_wallet_provider_merchant_details_request.py +87 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_apm_onboarding_request.py +421 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_apm_onboarding_request_1.py +494 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_batch_request.py +410 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_batch_request_1.py +494 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_contact_request.py +421 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_contact_request_1.py +494 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_transaction_request.py +410 -0
- fortis_python_sdk-1.0.0/fortisapi/models/v_1_webhooks_transaction_request_1.py +494 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_4_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_50_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_51_enum.py +62 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_58_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_5_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_6_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_7_enum.py +59 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_99_enum.py +45 -0
- fortis_python_sdk-1.0.0/fortisapi/models/values_enum.py +51 -0
- fortis_python_sdk-1.0.0/fortisapi/models/wallet_provider_enum.py +47 -0
- fortis_python_sdk-1.0.0/fortisapi/models/wallet_type_enum.py +86 -0
- fortis_python_sdk-1.0.0/fortisapi/models/work_phone.py +130 -0
- fortis_python_sdk-1.0.0/fortisapi/utilities/__init__.py +6 -0
- fortis_python_sdk-1.0.0/fortisapi/utilities/file_wrapper.py +45 -0
- fortis_python_sdk-1.0.0/fortisapi/utilities/union_type_lookup.py +436 -0
- fortis_python_sdk-1.0.0/pyproject.toml +22 -0
- fortis_python_sdk-1.0.0/setup.cfg +8 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
License:
|
|
2
|
+
========
|
|
3
|
+
The MIT License (MIT)
|
|
4
|
+
http://opensource.org/licenses/MIT
|
|
5
|
+
|
|
6
|
+
Copyright (c) 2014 - 2026 APIMATIC Limited
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in
|
|
16
|
+
all copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
24
|
+
THE SOFTWARE.
|
|
25
|
+
|
|
26
|
+
Trade Mark:
|
|
27
|
+
==========
|
|
28
|
+
APIMATIC is a trade mark for APIMATIC Limited
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fortis-python-sdk
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Fortispay Python SDK
|
|
5
|
+
Project-URL: docs, https://docs.fortis.tech
|
|
6
|
+
Keywords: Fortis,payments,payment,erp,crm,embedded,integrated
|
|
7
|
+
Requires-Python: >=3.7
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: apimatic-core>=0.2.24,~=0.2.0
|
|
11
|
+
Requires-Dist: apimatic-core-interfaces>=0.1.8,~=0.1.0
|
|
12
|
+
Requires-Dist: apimatic-requests-client-adapter>=0.1.10,~=0.1.0
|
|
13
|
+
Requires-Dist: python-dotenv<2.0,>=0.21
|
|
14
|
+
Provides-Extra: testutils
|
|
15
|
+
Requires-Dist: pytest>=7.2.2; extra == "testutils"
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Getting Started with Fortis API
|
|
20
|
+
|
|
21
|
+
## Install the Package
|
|
22
|
+
|
|
23
|
+
The package is compatible with Python versions `3.7+`.
|
|
24
|
+
Install the package from PyPi using the following pip command:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pip install fortis-python-sdk==1.0.0
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
You can also view the package at:
|
|
31
|
+
https://pypi.python.org/pypi/fortis-python-sdk/1.0.0
|
|
32
|
+
|
|
33
|
+
## Test the SDK
|
|
34
|
+
|
|
35
|
+
You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:
|
|
36
|
+
|
|
37
|
+
Navigate to the root directory of the SDK and run the following commands
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
pip install -r test-requirements.txt
|
|
41
|
+
pytest
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Initialize the API Client
|
|
45
|
+
|
|
46
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/client.md)
|
|
47
|
+
|
|
48
|
+
The following parameters are configurable for the API Client:
|
|
49
|
+
|
|
50
|
+
| Parameter | Type | Description |
|
|
51
|
+
| --- | --- | --- |
|
|
52
|
+
| environment | [`Environment`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.SANDBOX`** |
|
|
53
|
+
| http_client_instance | `Union[Session, HttpClientProvider]` | The Http Client passed from the sdk user for making requests |
|
|
54
|
+
| override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
|
|
55
|
+
| http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
|
|
56
|
+
| timeout | `float` | The value to use for connection timeout. <br> **Default: 60** |
|
|
57
|
+
| max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
|
|
58
|
+
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
|
|
59
|
+
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
60
|
+
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
|
|
61
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
62
|
+
| user_id_credentials | [`UserIdCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature.md) | The credential object for Custom Header Signature |
|
|
63
|
+
| user_api_key_credentials | [`UserApiKeyCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-1.md) | The credential object for Custom Header Signature |
|
|
64
|
+
| developer_id_credentials | [`DeveloperIdCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-2.md) | The credential object for Custom Header Signature |
|
|
65
|
+
| access_token_credentials | [`AccessTokenCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-3.md) | The credential object for Custom Header Signature |
|
|
66
|
+
|
|
67
|
+
The API client can be initialized as follows:
|
|
68
|
+
|
|
69
|
+
### Code-Based Client Initialization
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from fortisapi.configuration import Environment
|
|
73
|
+
from fortisapi.fortisapi_client import FortisapiClient
|
|
74
|
+
from fortisapi.http.auth.access_token import AccessTokenCredentials
|
|
75
|
+
from fortisapi.http.auth.developer_id import DeveloperIdCredentials
|
|
76
|
+
from fortisapi.http.auth.user_api_key import UserApiKeyCredentials
|
|
77
|
+
from fortisapi.http.auth.user_id import UserIdCredentials
|
|
78
|
+
|
|
79
|
+
client = FortisapiClient(
|
|
80
|
+
user_id_credentials=UserIdCredentials(
|
|
81
|
+
user_id='user-id'
|
|
82
|
+
),
|
|
83
|
+
user_api_key_credentials=UserApiKeyCredentials(
|
|
84
|
+
user_api_key='user-api-key'
|
|
85
|
+
),
|
|
86
|
+
developer_id_credentials=DeveloperIdCredentials(
|
|
87
|
+
developer_id='developer-id'
|
|
88
|
+
),
|
|
89
|
+
access_token_credentials=AccessTokenCredentials(
|
|
90
|
+
access_token='access-token'
|
|
91
|
+
),
|
|
92
|
+
environment=Environment.SANDBOX
|
|
93
|
+
)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Environment-Based Client Initialization
|
|
97
|
+
|
|
98
|
+
```python
|
|
99
|
+
from fortisapi.fortisapi_client import FortisapiClient
|
|
100
|
+
|
|
101
|
+
# Specify the path to your .env file if it’s located outside the project’s root directory.
|
|
102
|
+
client = FortisapiClient.from_environment(dotenv_path='/path/to/.env')
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
See the [Environment-Based Client Initialization](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/environment-based-client-initialization.md) section for details.
|
|
106
|
+
|
|
107
|
+
## Environments
|
|
108
|
+
|
|
109
|
+
The SDK can be configured to use a different environment for making API calls. Available environments are:
|
|
110
|
+
|
|
111
|
+
### Fields
|
|
112
|
+
|
|
113
|
+
| Name | Description |
|
|
114
|
+
| --- | --- |
|
|
115
|
+
| SANDBOX | **Default** |
|
|
116
|
+
| PRODUCTION | - |
|
|
117
|
+
|
|
118
|
+
## Authorization
|
|
119
|
+
|
|
120
|
+
This API uses the following authentication schemes.
|
|
121
|
+
|
|
122
|
+
* [`user-id (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature.md)
|
|
123
|
+
* [`user-api-key (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-1.md)
|
|
124
|
+
* [`developer-id (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-2.md)
|
|
125
|
+
* [`access-token (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-3.md)
|
|
126
|
+
|
|
127
|
+
## List of APIs
|
|
128
|
+
|
|
129
|
+
* [Async Processing](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/async-processing.md)
|
|
130
|
+
* [Declined Recurring Transactions](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/declined-recurring-transactions.md)
|
|
131
|
+
* [Device Terms](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/device-terms.md)
|
|
132
|
+
* [Full Boarding](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/full-boarding.md)
|
|
133
|
+
* [3 DS Authentication](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/3-ds-authentication.md)
|
|
134
|
+
* [3 DS Transactions](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/3-ds-transactions.md)
|
|
135
|
+
* [Merchant Deposits](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/merchant-deposits.md)
|
|
136
|
+
* [Enterprise Link Redirect](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/enterprise-link-redirect.md)
|
|
137
|
+
* [On Boarding](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/on-boarding.md)
|
|
138
|
+
* [Payment Card Reader Token](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/payment-card-reader-token.md)
|
|
139
|
+
* [Calculate Surcharge](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/calculate-surcharge.md)
|
|
140
|
+
* [Quick Invoices](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/quick-invoices.md)
|
|
141
|
+
* [Transaction ACH Retries](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transaction-ach-retries.md)
|
|
142
|
+
* [Transactions-ACH](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-ach.md)
|
|
143
|
+
* [Transactions-Cash](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-cash.md)
|
|
144
|
+
* [Transactions-Credit Card](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-credit-card.md)
|
|
145
|
+
* [Transactions-EBT Card](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-ebt-card.md)
|
|
146
|
+
* [Transactions-Read](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-read.md)
|
|
147
|
+
* [Level 3 Data](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/level-3-data.md)
|
|
148
|
+
* [Transactions-Updates](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-updates.md)
|
|
149
|
+
* [Apple Pay Validate Merchant](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/apple-pay-validate-merchant.md)
|
|
150
|
+
* [Merchant Details](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/merchant-details.md)
|
|
151
|
+
* [Batches](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/batches.md)
|
|
152
|
+
* [Contacts](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/contacts.md)
|
|
153
|
+
* [Elements](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/elements.md)
|
|
154
|
+
* [Locations](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/locations.md)
|
|
155
|
+
* [Paylinks](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/paylinks.md)
|
|
156
|
+
* [Recurring](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/recurring.md)
|
|
157
|
+
* [Reports](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/reports.md)
|
|
158
|
+
* [Signatures](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/signatures.md)
|
|
159
|
+
* [Tags](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tags.md)
|
|
160
|
+
* [Terminals](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/terminals.md)
|
|
161
|
+
* [Tickets](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tickets.md)
|
|
162
|
+
* [Tokens](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tokens.md)
|
|
163
|
+
* [Webhooks](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/webhooks.md)
|
|
164
|
+
|
|
165
|
+
## SDK Infrastructure
|
|
166
|
+
|
|
167
|
+
### Configuration
|
|
168
|
+
|
|
169
|
+
* [ProxySettings](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/proxy-settings.md)
|
|
170
|
+
* [Environment-Based Client Initialization](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/environment-based-client-initialization.md)
|
|
171
|
+
|
|
172
|
+
### HTTP
|
|
173
|
+
|
|
174
|
+
* [HttpResponse](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-response.md)
|
|
175
|
+
* [HttpRequest](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-request.md)
|
|
176
|
+
|
|
177
|
+
### Utilities
|
|
178
|
+
|
|
179
|
+
* [ApiHelper](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/api-helper.md)
|
|
180
|
+
* [HttpDateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-date-time.md)
|
|
181
|
+
* [RFC3339DateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/rfc3339-date-time.md)
|
|
182
|
+
* [UnixDateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/unix-date-time.md)
|
|
183
|
+
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
|
|
2
|
+
# Getting Started with Fortis API
|
|
3
|
+
|
|
4
|
+
## Install the Package
|
|
5
|
+
|
|
6
|
+
The package is compatible with Python versions `3.7+`.
|
|
7
|
+
Install the package from PyPi using the following pip command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install fortis-python-sdk==1.0.0
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
You can also view the package at:
|
|
14
|
+
https://pypi.python.org/pypi/fortis-python-sdk/1.0.0
|
|
15
|
+
|
|
16
|
+
## Test the SDK
|
|
17
|
+
|
|
18
|
+
You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:
|
|
19
|
+
|
|
20
|
+
Navigate to the root directory of the SDK and run the following commands
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
pip install -r test-requirements.txt
|
|
24
|
+
pytest
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Initialize the API Client
|
|
28
|
+
|
|
29
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/client.md)
|
|
30
|
+
|
|
31
|
+
The following parameters are configurable for the API Client:
|
|
32
|
+
|
|
33
|
+
| Parameter | Type | Description |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| environment | [`Environment`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.SANDBOX`** |
|
|
36
|
+
| http_client_instance | `Union[Session, HttpClientProvider]` | The Http Client passed from the sdk user for making requests |
|
|
37
|
+
| override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
|
|
38
|
+
| http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
|
|
39
|
+
| timeout | `float` | The value to use for connection timeout. <br> **Default: 60** |
|
|
40
|
+
| max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
|
|
41
|
+
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
|
|
42
|
+
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
43
|
+
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
|
|
44
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
45
|
+
| user_id_credentials | [`UserIdCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature.md) | The credential object for Custom Header Signature |
|
|
46
|
+
| user_api_key_credentials | [`UserApiKeyCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-1.md) | The credential object for Custom Header Signature |
|
|
47
|
+
| developer_id_credentials | [`DeveloperIdCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-2.md) | The credential object for Custom Header Signature |
|
|
48
|
+
| access_token_credentials | [`AccessTokenCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-3.md) | The credential object for Custom Header Signature |
|
|
49
|
+
|
|
50
|
+
The API client can be initialized as follows:
|
|
51
|
+
|
|
52
|
+
### Code-Based Client Initialization
|
|
53
|
+
|
|
54
|
+
```python
|
|
55
|
+
from fortisapi.configuration import Environment
|
|
56
|
+
from fortisapi.fortisapi_client import FortisapiClient
|
|
57
|
+
from fortisapi.http.auth.access_token import AccessTokenCredentials
|
|
58
|
+
from fortisapi.http.auth.developer_id import DeveloperIdCredentials
|
|
59
|
+
from fortisapi.http.auth.user_api_key import UserApiKeyCredentials
|
|
60
|
+
from fortisapi.http.auth.user_id import UserIdCredentials
|
|
61
|
+
|
|
62
|
+
client = FortisapiClient(
|
|
63
|
+
user_id_credentials=UserIdCredentials(
|
|
64
|
+
user_id='user-id'
|
|
65
|
+
),
|
|
66
|
+
user_api_key_credentials=UserApiKeyCredentials(
|
|
67
|
+
user_api_key='user-api-key'
|
|
68
|
+
),
|
|
69
|
+
developer_id_credentials=DeveloperIdCredentials(
|
|
70
|
+
developer_id='developer-id'
|
|
71
|
+
),
|
|
72
|
+
access_token_credentials=AccessTokenCredentials(
|
|
73
|
+
access_token='access-token'
|
|
74
|
+
),
|
|
75
|
+
environment=Environment.SANDBOX
|
|
76
|
+
)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Environment-Based Client Initialization
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
from fortisapi.fortisapi_client import FortisapiClient
|
|
83
|
+
|
|
84
|
+
# Specify the path to your .env file if it’s located outside the project’s root directory.
|
|
85
|
+
client = FortisapiClient.from_environment(dotenv_path='/path/to/.env')
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
See the [Environment-Based Client Initialization](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/environment-based-client-initialization.md) section for details.
|
|
89
|
+
|
|
90
|
+
## Environments
|
|
91
|
+
|
|
92
|
+
The SDK can be configured to use a different environment for making API calls. Available environments are:
|
|
93
|
+
|
|
94
|
+
### Fields
|
|
95
|
+
|
|
96
|
+
| Name | Description |
|
|
97
|
+
| --- | --- |
|
|
98
|
+
| SANDBOX | **Default** |
|
|
99
|
+
| PRODUCTION | - |
|
|
100
|
+
|
|
101
|
+
## Authorization
|
|
102
|
+
|
|
103
|
+
This API uses the following authentication schemes.
|
|
104
|
+
|
|
105
|
+
* [`user-id (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature.md)
|
|
106
|
+
* [`user-api-key (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-1.md)
|
|
107
|
+
* [`developer-id (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-2.md)
|
|
108
|
+
* [`access-token (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-3.md)
|
|
109
|
+
|
|
110
|
+
## List of APIs
|
|
111
|
+
|
|
112
|
+
* [Async Processing](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/async-processing.md)
|
|
113
|
+
* [Declined Recurring Transactions](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/declined-recurring-transactions.md)
|
|
114
|
+
* [Device Terms](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/device-terms.md)
|
|
115
|
+
* [Full Boarding](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/full-boarding.md)
|
|
116
|
+
* [3 DS Authentication](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/3-ds-authentication.md)
|
|
117
|
+
* [3 DS Transactions](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/3-ds-transactions.md)
|
|
118
|
+
* [Merchant Deposits](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/merchant-deposits.md)
|
|
119
|
+
* [Enterprise Link Redirect](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/enterprise-link-redirect.md)
|
|
120
|
+
* [On Boarding](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/on-boarding.md)
|
|
121
|
+
* [Payment Card Reader Token](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/payment-card-reader-token.md)
|
|
122
|
+
* [Calculate Surcharge](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/calculate-surcharge.md)
|
|
123
|
+
* [Quick Invoices](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/quick-invoices.md)
|
|
124
|
+
* [Transaction ACH Retries](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transaction-ach-retries.md)
|
|
125
|
+
* [Transactions-ACH](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-ach.md)
|
|
126
|
+
* [Transactions-Cash](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-cash.md)
|
|
127
|
+
* [Transactions-Credit Card](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-credit-card.md)
|
|
128
|
+
* [Transactions-EBT Card](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-ebt-card.md)
|
|
129
|
+
* [Transactions-Read](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-read.md)
|
|
130
|
+
* [Level 3 Data](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/level-3-data.md)
|
|
131
|
+
* [Transactions-Updates](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-updates.md)
|
|
132
|
+
* [Apple Pay Validate Merchant](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/apple-pay-validate-merchant.md)
|
|
133
|
+
* [Merchant Details](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/merchant-details.md)
|
|
134
|
+
* [Batches](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/batches.md)
|
|
135
|
+
* [Contacts](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/contacts.md)
|
|
136
|
+
* [Elements](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/elements.md)
|
|
137
|
+
* [Locations](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/locations.md)
|
|
138
|
+
* [Paylinks](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/paylinks.md)
|
|
139
|
+
* [Recurring](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/recurring.md)
|
|
140
|
+
* [Reports](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/reports.md)
|
|
141
|
+
* [Signatures](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/signatures.md)
|
|
142
|
+
* [Tags](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tags.md)
|
|
143
|
+
* [Terminals](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/terminals.md)
|
|
144
|
+
* [Tickets](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tickets.md)
|
|
145
|
+
* [Tokens](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tokens.md)
|
|
146
|
+
* [Webhooks](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/webhooks.md)
|
|
147
|
+
|
|
148
|
+
## SDK Infrastructure
|
|
149
|
+
|
|
150
|
+
### Configuration
|
|
151
|
+
|
|
152
|
+
* [ProxySettings](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/proxy-settings.md)
|
|
153
|
+
* [Environment-Based Client Initialization](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/environment-based-client-initialization.md)
|
|
154
|
+
|
|
155
|
+
### HTTP
|
|
156
|
+
|
|
157
|
+
* [HttpResponse](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-response.md)
|
|
158
|
+
* [HttpRequest](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-request.md)
|
|
159
|
+
|
|
160
|
+
### Utilities
|
|
161
|
+
|
|
162
|
+
* [ApiHelper](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/api-helper.md)
|
|
163
|
+
* [HttpDateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-date-time.md)
|
|
164
|
+
* [RFC3339DateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/rfc3339-date-time.md)
|
|
165
|
+
* [UnixDateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/unix-date-time.md)
|
|
166
|
+
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fortis-python-sdk
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Fortispay Python SDK
|
|
5
|
+
Project-URL: docs, https://docs.fortis.tech
|
|
6
|
+
Keywords: Fortis,payments,payment,erp,crm,embedded,integrated
|
|
7
|
+
Requires-Python: >=3.7
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: apimatic-core>=0.2.24,~=0.2.0
|
|
11
|
+
Requires-Dist: apimatic-core-interfaces>=0.1.8,~=0.1.0
|
|
12
|
+
Requires-Dist: apimatic-requests-client-adapter>=0.1.10,~=0.1.0
|
|
13
|
+
Requires-Dist: python-dotenv<2.0,>=0.21
|
|
14
|
+
Provides-Extra: testutils
|
|
15
|
+
Requires-Dist: pytest>=7.2.2; extra == "testutils"
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Getting Started with Fortis API
|
|
20
|
+
|
|
21
|
+
## Install the Package
|
|
22
|
+
|
|
23
|
+
The package is compatible with Python versions `3.7+`.
|
|
24
|
+
Install the package from PyPi using the following pip command:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pip install fortis-python-sdk==1.0.0
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
You can also view the package at:
|
|
31
|
+
https://pypi.python.org/pypi/fortis-python-sdk/1.0.0
|
|
32
|
+
|
|
33
|
+
## Test the SDK
|
|
34
|
+
|
|
35
|
+
You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:
|
|
36
|
+
|
|
37
|
+
Navigate to the root directory of the SDK and run the following commands
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
pip install -r test-requirements.txt
|
|
41
|
+
pytest
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Initialize the API Client
|
|
45
|
+
|
|
46
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/client.md)
|
|
47
|
+
|
|
48
|
+
The following parameters are configurable for the API Client:
|
|
49
|
+
|
|
50
|
+
| Parameter | Type | Description |
|
|
51
|
+
| --- | --- | --- |
|
|
52
|
+
| environment | [`Environment`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.SANDBOX`** |
|
|
53
|
+
| http_client_instance | `Union[Session, HttpClientProvider]` | The Http Client passed from the sdk user for making requests |
|
|
54
|
+
| override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
|
|
55
|
+
| http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
|
|
56
|
+
| timeout | `float` | The value to use for connection timeout. <br> **Default: 60** |
|
|
57
|
+
| max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
|
|
58
|
+
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
|
|
59
|
+
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
60
|
+
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
|
|
61
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
62
|
+
| user_id_credentials | [`UserIdCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature.md) | The credential object for Custom Header Signature |
|
|
63
|
+
| user_api_key_credentials | [`UserApiKeyCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-1.md) | The credential object for Custom Header Signature |
|
|
64
|
+
| developer_id_credentials | [`DeveloperIdCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-2.md) | The credential object for Custom Header Signature |
|
|
65
|
+
| access_token_credentials | [`AccessTokenCredentials`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-3.md) | The credential object for Custom Header Signature |
|
|
66
|
+
|
|
67
|
+
The API client can be initialized as follows:
|
|
68
|
+
|
|
69
|
+
### Code-Based Client Initialization
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from fortisapi.configuration import Environment
|
|
73
|
+
from fortisapi.fortisapi_client import FortisapiClient
|
|
74
|
+
from fortisapi.http.auth.access_token import AccessTokenCredentials
|
|
75
|
+
from fortisapi.http.auth.developer_id import DeveloperIdCredentials
|
|
76
|
+
from fortisapi.http.auth.user_api_key import UserApiKeyCredentials
|
|
77
|
+
from fortisapi.http.auth.user_id import UserIdCredentials
|
|
78
|
+
|
|
79
|
+
client = FortisapiClient(
|
|
80
|
+
user_id_credentials=UserIdCredentials(
|
|
81
|
+
user_id='user-id'
|
|
82
|
+
),
|
|
83
|
+
user_api_key_credentials=UserApiKeyCredentials(
|
|
84
|
+
user_api_key='user-api-key'
|
|
85
|
+
),
|
|
86
|
+
developer_id_credentials=DeveloperIdCredentials(
|
|
87
|
+
developer_id='developer-id'
|
|
88
|
+
),
|
|
89
|
+
access_token_credentials=AccessTokenCredentials(
|
|
90
|
+
access_token='access-token'
|
|
91
|
+
),
|
|
92
|
+
environment=Environment.SANDBOX
|
|
93
|
+
)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Environment-Based Client Initialization
|
|
97
|
+
|
|
98
|
+
```python
|
|
99
|
+
from fortisapi.fortisapi_client import FortisapiClient
|
|
100
|
+
|
|
101
|
+
# Specify the path to your .env file if it’s located outside the project’s root directory.
|
|
102
|
+
client = FortisapiClient.from_environment(dotenv_path='/path/to/.env')
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
See the [Environment-Based Client Initialization](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/environment-based-client-initialization.md) section for details.
|
|
106
|
+
|
|
107
|
+
## Environments
|
|
108
|
+
|
|
109
|
+
The SDK can be configured to use a different environment for making API calls. Available environments are:
|
|
110
|
+
|
|
111
|
+
### Fields
|
|
112
|
+
|
|
113
|
+
| Name | Description |
|
|
114
|
+
| --- | --- |
|
|
115
|
+
| SANDBOX | **Default** |
|
|
116
|
+
| PRODUCTION | - |
|
|
117
|
+
|
|
118
|
+
## Authorization
|
|
119
|
+
|
|
120
|
+
This API uses the following authentication schemes.
|
|
121
|
+
|
|
122
|
+
* [`user-id (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature.md)
|
|
123
|
+
* [`user-api-key (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-1.md)
|
|
124
|
+
* [`developer-id (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-2.md)
|
|
125
|
+
* [`access-token (Custom Header Signature)`](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/auth/custom-header-signature-3.md)
|
|
126
|
+
|
|
127
|
+
## List of APIs
|
|
128
|
+
|
|
129
|
+
* [Async Processing](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/async-processing.md)
|
|
130
|
+
* [Declined Recurring Transactions](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/declined-recurring-transactions.md)
|
|
131
|
+
* [Device Terms](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/device-terms.md)
|
|
132
|
+
* [Full Boarding](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/full-boarding.md)
|
|
133
|
+
* [3 DS Authentication](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/3-ds-authentication.md)
|
|
134
|
+
* [3 DS Transactions](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/3-ds-transactions.md)
|
|
135
|
+
* [Merchant Deposits](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/merchant-deposits.md)
|
|
136
|
+
* [Enterprise Link Redirect](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/enterprise-link-redirect.md)
|
|
137
|
+
* [On Boarding](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/on-boarding.md)
|
|
138
|
+
* [Payment Card Reader Token](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/payment-card-reader-token.md)
|
|
139
|
+
* [Calculate Surcharge](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/calculate-surcharge.md)
|
|
140
|
+
* [Quick Invoices](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/quick-invoices.md)
|
|
141
|
+
* [Transaction ACH Retries](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transaction-ach-retries.md)
|
|
142
|
+
* [Transactions-ACH](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-ach.md)
|
|
143
|
+
* [Transactions-Cash](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-cash.md)
|
|
144
|
+
* [Transactions-Credit Card](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-credit-card.md)
|
|
145
|
+
* [Transactions-EBT Card](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-ebt-card.md)
|
|
146
|
+
* [Transactions-Read](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-read.md)
|
|
147
|
+
* [Level 3 Data](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/level-3-data.md)
|
|
148
|
+
* [Transactions-Updates](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/transactions-updates.md)
|
|
149
|
+
* [Apple Pay Validate Merchant](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/apple-pay-validate-merchant.md)
|
|
150
|
+
* [Merchant Details](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/merchant-details.md)
|
|
151
|
+
* [Batches](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/batches.md)
|
|
152
|
+
* [Contacts](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/contacts.md)
|
|
153
|
+
* [Elements](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/elements.md)
|
|
154
|
+
* [Locations](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/locations.md)
|
|
155
|
+
* [Paylinks](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/paylinks.md)
|
|
156
|
+
* [Recurring](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/recurring.md)
|
|
157
|
+
* [Reports](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/reports.md)
|
|
158
|
+
* [Signatures](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/signatures.md)
|
|
159
|
+
* [Tags](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tags.md)
|
|
160
|
+
* [Terminals](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/terminals.md)
|
|
161
|
+
* [Tickets](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tickets.md)
|
|
162
|
+
* [Tokens](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/tokens.md)
|
|
163
|
+
* [Webhooks](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/controllers/webhooks.md)
|
|
164
|
+
|
|
165
|
+
## SDK Infrastructure
|
|
166
|
+
|
|
167
|
+
### Configuration
|
|
168
|
+
|
|
169
|
+
* [ProxySettings](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/proxy-settings.md)
|
|
170
|
+
* [Environment-Based Client Initialization](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/environment-based-client-initialization.md)
|
|
171
|
+
|
|
172
|
+
### HTTP
|
|
173
|
+
|
|
174
|
+
* [HttpResponse](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-response.md)
|
|
175
|
+
* [HttpRequest](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-request.md)
|
|
176
|
+
|
|
177
|
+
### Utilities
|
|
178
|
+
|
|
179
|
+
* [ApiHelper](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/api-helper.md)
|
|
180
|
+
* [HttpDateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/http-date-time.md)
|
|
181
|
+
* [RFC3339DateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/rfc3339-date-time.md)
|
|
182
|
+
* [UnixDateTime](https://www.github.com/fortispay/pythonsdk/tree/1.0.0/doc/unix-date-time.md)
|
|
183
|
+
|