Package: treasury-prime-client
treasury-prime-clientTreasury Prime APIThe Treasury Prime APIs enable Developers to embed a full range of banking services, from cards to account opening to payments, into their applications.More information at:https://www.treasuryprime.com/developersGetting StartedTo use this collection, you will need togenerate a set of API Keys, then update the Postman Environment settings with your API_KEY_ID and API_SECRET_KEY.Developer Sandbox and API KeysThe Developer Sandbox has been created to provide a safe space to test the Treasury Prime APIs. You can sign up for a free Developer Sandbox account and generate a set of API Keys to authenticate your requests athttps://developers.sandbox.treasuryprime.comDocsA complete set of API Reference documentation can be found athttps://developers.treasuryprime.com/docs/GuidesA set of Developer Guides have been created to help quickly explain how to accomplish common tasks such asOpening AccountsandIssuing Debit Cards.The Developer Guides can be found athttps://developers.sandbox.treasuryprime.com/guidesFeature AvailabilityNot all products and features are available at all of our bank partners. If you are a current customer and have questions regarding product or feature availability, please contact your Customer Success team or emailhelp@treasuryprime.com.NOTE:This collection is maintained on a best-effort basis and is not guaranteed to be up-to-date with the latest API Schema. Please consult ourAPI Reference Docsfor the most recent definitions.API Version: 1.13.548-ge22afcccThis Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.13.548-ge22afcccPackage version: 1.0.0Build package: org.openapitools.codegen.languages.PythonPriorClientCodegen
For more information, please visithttps://developers.treasuryprime.com/docsRequirements.Python >=3.6Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importtreasury_prime_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importtreasury_prime_clientGetting StartedPlease follow theinstallation procedureand then run the following:importtimeimporttreasury_prime_clientfrompprintimportpprintfromtreasury_prime_client.apiimportach_apifromtreasury_prime_client.model.achimportAchfromtreasury_prime_client.model.get_all_accounts400_responseimportGetAllAccounts400Responsefromtreasury_prime_client.model.get_all_ach_transfers200_responseimportGetAllAchTransfers200Responsefromtreasury_prime_client.model.update_ach_transfer_by_id_requestimportUpdateAchTransferByIdRequest# Defining the host is optional and defaults to https://api.sandbox.treasuryprime.com# See configuration.py for a list of all supported configuration parameters.configuration=treasury_prime_client.Configuration(host="https://api.sandbox.treasuryprime.com")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure HTTP basic authorization: basicAuthconfiguration=treasury_prime_client.Configuration(username='YOUR_USERNAME',password='YOUR_PASSWORD')# Enter a context with an instance of the API clientwithtreasury_prime_client.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=ach_api.ACHApi(api_client)ach=Ach(account_id="account_id_example",amount="4.80",counterparty_id="counterparty_id_example",description="description_example",direction="credit",sec_code="sec_code_example",service="standard",userdata={},addenda=["addenda_example",],)# Ach |  (optional)try:# Create ACHapi_response=api_instance.create_ach_transfer(ach=ach)pprint(api_response)excepttreasury_prime_client.ApiExceptionase:print("Exception when calling ACHApi->create_ach_transfer:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.sandbox.treasuryprime.comClassMethodHTTP requestDescriptionACHApicreate_ach_transferPOST/achCreate ACHACHApiget_ach_transfer_by_idGET/ach/{ach_id}Retrieve ACHACHApiget_all_ach_transfersGET/achRetrieve All ACHACHApiupdate_ach_transfer_by_idPATCH/ach/{ach_id}Update ACHAccountApplicationApicreate_account_applicationPOST/apply/account_applicationCreate Account ApplicationAccountApplicationApiget_account_application_by_idGET/apply/account_application/{account_application_id}Retrieve Account ApplicationAccountApplicationApiget_all_account_applicationsGET/apply/account_applicationRetrieve All Account ApplicationsAccountOpeningApicreate_account_applicationPOST/apply/account_applicationCreate Account ApplicationAccountOpeningApicreate_account_number_reservationPOST/account_number_reservationCreate Account Number ReservationAccountOpeningApicreate_additional_person_applicationPOST/apply/additional_person_applicationCreate Additional Person ApplicationAccountOpeningApicreate_business_applicationPOST/apply/business_applicationCreate Business ApplicationAccountOpeningApicreate_depositPOST/apply/depositCreate DepositAccountOpeningApicreate_kyc_evaluationPOST/apply/kycCreate KYC EvaluationAccountOpeningApicreate_person_applicationPOST/apply/person_applicationCreate Person ApplicationAccountOpeningApiget_account_application_by_idGET/apply/account_application/{account_application_id}Retrieve Account ApplicationAccountOpeningApiget_account_number_reservation_by_idGET/account_number_reservation/{account_number_reservation_id}Retrieve Account Number ReservationAccountOpeningApiget_account_product_by_idGET/account_product/{account_product_id}Retrieve Account ProductAccountOpeningApiget_additional_person_application_by_idGET/apply/additional_person_application/{additional_person_application_id}Retrieve Additional Person ApplicationAccountOpeningApiget_all_account_applicationsGET/apply/account_applicationRetrieve All Account ApplicationsAccountOpeningApiget_all_account_number_reservationsGET/account_number_reservationRetrieve All Account Number ReservationAccountOpeningApiget_all_account_productsGET/account_productRetrieve all Account ProductsAccountOpeningApiget_all_additional_person_applicationsGET/apply/additional_person_applicationRetrieve All Additional Person ApplicationsAccountOpeningApiget_all_business_applicationsGET/apply/business_applicationRetrieve All Business ApplicationsAccountOpeningApiget_all_depositsGET/apply/depositRetrieve All DepositsAccountOpeningApiget_all_kyc_evaluationsGET/apply/kycRetrieve All KYCAccountOpeningApiget_all_kyc_productsGET/apply/kyc_productRetrieve All KYC ProductsAccountOpeningApiget_all_person_applicationsGET/apply/person_applicationRetrieve All Person ApplicationsAccountOpeningApiget_business_application_by_idGET/apply/business_application/{business_application_id}Retrieve Business ApplicationAccountOpeningApiget_deposit_by_idGET/apply/deposit/{deposit_id}Retrieve a DepositAccountOpeningApiget_kyc_evaluation_by_idGET/apply/kyc/{kyc_id}Retrieve KYC EvaluationAccountOpeningApiget_kyc_product_by_idGET/apply/kyc_product/{kyc_product_id}Retrieve a KYC ProductAccountOpeningApiget_person_application_by_idGET/apply/person_application/{person_application_id}Retrieve Person ApplicationAccountOpeningApiupdate_additional_person_application_by_idPATCH/apply/additional_person_application/{additional_person_application_id}Update Additional Person ApplicationAccountOpeningApiupdate_business_application_by_idPATCH/apply/business_application/{business_application_id}Update Business ApplicationAccountsApicreate_card_by_person_idPOST/person/{person_id}/cardIssue New CardAccountsApicreate_reservePOST/reserveCreate a ReserveAccountsApicreate_statement_configPOST/statement_configCreate Statement Config CopyAccountsApidelete_reserve_by_idDELETE/reserve/{reserve_id}Delete a ReserveAccountsApiget_account_by_idGET/account/{account_id}Retrieve AccountAccountsApiget_account_statement_by_id_and_dateGET/account/{account_id}/statementRetrieve StatementAccountsApiget_all_accountsGET/accountRetrieve All AccountsAccountsApiget_all_cards_by_person_idGET/person/{person_id}/cardRetrieve All Person CardsAccountsApiget_all_check_imagesGET/check_imageList All Check ImagesAccountsApiget_all_reservesGET/reserveRetrieve all ReservesAccountsApiget_all_statement_configsGET/statement_configRetrieve All Statement ConfigsAccountsApiget_all_transactionsGET/transactionRetrieve All TransactionsAccountsApiget_all_transactions_by_accountGET/account/{account_id}/transactionRetrieve All Account TransactionsAccountsApiget_average_account_balance_by_idGET/account/{account_id}/average_balanceList Average BalancesAccountsApiget_business_by_idGET/business/{business_id}Retrieve BusinessAccountsApiget_card_by_person_id_and_card_idGET/person/{person_id}/card/{card_id}Retrieve CardAccountsApiget_check_image_by_idGET/check_image/{check_image_id}Retrieve Check ImageAccountsApiget_daily_account_balance_by_idGET/account/{account_id}/daily_balanceList Daily BalancesAccountsApiget_person_by_idGET/person/{person_id}Retrieve PersonAccountsApiget_reserve_by_idGET/reserve/{reserve_id}Retrieve ReserveAccountsApiget_transaction_by_idGET/transaction/{transaction_id}Retrieve a TransactionAccountsApiupdate_accountPATCH/account/{account_id}Lock a AccountAccountsApiupdate_person_by_idPATCH/person/{person_id}Update PersonAccountsApiupdate_reserve_by_idPATCH/reserve/{reserve_id}Update ReserveAccountsApiupdate_statement_config_by_idPATCH/statement_config/{statement_config_id}Update Statement Config CopyAdditionalPersonApplicationApicreate_additional_person_applicationPOST/apply/additional_person_applicationCreate Additional Person ApplicationAdditionalPersonApplicationApiget_additional_person_application_by_idGET/apply/additional_person_application/{additional_person_application_id}Retrieve Additional Person ApplicationAdditionalPersonApplicationApiget_all_additional_person_applicationsGET/apply/additional_person_applicationRetrieve All Additional Person ApplicationsAdditionalPersonApplicationApiupdate_additional_person_application_by_idPATCH/apply/additional_person_application/{additional_person_application_id}Update Additional Person ApplicationAverageBalanceApiget_average_account_balance_by_idGET/account/{account_id}/average_balanceList Average BalancesBillPayApicreate_bill_pay_counterpartyPOST/billpay/counterpartyCreate Bill Pay CounterpartyBillPayApicreate_bill_pay_paymentPOST/billpay/paymentCreate PaymentBillPayApicreate_bill_pay_rulePOST/billpay/ruleCreate RuleBillPayApiget_all_bill_pay_counterpartiesGET/billpay/counterpartyList all Bill Pay CounterpartiesBillPayApiget_all_bill_pay_merchantsGET/billpay/merchantSearch for MerchantBillPayApiget_all_bill_pay_paymentsGET/billpay/paymentRetrieve all PaymentsBillPayApiget_all_bill_pay_rulesGET/billpay/ruleList All RulesBillPayApiget_bill_pay_counterparty_by_idGET/billpay/counterparty/{billpay_counterparty_id}Retrieve Bill Pay CounterpartyBillPayApiget_bill_pay_payment_by_idGET/billpay/payment/{billpay_payment_id}Retrieve PaymentBillPayApiget_bill_pay_rule_by_idGET/billpay/rule/{billpay_rule_id}Retrieve RuleBillPayApiupdate_bill_pay_payment_by_idPATCH/billpay/payment/{billpay_payment_id}Update PaymentBillPayApiupdate_bill_pay_rule_by_idPATCH/billpay/rule/{billpay_rule_id}Update RuleBookApicreate_book_transferPOST/bookCreate Book TransferBookApiget_all_book_transfersGET/bookRetrieve All Book TransfersBookApiget_book_transfer_by_idGET/book/{book_id}Retrieve Book TransferBookApiupdate_book_transfer_by_idPATCH/book/{book_id}Update Book TransferBusinessApiget_business_by_idGET/business/{business_id}Retrieve BusinessBusinessApplicationApicreate_business_applicationPOST/apply/business_applicationCreate Business ApplicationBusinessApplicationApiget_all_business_applicationsGET/apply/business_applicationRetrieve All Business ApplicationsBusinessApplicationApiget_business_application_by_idGET/apply/business_application/{business_application_id}Retrieve Business ApplicationBusinessApplicationApiupdate_business_application_by_idPATCH/apply/business_application/{business_application_id}Update Business ApplicationCardAuthLoopEndpointApicreate_card_auth_loop_endpointPOST/card_auth_loop_endpointCreate Card Auth Loop EndpointCardAuthLoopEndpointApidelete_card_auth_loop_endpoint_by_idDELETE/card_auth_loop_endpoint/{card_auth_loop_endpoint_id}Delete a Card Auth Loop EndpointCardAuthLoopEndpointApiget_all_card_auth_loop_endpointGET/card_auth_loop_endpointRetrieve All Card Auth Loop EndpointsCardAuthLoopEndpointApiget_card_auth_loop_endpoint_by_idGET/card_auth_loop_endpoint/{card_auth_loop_endpoint_id}Retrieve a Card Auth Loop EndpointCardAuthLoopEndpointApiupdate_card_auth_loop_endpoint_by_idPATCH/card_auth_loop_endpoint/{card_auth_loop_endpoint_id}Update a Card Auth Loop EndpointCardChargeApicreate_card_chargePOST/card/chargeCreate Card ChargeCardChargeApiget_all_card_chargesGET/card/chargeRetrieve all Card ChargesCardEventApiget_all_card_eventsGET/card_eventRetrieve All Card EventsCardEventApiget_card_event_by_idGET/card_event/{card_event_id}Retrieve Card EventCardProductApiget_all_card_productsGET/cardproductRetrieve All Card ProductsCardProductApiget_card_product_by_idGET/cardproduct/{card_product_id}Retrieve Card ProductCardProductApiupdate_card_product_by_idPATCH/cardproduct/{card_product_id}Update Card ProductCardsApicreate_apple_pay_digital_wallet_token_by_card_idPOST/card/{card_id}/digital_wallet_token/apple_payProvision Apply PayCardsApicreate_cardPOST/cardCreate CardCardsApicreate_card_auth_loop_endpointPOST/card_auth_loop_endpointCreate Card Auth Loop EndpointCardsApicreate_card_by_person_idPOST/person/{person_id}/cardIssue New CardCardsApicreate_google_pay_digital_wallet_token_by_card_idPOST/card/{card_id}/digital_wallet_token/google_payProvision Google PayCardsApidelete_card_auth_loop_endpoint_by_idDELETE/card_auth_loop_endpoint/{card_auth_loop_endpoint_id}Delete a Card Auth Loop EndpointCardsApiget_all_card_auth_loop_endpointGET/card_auth_loop_endpointRetrieve All Card Auth Loop EndpointsCardsApiget_all_card_eventsGET/card_eventRetrieve All Card EventsCardsApiget_all_card_productsGET/cardproductRetrieve All Card ProductsCardsApiget_all_cardsGET/cardRetrieve All CardsCardsApiget_all_cards_by_person_idGET/person/{person_id}/cardRetrieve All Person CardsCardsApiget_card_auth_loop_endpoint_by_idGET/card_auth_loop_endpoint/{card_auth_loop_endpoint_id}Retrieve a Card Auth Loop EndpointCardsApiget_card_by_idGET/card/{card_id}Retrieve CardCardsApiget_card_by_person_id_and_card_idGET/person/{person_id}/card/{card_id}Retrieve CardCardsApiget_card_event_by_idGET/card_event/{card_event_id}Retrieve Card EventCardsApiget_card_product_by_idGET/cardproduct/{card_product_id}Retrieve Card ProductCardsApiget_marqueta_token_by_card_idGET/card/{card_id}/tokenRequest Client Access TokenCardsApiupdate_card_auth_loop_endpoint_by_idPATCH/card_auth_loop_endpoint/{card_auth_loop_endpoint_id}Update a Card Auth Loop EndpointCardsApiupdate_card_by_idPATCH/card/{card_id}Remove Card ControlsCardsApiupdate_card_product_by_idPATCH/cardproduct/{card_product_id}Update Card ProductCheckDepositApicreate_check_depositPOST/check_depositCreate Check DepositCheckDepositApiget_all_check_depositsGET/check_depositRetrieve all Check DepositsCheckDepositApiget_check_deposit_by_idGET/check_deposit/{check_id}Retrieve Check DepositCheckImageApiget_all_check_imagesGET/check_imageList All Check ImagesCheckImageApiget_check_image_by_idGET/check_image/{check_image_id}Retrieve Check ImageCheckIssuingApicreate_checkPOST/checkCreate CheckCheckIssuingApiget_all_checksGET/checkRetrieve all ChecksCheckIssuingApiget_check_by_idGET/check/{check_id}Retrieve CheckCounterpartiesApicreate_counterpartyPOST/counterpartyCreate CounterpartyCounterpartiesApiget_all_counterpartiesGET/counterpartyRetrieve All CounterpartiesCounterpartiesApiget_counterparty_by_idGET/counterparty/{counterparty_id}Retrieve CounterpartyCounterpartiesApiupdate_counterparty_by_idPATCH/counterparty/{counterparty_id}Update CounterpartyDailyBalanceApiget_daily_account_balance_by_idGET/account/{account_id}/daily_balanceList Daily BalancesDepositApicreate_depositPOST/apply/depositCreate DepositDepositApiget_all_depositsGET/apply/depositRetrieve All DepositsDepositApiget_deposit_by_idGET/apply/deposit/{deposit_id}Retrieve a DepositDigitalWalletTokensApicreate_apple_pay_digital_wallet_token_by_card_idPOST/card/{card_id}/digital_wallet_token/apple_payProvision Apply PayDigitalWalletTokensApicreate_google_pay_digital_wallet_token_by_card_idPOST/card/{card_id}/digital_wallet_token/google_payProvision Google PayDocumentApicreate_documentPOST/documentCreate a DocumentDocumentApiget_all_documentsGET/documentList All DocumentsDocumentApiget_document_by_idGET/document/{document_id}Retrieve a DocumentDocumentApiupdate_document_by_idPATCH/document/{document_id}Update a DocumentFileUploadApicreate_filePOST/fileCreate FileFileUploadApiget_file_by_idGET/file/{file_id}Get FileIncomingWireApiget_all_incoming_wiresGET/incoming_wireRetrieve All Incoming WiresIncomingWireApiget_incoming_wire_by_idGET/incoming_wire/{incoming_wire_id}Retrieve Incoming WireKYCApicreate_kyc_evaluationPOST/apply/kycCreate KYC EvaluationKYCApiget_all_kyc_evaluationsGET/apply/kycRetrieve All KYCKYCApiget_all_kyc_productsGET/apply/kyc_productRetrieve All KYC ProductsKYCApiget_kyc_evaluation_by_idGET/apply/kyc/{kyc_id}Retrieve KYC EvaluationKYCProductApiget_kyc_product_by_idGET/apply/kyc_product/{kyc_product_id}Retrieve a KYC ProductMarqetaJSApiget_marqueta_token_by_card_idGET/card/{card_id}/tokenRequest Client Access TokenPaymentsApicreate_ach_transferPOST/achCreate ACHPaymentsApicreate_bill_pay_counterpartyPOST/billpay/counterpartyCreate Bill Pay CounterpartyPaymentsApicreate_bill_pay_paymentPOST/billpay/paymentCreate PaymentPaymentsApicreate_bill_pay_rulePOST/billpay/ruleCreate RulePaymentsApicreate_book_transferPOST/bookCreate Book TransferPaymentsApicreate_card_chargePOST/card/chargeCreate Card ChargePaymentsApicreate_checkPOST/checkCreate CheckPaymentsApicreate_check_depositPOST/check_depositCreate Check DepositPaymentsApicreate_counterpartyPOST/counterpartyCreate CounterpartyPaymentsApicreate_wirePOST/wireCreate WirePaymentsApiget_ach_transfer_by_idGET/ach/{ach_id}Retrieve ACHPaymentsApiget_all_ach_transfersGET/achRetrieve All ACHPaymentsApiget_all_bill_pay_counterpartiesGET/billpay/counterpartyList all Bill Pay CounterpartiesPaymentsApiget_all_bill_pay_merchantsGET/billpay/merchantSearch for MerchantPaymentsApiget_all_bill_pay_paymentsGET/billpay/paymentRetrieve all PaymentsPaymentsApiget_all_bill_pay_rulesGET/billpay/ruleList All RulesPaymentsApiget_all_book_transfersGET/bookRetrieve All Book TransfersPaymentsApiget_all_card_chargesGET/card/chargeRetrieve all Card ChargesPaymentsApiget_all_check_depositsGET/check_depositRetrieve all Check DepositsPaymentsApiget_all_checksGET/checkRetrieve all ChecksPaymentsApiget_all_counterpartiesGET/counterpartyRetrieve All CounterpartiesPaymentsApiget_all_incoming_wiresGET/incoming_wireRetrieve All Incoming WiresPaymentsApiget_all_wiresGET/wireRetrieve All WiresPaymentsApiget_bill_pay_counterparty_by_idGET/billpay/counterparty/{billpay_counterparty_id}Retrieve Bill Pay CounterpartyPaymentsApiget_bill_pay_payment_by_idGET/billpay/payment/{billpay_payment_id}Retrieve PaymentPaymentsApiget_bill_pay_rule_by_idGET/billpay/rule/{billpay_rule_id}Retrieve RulePaymentsApiget_book_transfer_by_idGET/book/{book_id}Retrieve Book TransferPaymentsApiget_check_by_idGET/check/{check_id}Retrieve CheckPaymentsApiget_check_deposit_by_idGET/check_deposit/{check_id}Retrieve Check DepositPaymentsApiget_counterparty_by_idGET/counterparty/{counterparty_id}Retrieve CounterpartyPaymentsApiget_incoming_wire_by_idGET/incoming_wire/{incoming_wire_id}Retrieve Incoming WirePaymentsApiget_wire_by_idGET/wire/{wire_id}Retrieve WirePaymentsApiupdate_ach_transfer_by_idPATCH/ach/{ach_id}Update ACHPaymentsApiupdate_bill_pay_payment_by_idPATCH/billpay/payment/{billpay_payment_id}Update PaymentPaymentsApiupdate_bill_pay_rule_by_idPATCH/billpay/rule/{billpay_rule_id}Update RulePaymentsApiupdate_book_transfer_by_idPATCH/book/{book_id}Update Book TransferPaymentsApiupdate_counterparty_by_idPATCH/counterparty/{counterparty_id}Update CounterpartyPaymentsApiupdate_wire_by_idPATCH/wire/{wire_id}Update WirePersonApicreate_card_by_person_idPOST/person/{person_id}/cardIssue New CardPersonApiget_all_cards_by_person_idGET/person/{person_id}/cardRetrieve All Person CardsPersonApiget_card_by_person_id_and_card_idGET/person/{person_id}/card/{card_id}Retrieve CardPersonApiget_person_by_idGET/person/{person_id}Retrieve PersonPersonApiupdate_person_by_idPATCH/person/{person_id}Update PersonPersonApplicationApicreate_person_applicationPOST/apply/person_applicationCreate Person ApplicationPersonApplicationApiget_all_person_applicationsGET/apply/person_applicationRetrieve All Person ApplicationsPersonApplicationApiget_person_application_by_idGET/apply/person_application/{person_application_id}Retrieve Person ApplicationReserveApicreate_reservePOST/reserveCreate a ReserveReserveApidelete_reserve_by_idDELETE/reserve/{reserve_id}Delete a ReserveReserveApiget_all_reservesGET/reserveRetrieve all ReservesReserveApiget_reserve_by_idGET/reserve/{reserve_id}Retrieve ReserveReserveApiupdate_reserve_by_idPATCH/reserve/{reserve_id}Update ReserveRoutingNumberApiget_routing_numberGET/routing_number/{routing_number}Retrieve a Routing NumberSearchApisearchGET/searchSearchSettingsApiget_settingGET/settingRetrieve SettingSimulationsApisimulation_postPOST/simulationCreate a Wire simulation sentStatementApicreate_statement_configPOST/statement_configCreate Statement Config CopyStatementApiget_account_statement_by_id_and_dateGET/account/{account_id}/statementRetrieve StatementStatementApiget_all_statement_configsGET/statement_configRetrieve All Statement ConfigsStatementApiupdate_statement_config_by_idPATCH/statement_config/{statement_config_id}Update Statement Config CopyTransactionApiget_all_transactionsGET/transactionRetrieve All TransactionsTransactionApiget_all_transactions_by_accountGET/account/{account_id}/transactionRetrieve All Account TransactionsTransactionApiget_transaction_by_idGET/transaction/{transaction_id}Retrieve a TransactionUtilitiesApicreate_documentPOST/documentCreate a DocumentUtilitiesApicreate_filePOST/fileCreate FileUtilitiesApicreate_webhookPOST/webhookCreate WebhookUtilitiesApidelete_webhook_by_idDELETE/webhook/{webhook_id}Delete WebhookUtilitiesApiget_all_documentsGET/documentList All DocumentsUtilitiesApiget_all_webhooksGET/webhookRetrieve All WebhooksUtilitiesApiget_document_by_idGET/document/{document_id}Retrieve a DocumentUtilitiesApiget_file_by_idGET/file/{file_id}Get FileUtilitiesApiget_routing_numberGET/routing_number/{routing_number}Retrieve a Routing NumberUtilitiesApiget_settingGET/settingRetrieve SettingUtilitiesApiget_webhook_by_idGET/webhook/{webhook_id}Retrieve WebhookUtilitiesApisearchGET/searchSearchUtilitiesApiupdate_document_by_idPATCH/document/{document_id}Update a DocumentUtilitiesApiupdate_webhook_by_idPATCH/webhook/{webhook_id}Update WebhookWebhooksApicreate_webhookPOST/webhookCreate WebhookWebhooksApidelete_webhook_by_idDELETE/webhook/{webhook_id}Delete WebhookWebhooksApiget_all_webhooksGET/webhookRetrieve All WebhooksWebhooksApiget_webhook_by_idGET/webhook/{webhook_id}Retrieve WebhookWebhooksApiupdate_webhook_by_idPATCH/webhook/{webhook_id}Update WebhookWireApicreate_wirePOST/wireCreate WireWireApiget_all_wiresGET/wireRetrieve All WiresWireApiget_wire_by_idGET/wire/{wire_id}Retrieve WireWireApiupdate_wire_by_idPATCH/wire/{wire_id}Update WireWireSimulationsApisimulation_postPOST/simulationCreate a Wire simulation sentDefaultApiget_healthGET/pingAPI Health CheckDocumentation For ModelsAccountAccountAddressAccountApplicationAccountApplicationAllOfAccountLockAccountNumberReservationAccountProductAchAchDepositAchDepositAllOfAchDepositAllOfAchAdditionalPersonApplicationApplePayTokenAverageBalanceBaseDepositBillPayCounterpartyBillPayCounterpartyAddressBookTransferBusinessBusinessApplicationBusinessApplicationMailingAddressBusinessApplicationPersonApplicationsInnerBusinessApplicationPhysicalAddressCardCardChargeCardChargeCardCardControlsCardControlsControlsInnerCardDepositCardDepositAllOfCardDepositAllOfCardCardEventCardEventAtmCardEventMerchantCardEventMerchantAddressCardFulfillmentCardLoopAuthEndpointCardProductCardTokenCheckCheckDepositCheckDepositDeviceCheckImageCheckRecipientCheckRecipientAddressCounterpartyCounterpartyAchCounterpartyWireCounterpartyWireAddressOnAccountCounterpartyWireBankAddressCreateApplePayDigitalWalletTokenByCardIdRequestCreateDepositRequestCreateDepositRequestOneOfCreateDepositRequestOneOf1CreateDepositRequestOneOf1AchCreateDepositRequestOneOfCardCreateGooglePayDigitalWalletTokenByCardIdRequestDailyBalanceDepositDocumentDocumentFieldsFileGetAccountStatementByIdAndDate200ResponseGetAllAccountApplications200ResponseGetAllAccountNumberReservations200ResponseGetAllAccountProducts200ResponseGetAllAccounts200ResponseGetAllAccounts200ResponseDataInnerGetAllAccounts400ResponseGetAllAchTransfers200ResponseGetAllAdditionalPersonApplications200ResponseGetAllBillPayCounterparties200ResponseGetAllBillPayMerchants200ResponseGetAllBillPayPayments200ResponseGetAllBillPayRules200ResponseGetAllBookTransfers200ResponseGetAllBusinessApplications200ResponseGetAllCardAuthLoopEndpoint200ResponseGetAllCardCharges200ResponseGetAllCardEvents200ResponseGetAllCardProducts200ResponseGetAllCards200ResponseGetAllCheckDeposits200ResponseGetAllCheckImages200ResponseGetAllChecks200ResponseGetAllCounterparties200ResponseGetAllDeposits200ResponseGetAllDocuments200ResponseGetAllIncomingWires200ResponseGetAllKycEvaluations200ResponseGetAllKycProducts200ResponseGetAllPersonApplications200ResponseGetAllReserves200ResponseGetAllStatementConfigs200ResponseGetAllTransactionsByAccount200ResponseGetAllWebhooks200ResponseGetAllWires200ResponseGetAverageAccountBalanceById200ResponseGetDailyAccountBalanceById200ResponseGetHealth200ResponseGooglePayTokenGooglePayTokenPushTokenizeRequestDataGooglePayTokenPushTokenizeRequestDataUserAddressIncomingWireIncomingWireBeneficiaryIncomingWireBeneficiaryBankDataIncomingWireImadIncomingWireImadParsedIncomingWireOriginatorIncomingWireOriginatorBankDataKycEvaluationKycEvaluationAllOfKycProductLockAccountLockAccountLockMerchantMerchantRestrictionPaymentPersonPersonApplicationPersonApplicationMailingAddressPersonApplicationPhysicalAddressPersonBankdataPersonMailingAddressQueryResultReserveRoutingNumberRuleSearch200ResponseSettingSimulationPostRequestSimulationPostRequestOneOfSimulationPostRequestOneOf1SimulationPostRequestOneOf1SimulationSimulationPostRequestOneOf1SimulationAtmSimulationPostRequestOneOf2SimulationPostRequestOneOf2SimulationSimulationPostRequestOneOf3SimulationPostRequestOneOf4SimulationPostRequestOneOf5SimulationPostRequestOneOf5SimulationSimulationPostRequestOneOf6SimulationPostRequestOneOf7SimulationPostRequestOneOf7SimulationSimulationPostRequestOneOf8SimulationPostRequestOneOf8SimulationSimulationPostRequestOneOf9SimulationPostRequestOneOfSimulationSimulationPostRequestOneOfSimulationMerchantSimulationPostRequestOneOfSimulationMerchantAddressSpendVelocityRestrictionStatementConfigTransactionTransactionIncomingWireUnlockAccountUpdateAccountRequestUpdateAccountStatusUpdateAchTransferByIdRequestUpdateBillPayPaymentByIdRequestUpdateBillPayRuleByIdRequestUpdateBookTransferByIdRequestUpdateBusinessApplicationByIdRequestUpdateCardByIdRequestUpdateDocumentByIdRequestUpdateReserveByIdRequestUpdateUserDataUpdateWebhookByIdRequestUpdateWebhookByIdRequestAllOfUpdateWireByIdRequestWebhookWireWithdrawalVelocityRestrictionDocumentation For AuthorizationbasicAuthType: HTTP basic authenticationAuthorhelp@treasuryprime.comNotes for Large OpenAPI documentsIf the OpenAPI document is large, imports in treasury_prime_client.apis and treasury_prime_client.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:Solution 1:
Use specific imports for apis and models like:from treasury_prime_client.api.default_api import DefaultApifrom treasury_prime_client.model.pet import PetSolution 2:
Before importing the package, adjust the maximum recursion limit as shown below:import sys
sys.setrecursionlimit(1500)
import treasury_prime_client
from treasury_prime_client.apis import *
from treasury_prime_client.models import *