This commit is contained in:
Iliyan Angelov
2025-11-17 18:26:30 +02:00
parent 48353cde9c
commit 0c59fe1173
2535 changed files with 278997 additions and 2480 deletions

View File

@@ -0,0 +1,893 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from importlib import import_module
from typing_extensions import TYPE_CHECKING
if TYPE_CHECKING:
from stripe.params.treasury._credit_reversal_create_params import (
CreditReversalCreateParams as CreditReversalCreateParams,
)
from stripe.params.treasury._credit_reversal_list_params import (
CreditReversalListParams as CreditReversalListParams,
)
from stripe.params.treasury._credit_reversal_retrieve_params import (
CreditReversalRetrieveParams as CreditReversalRetrieveParams,
)
from stripe.params.treasury._debit_reversal_create_params import (
DebitReversalCreateParams as DebitReversalCreateParams,
)
from stripe.params.treasury._debit_reversal_list_params import (
DebitReversalListParams as DebitReversalListParams,
)
from stripe.params.treasury._debit_reversal_retrieve_params import (
DebitReversalRetrieveParams as DebitReversalRetrieveParams,
)
from stripe.params.treasury._financial_account_close_params import (
FinancialAccountCloseParams as FinancialAccountCloseParams,
FinancialAccountCloseParamsForwardingSettings as FinancialAccountCloseParamsForwardingSettings,
)
from stripe.params.treasury._financial_account_create_params import (
FinancialAccountCreateParams as FinancialAccountCreateParams,
FinancialAccountCreateParamsFeatures as FinancialAccountCreateParamsFeatures,
FinancialAccountCreateParamsFeaturesCardIssuing as FinancialAccountCreateParamsFeaturesCardIssuing,
FinancialAccountCreateParamsFeaturesDepositInsurance as FinancialAccountCreateParamsFeaturesDepositInsurance,
FinancialAccountCreateParamsFeaturesFinancialAddresses as FinancialAccountCreateParamsFeaturesFinancialAddresses,
FinancialAccountCreateParamsFeaturesFinancialAddressesAba as FinancialAccountCreateParamsFeaturesFinancialAddressesAba,
FinancialAccountCreateParamsFeaturesInboundTransfers as FinancialAccountCreateParamsFeaturesInboundTransfers,
FinancialAccountCreateParamsFeaturesInboundTransfersAch as FinancialAccountCreateParamsFeaturesInboundTransfersAch,
FinancialAccountCreateParamsFeaturesIntraStripeFlows as FinancialAccountCreateParamsFeaturesIntraStripeFlows,
FinancialAccountCreateParamsFeaturesOutboundPayments as FinancialAccountCreateParamsFeaturesOutboundPayments,
FinancialAccountCreateParamsFeaturesOutboundPaymentsAch as FinancialAccountCreateParamsFeaturesOutboundPaymentsAch,
FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire as FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire,
FinancialAccountCreateParamsFeaturesOutboundTransfers as FinancialAccountCreateParamsFeaturesOutboundTransfers,
FinancialAccountCreateParamsFeaturesOutboundTransfersAch as FinancialAccountCreateParamsFeaturesOutboundTransfersAch,
FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire as FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire,
FinancialAccountCreateParamsPlatformRestrictions as FinancialAccountCreateParamsPlatformRestrictions,
)
from stripe.params.treasury._financial_account_features_retrieve_params import (
FinancialAccountFeaturesRetrieveParams as FinancialAccountFeaturesRetrieveParams,
)
from stripe.params.treasury._financial_account_features_update_params import (
FinancialAccountFeaturesUpdateParams as FinancialAccountFeaturesUpdateParams,
FinancialAccountFeaturesUpdateParamsCardIssuing as FinancialAccountFeaturesUpdateParamsCardIssuing,
FinancialAccountFeaturesUpdateParamsDepositInsurance as FinancialAccountFeaturesUpdateParamsDepositInsurance,
FinancialAccountFeaturesUpdateParamsFinancialAddresses as FinancialAccountFeaturesUpdateParamsFinancialAddresses,
FinancialAccountFeaturesUpdateParamsFinancialAddressesAba as FinancialAccountFeaturesUpdateParamsFinancialAddressesAba,
FinancialAccountFeaturesUpdateParamsInboundTransfers as FinancialAccountFeaturesUpdateParamsInboundTransfers,
FinancialAccountFeaturesUpdateParamsInboundTransfersAch as FinancialAccountFeaturesUpdateParamsInboundTransfersAch,
FinancialAccountFeaturesUpdateParamsIntraStripeFlows as FinancialAccountFeaturesUpdateParamsIntraStripeFlows,
FinancialAccountFeaturesUpdateParamsOutboundPayments as FinancialAccountFeaturesUpdateParamsOutboundPayments,
FinancialAccountFeaturesUpdateParamsOutboundPaymentsAch as FinancialAccountFeaturesUpdateParamsOutboundPaymentsAch,
FinancialAccountFeaturesUpdateParamsOutboundPaymentsUsDomesticWire as FinancialAccountFeaturesUpdateParamsOutboundPaymentsUsDomesticWire,
FinancialAccountFeaturesUpdateParamsOutboundTransfers as FinancialAccountFeaturesUpdateParamsOutboundTransfers,
FinancialAccountFeaturesUpdateParamsOutboundTransfersAch as FinancialAccountFeaturesUpdateParamsOutboundTransfersAch,
FinancialAccountFeaturesUpdateParamsOutboundTransfersUsDomesticWire as FinancialAccountFeaturesUpdateParamsOutboundTransfersUsDomesticWire,
)
from stripe.params.treasury._financial_account_list_params import (
FinancialAccountListParams as FinancialAccountListParams,
FinancialAccountListParamsCreated as FinancialAccountListParamsCreated,
)
from stripe.params.treasury._financial_account_modify_params import (
FinancialAccountModifyParams as FinancialAccountModifyParams,
FinancialAccountModifyParamsFeatures as FinancialAccountModifyParamsFeatures,
FinancialAccountModifyParamsFeaturesCardIssuing as FinancialAccountModifyParamsFeaturesCardIssuing,
FinancialAccountModifyParamsFeaturesDepositInsurance as FinancialAccountModifyParamsFeaturesDepositInsurance,
FinancialAccountModifyParamsFeaturesFinancialAddresses as FinancialAccountModifyParamsFeaturesFinancialAddresses,
FinancialAccountModifyParamsFeaturesFinancialAddressesAba as FinancialAccountModifyParamsFeaturesFinancialAddressesAba,
FinancialAccountModifyParamsFeaturesInboundTransfers as FinancialAccountModifyParamsFeaturesInboundTransfers,
FinancialAccountModifyParamsFeaturesInboundTransfersAch as FinancialAccountModifyParamsFeaturesInboundTransfersAch,
FinancialAccountModifyParamsFeaturesIntraStripeFlows as FinancialAccountModifyParamsFeaturesIntraStripeFlows,
FinancialAccountModifyParamsFeaturesOutboundPayments as FinancialAccountModifyParamsFeaturesOutboundPayments,
FinancialAccountModifyParamsFeaturesOutboundPaymentsAch as FinancialAccountModifyParamsFeaturesOutboundPaymentsAch,
FinancialAccountModifyParamsFeaturesOutboundPaymentsUsDomesticWire as FinancialAccountModifyParamsFeaturesOutboundPaymentsUsDomesticWire,
FinancialAccountModifyParamsFeaturesOutboundTransfers as FinancialAccountModifyParamsFeaturesOutboundTransfers,
FinancialAccountModifyParamsFeaturesOutboundTransfersAch as FinancialAccountModifyParamsFeaturesOutboundTransfersAch,
FinancialAccountModifyParamsFeaturesOutboundTransfersUsDomesticWire as FinancialAccountModifyParamsFeaturesOutboundTransfersUsDomesticWire,
FinancialAccountModifyParamsForwardingSettings as FinancialAccountModifyParamsForwardingSettings,
FinancialAccountModifyParamsPlatformRestrictions as FinancialAccountModifyParamsPlatformRestrictions,
)
from stripe.params.treasury._financial_account_retrieve_features_params import (
FinancialAccountRetrieveFeaturesParams as FinancialAccountRetrieveFeaturesParams,
)
from stripe.params.treasury._financial_account_retrieve_params import (
FinancialAccountRetrieveParams as FinancialAccountRetrieveParams,
)
from stripe.params.treasury._financial_account_update_features_params import (
FinancialAccountUpdateFeaturesParams as FinancialAccountUpdateFeaturesParams,
FinancialAccountUpdateFeaturesParamsCardIssuing as FinancialAccountUpdateFeaturesParamsCardIssuing,
FinancialAccountUpdateFeaturesParamsDepositInsurance as FinancialAccountUpdateFeaturesParamsDepositInsurance,
FinancialAccountUpdateFeaturesParamsFinancialAddresses as FinancialAccountUpdateFeaturesParamsFinancialAddresses,
FinancialAccountUpdateFeaturesParamsFinancialAddressesAba as FinancialAccountUpdateFeaturesParamsFinancialAddressesAba,
FinancialAccountUpdateFeaturesParamsInboundTransfers as FinancialAccountUpdateFeaturesParamsInboundTransfers,
FinancialAccountUpdateFeaturesParamsInboundTransfersAch as FinancialAccountUpdateFeaturesParamsInboundTransfersAch,
FinancialAccountUpdateFeaturesParamsIntraStripeFlows as FinancialAccountUpdateFeaturesParamsIntraStripeFlows,
FinancialAccountUpdateFeaturesParamsOutboundPayments as FinancialAccountUpdateFeaturesParamsOutboundPayments,
FinancialAccountUpdateFeaturesParamsOutboundPaymentsAch as FinancialAccountUpdateFeaturesParamsOutboundPaymentsAch,
FinancialAccountUpdateFeaturesParamsOutboundPaymentsUsDomesticWire as FinancialAccountUpdateFeaturesParamsOutboundPaymentsUsDomesticWire,
FinancialAccountUpdateFeaturesParamsOutboundTransfers as FinancialAccountUpdateFeaturesParamsOutboundTransfers,
FinancialAccountUpdateFeaturesParamsOutboundTransfersAch as FinancialAccountUpdateFeaturesParamsOutboundTransfersAch,
FinancialAccountUpdateFeaturesParamsOutboundTransfersUsDomesticWire as FinancialAccountUpdateFeaturesParamsOutboundTransfersUsDomesticWire,
)
from stripe.params.treasury._financial_account_update_params import (
FinancialAccountUpdateParams as FinancialAccountUpdateParams,
FinancialAccountUpdateParamsFeatures as FinancialAccountUpdateParamsFeatures,
FinancialAccountUpdateParamsFeaturesCardIssuing as FinancialAccountUpdateParamsFeaturesCardIssuing,
FinancialAccountUpdateParamsFeaturesDepositInsurance as FinancialAccountUpdateParamsFeaturesDepositInsurance,
FinancialAccountUpdateParamsFeaturesFinancialAddresses as FinancialAccountUpdateParamsFeaturesFinancialAddresses,
FinancialAccountUpdateParamsFeaturesFinancialAddressesAba as FinancialAccountUpdateParamsFeaturesFinancialAddressesAba,
FinancialAccountUpdateParamsFeaturesInboundTransfers as FinancialAccountUpdateParamsFeaturesInboundTransfers,
FinancialAccountUpdateParamsFeaturesInboundTransfersAch as FinancialAccountUpdateParamsFeaturesInboundTransfersAch,
FinancialAccountUpdateParamsFeaturesIntraStripeFlows as FinancialAccountUpdateParamsFeaturesIntraStripeFlows,
FinancialAccountUpdateParamsFeaturesOutboundPayments as FinancialAccountUpdateParamsFeaturesOutboundPayments,
FinancialAccountUpdateParamsFeaturesOutboundPaymentsAch as FinancialAccountUpdateParamsFeaturesOutboundPaymentsAch,
FinancialAccountUpdateParamsFeaturesOutboundPaymentsUsDomesticWire as FinancialAccountUpdateParamsFeaturesOutboundPaymentsUsDomesticWire,
FinancialAccountUpdateParamsFeaturesOutboundTransfers as FinancialAccountUpdateParamsFeaturesOutboundTransfers,
FinancialAccountUpdateParamsFeaturesOutboundTransfersAch as FinancialAccountUpdateParamsFeaturesOutboundTransfersAch,
FinancialAccountUpdateParamsFeaturesOutboundTransfersUsDomesticWire as FinancialAccountUpdateParamsFeaturesOutboundTransfersUsDomesticWire,
FinancialAccountUpdateParamsForwardingSettings as FinancialAccountUpdateParamsForwardingSettings,
FinancialAccountUpdateParamsPlatformRestrictions as FinancialAccountUpdateParamsPlatformRestrictions,
)
from stripe.params.treasury._inbound_transfer_cancel_params import (
InboundTransferCancelParams as InboundTransferCancelParams,
)
from stripe.params.treasury._inbound_transfer_create_params import (
InboundTransferCreateParams as InboundTransferCreateParams,
)
from stripe.params.treasury._inbound_transfer_fail_params import (
InboundTransferFailParams as InboundTransferFailParams,
InboundTransferFailParamsFailureDetails as InboundTransferFailParamsFailureDetails,
)
from stripe.params.treasury._inbound_transfer_list_params import (
InboundTransferListParams as InboundTransferListParams,
)
from stripe.params.treasury._inbound_transfer_retrieve_params import (
InboundTransferRetrieveParams as InboundTransferRetrieveParams,
)
from stripe.params.treasury._inbound_transfer_return_inbound_transfer_params import (
InboundTransferReturnInboundTransferParams as InboundTransferReturnInboundTransferParams,
)
from stripe.params.treasury._inbound_transfer_succeed_params import (
InboundTransferSucceedParams as InboundTransferSucceedParams,
)
from stripe.params.treasury._outbound_payment_cancel_params import (
OutboundPaymentCancelParams as OutboundPaymentCancelParams,
)
from stripe.params.treasury._outbound_payment_create_params import (
OutboundPaymentCreateParams as OutboundPaymentCreateParams,
OutboundPaymentCreateParamsDestinationPaymentMethodData as OutboundPaymentCreateParamsDestinationPaymentMethodData,
OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetails as OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetails,
OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetailsAddress as OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetailsAddress,
OutboundPaymentCreateParamsDestinationPaymentMethodDataUsBankAccount as OutboundPaymentCreateParamsDestinationPaymentMethodDataUsBankAccount,
OutboundPaymentCreateParamsDestinationPaymentMethodOptions as OutboundPaymentCreateParamsDestinationPaymentMethodOptions,
OutboundPaymentCreateParamsDestinationPaymentMethodOptionsUsBankAccount as OutboundPaymentCreateParamsDestinationPaymentMethodOptionsUsBankAccount,
OutboundPaymentCreateParamsEndUserDetails as OutboundPaymentCreateParamsEndUserDetails,
)
from stripe.params.treasury._outbound_payment_fail_params import (
OutboundPaymentFailParams as OutboundPaymentFailParams,
)
from stripe.params.treasury._outbound_payment_list_params import (
OutboundPaymentListParams as OutboundPaymentListParams,
OutboundPaymentListParamsCreated as OutboundPaymentListParamsCreated,
)
from stripe.params.treasury._outbound_payment_post_params import (
OutboundPaymentPostParams as OutboundPaymentPostParams,
)
from stripe.params.treasury._outbound_payment_retrieve_params import (
OutboundPaymentRetrieveParams as OutboundPaymentRetrieveParams,
)
from stripe.params.treasury._outbound_payment_return_outbound_payment_params import (
OutboundPaymentReturnOutboundPaymentParams as OutboundPaymentReturnOutboundPaymentParams,
OutboundPaymentReturnOutboundPaymentParamsReturnedDetails as OutboundPaymentReturnOutboundPaymentParamsReturnedDetails,
)
from stripe.params.treasury._outbound_payment_update_params import (
OutboundPaymentUpdateParams as OutboundPaymentUpdateParams,
OutboundPaymentUpdateParamsTrackingDetails as OutboundPaymentUpdateParamsTrackingDetails,
OutboundPaymentUpdateParamsTrackingDetailsAch as OutboundPaymentUpdateParamsTrackingDetailsAch,
OutboundPaymentUpdateParamsTrackingDetailsUsDomesticWire as OutboundPaymentUpdateParamsTrackingDetailsUsDomesticWire,
)
from stripe.params.treasury._outbound_transfer_cancel_params import (
OutboundTransferCancelParams as OutboundTransferCancelParams,
)
from stripe.params.treasury._outbound_transfer_create_params import (
OutboundTransferCreateParams as OutboundTransferCreateParams,
OutboundTransferCreateParamsDestinationPaymentMethodData as OutboundTransferCreateParamsDestinationPaymentMethodData,
OutboundTransferCreateParamsDestinationPaymentMethodOptions as OutboundTransferCreateParamsDestinationPaymentMethodOptions,
OutboundTransferCreateParamsDestinationPaymentMethodOptionsUsBankAccount as OutboundTransferCreateParamsDestinationPaymentMethodOptionsUsBankAccount,
)
from stripe.params.treasury._outbound_transfer_fail_params import (
OutboundTransferFailParams as OutboundTransferFailParams,
)
from stripe.params.treasury._outbound_transfer_list_params import (
OutboundTransferListParams as OutboundTransferListParams,
)
from stripe.params.treasury._outbound_transfer_post_params import (
OutboundTransferPostParams as OutboundTransferPostParams,
)
from stripe.params.treasury._outbound_transfer_retrieve_params import (
OutboundTransferRetrieveParams as OutboundTransferRetrieveParams,
)
from stripe.params.treasury._outbound_transfer_return_outbound_transfer_params import (
OutboundTransferReturnOutboundTransferParams as OutboundTransferReturnOutboundTransferParams,
OutboundTransferReturnOutboundTransferParamsReturnedDetails as OutboundTransferReturnOutboundTransferParamsReturnedDetails,
)
from stripe.params.treasury._outbound_transfer_update_params import (
OutboundTransferUpdateParams as OutboundTransferUpdateParams,
OutboundTransferUpdateParamsTrackingDetails as OutboundTransferUpdateParamsTrackingDetails,
OutboundTransferUpdateParamsTrackingDetailsAch as OutboundTransferUpdateParamsTrackingDetailsAch,
OutboundTransferUpdateParamsTrackingDetailsUsDomesticWire as OutboundTransferUpdateParamsTrackingDetailsUsDomesticWire,
)
from stripe.params.treasury._received_credit_create_params import (
ReceivedCreditCreateParams as ReceivedCreditCreateParams,
ReceivedCreditCreateParamsInitiatingPaymentMethodDetails as ReceivedCreditCreateParamsInitiatingPaymentMethodDetails,
ReceivedCreditCreateParamsInitiatingPaymentMethodDetailsUsBankAccount as ReceivedCreditCreateParamsInitiatingPaymentMethodDetailsUsBankAccount,
)
from stripe.params.treasury._received_credit_list_params import (
ReceivedCreditListParams as ReceivedCreditListParams,
ReceivedCreditListParamsLinkedFlows as ReceivedCreditListParamsLinkedFlows,
)
from stripe.params.treasury._received_credit_retrieve_params import (
ReceivedCreditRetrieveParams as ReceivedCreditRetrieveParams,
)
from stripe.params.treasury._received_debit_create_params import (
ReceivedDebitCreateParams as ReceivedDebitCreateParams,
ReceivedDebitCreateParamsInitiatingPaymentMethodDetails as ReceivedDebitCreateParamsInitiatingPaymentMethodDetails,
ReceivedDebitCreateParamsInitiatingPaymentMethodDetailsUsBankAccount as ReceivedDebitCreateParamsInitiatingPaymentMethodDetailsUsBankAccount,
)
from stripe.params.treasury._received_debit_list_params import (
ReceivedDebitListParams as ReceivedDebitListParams,
)
from stripe.params.treasury._received_debit_retrieve_params import (
ReceivedDebitRetrieveParams as ReceivedDebitRetrieveParams,
)
from stripe.params.treasury._transaction_entry_list_params import (
TransactionEntryListParams as TransactionEntryListParams,
TransactionEntryListParamsCreated as TransactionEntryListParamsCreated,
TransactionEntryListParamsEffectiveAt as TransactionEntryListParamsEffectiveAt,
)
from stripe.params.treasury._transaction_entry_retrieve_params import (
TransactionEntryRetrieveParams as TransactionEntryRetrieveParams,
)
from stripe.params.treasury._transaction_list_params import (
TransactionListParams as TransactionListParams,
TransactionListParamsCreated as TransactionListParamsCreated,
TransactionListParamsStatusTransitions as TransactionListParamsStatusTransitions,
TransactionListParamsStatusTransitionsPostedAt as TransactionListParamsStatusTransitionsPostedAt,
)
from stripe.params.treasury._transaction_retrieve_params import (
TransactionRetrieveParams as TransactionRetrieveParams,
)
# name -> (import_target, is_submodule)
_import_map = {
"CreditReversalCreateParams": (
"stripe.params.treasury._credit_reversal_create_params",
False,
),
"CreditReversalListParams": (
"stripe.params.treasury._credit_reversal_list_params",
False,
),
"CreditReversalRetrieveParams": (
"stripe.params.treasury._credit_reversal_retrieve_params",
False,
),
"DebitReversalCreateParams": (
"stripe.params.treasury._debit_reversal_create_params",
False,
),
"DebitReversalListParams": (
"stripe.params.treasury._debit_reversal_list_params",
False,
),
"DebitReversalRetrieveParams": (
"stripe.params.treasury._debit_reversal_retrieve_params",
False,
),
"FinancialAccountCloseParams": (
"stripe.params.treasury._financial_account_close_params",
False,
),
"FinancialAccountCloseParamsForwardingSettings": (
"stripe.params.treasury._financial_account_close_params",
False,
),
"FinancialAccountCreateParams": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeatures": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesCardIssuing": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesDepositInsurance": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesFinancialAddresses": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesFinancialAddressesAba": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesInboundTransfers": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesInboundTransfersAch": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesIntraStripeFlows": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesOutboundPayments": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesOutboundPaymentsAch": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesOutboundTransfers": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesOutboundTransfersAch": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountCreateParamsPlatformRestrictions": (
"stripe.params.treasury._financial_account_create_params",
False,
),
"FinancialAccountFeaturesRetrieveParams": (
"stripe.params.treasury._financial_account_features_retrieve_params",
False,
),
"FinancialAccountFeaturesUpdateParams": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsCardIssuing": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsDepositInsurance": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsFinancialAddresses": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsFinancialAddressesAba": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsInboundTransfers": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsInboundTransfersAch": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsIntraStripeFlows": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsOutboundPayments": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsOutboundPaymentsAch": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsOutboundPaymentsUsDomesticWire": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsOutboundTransfers": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsOutboundTransfersAch": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountFeaturesUpdateParamsOutboundTransfersUsDomesticWire": (
"stripe.params.treasury._financial_account_features_update_params",
False,
),
"FinancialAccountListParams": (
"stripe.params.treasury._financial_account_list_params",
False,
),
"FinancialAccountListParamsCreated": (
"stripe.params.treasury._financial_account_list_params",
False,
),
"FinancialAccountModifyParams": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeatures": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesCardIssuing": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesDepositInsurance": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesFinancialAddresses": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesFinancialAddressesAba": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesInboundTransfers": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesInboundTransfersAch": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesIntraStripeFlows": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesOutboundPayments": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesOutboundPaymentsAch": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesOutboundPaymentsUsDomesticWire": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesOutboundTransfers": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesOutboundTransfersAch": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsFeaturesOutboundTransfersUsDomesticWire": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsForwardingSettings": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountModifyParamsPlatformRestrictions": (
"stripe.params.treasury._financial_account_modify_params",
False,
),
"FinancialAccountRetrieveFeaturesParams": (
"stripe.params.treasury._financial_account_retrieve_features_params",
False,
),
"FinancialAccountRetrieveParams": (
"stripe.params.treasury._financial_account_retrieve_params",
False,
),
"FinancialAccountUpdateFeaturesParams": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsCardIssuing": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsDepositInsurance": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsFinancialAddresses": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsFinancialAddressesAba": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsInboundTransfers": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsInboundTransfersAch": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsIntraStripeFlows": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsOutboundPayments": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsOutboundPaymentsAch": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsOutboundPaymentsUsDomesticWire": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsOutboundTransfers": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsOutboundTransfersAch": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateFeaturesParamsOutboundTransfersUsDomesticWire": (
"stripe.params.treasury._financial_account_update_features_params",
False,
),
"FinancialAccountUpdateParams": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeatures": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesCardIssuing": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesDepositInsurance": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesFinancialAddresses": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesFinancialAddressesAba": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesInboundTransfers": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesInboundTransfersAch": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesIntraStripeFlows": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesOutboundPayments": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesOutboundPaymentsAch": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesOutboundPaymentsUsDomesticWire": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesOutboundTransfers": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesOutboundTransfersAch": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsFeaturesOutboundTransfersUsDomesticWire": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsForwardingSettings": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"FinancialAccountUpdateParamsPlatformRestrictions": (
"stripe.params.treasury._financial_account_update_params",
False,
),
"InboundTransferCancelParams": (
"stripe.params.treasury._inbound_transfer_cancel_params",
False,
),
"InboundTransferCreateParams": (
"stripe.params.treasury._inbound_transfer_create_params",
False,
),
"InboundTransferFailParams": (
"stripe.params.treasury._inbound_transfer_fail_params",
False,
),
"InboundTransferFailParamsFailureDetails": (
"stripe.params.treasury._inbound_transfer_fail_params",
False,
),
"InboundTransferListParams": (
"stripe.params.treasury._inbound_transfer_list_params",
False,
),
"InboundTransferRetrieveParams": (
"stripe.params.treasury._inbound_transfer_retrieve_params",
False,
),
"InboundTransferReturnInboundTransferParams": (
"stripe.params.treasury._inbound_transfer_return_inbound_transfer_params",
False,
),
"InboundTransferSucceedParams": (
"stripe.params.treasury._inbound_transfer_succeed_params",
False,
),
"OutboundPaymentCancelParams": (
"stripe.params.treasury._outbound_payment_cancel_params",
False,
),
"OutboundPaymentCreateParams": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsDestinationPaymentMethodData": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetails": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetailsAddress": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsDestinationPaymentMethodDataUsBankAccount": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsDestinationPaymentMethodOptions": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsDestinationPaymentMethodOptionsUsBankAccount": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentCreateParamsEndUserDetails": (
"stripe.params.treasury._outbound_payment_create_params",
False,
),
"OutboundPaymentFailParams": (
"stripe.params.treasury._outbound_payment_fail_params",
False,
),
"OutboundPaymentListParams": (
"stripe.params.treasury._outbound_payment_list_params",
False,
),
"OutboundPaymentListParamsCreated": (
"stripe.params.treasury._outbound_payment_list_params",
False,
),
"OutboundPaymentPostParams": (
"stripe.params.treasury._outbound_payment_post_params",
False,
),
"OutboundPaymentRetrieveParams": (
"stripe.params.treasury._outbound_payment_retrieve_params",
False,
),
"OutboundPaymentReturnOutboundPaymentParams": (
"stripe.params.treasury._outbound_payment_return_outbound_payment_params",
False,
),
"OutboundPaymentReturnOutboundPaymentParamsReturnedDetails": (
"stripe.params.treasury._outbound_payment_return_outbound_payment_params",
False,
),
"OutboundPaymentUpdateParams": (
"stripe.params.treasury._outbound_payment_update_params",
False,
),
"OutboundPaymentUpdateParamsTrackingDetails": (
"stripe.params.treasury._outbound_payment_update_params",
False,
),
"OutboundPaymentUpdateParamsTrackingDetailsAch": (
"stripe.params.treasury._outbound_payment_update_params",
False,
),
"OutboundPaymentUpdateParamsTrackingDetailsUsDomesticWire": (
"stripe.params.treasury._outbound_payment_update_params",
False,
),
"OutboundTransferCancelParams": (
"stripe.params.treasury._outbound_transfer_cancel_params",
False,
),
"OutboundTransferCreateParams": (
"stripe.params.treasury._outbound_transfer_create_params",
False,
),
"OutboundTransferCreateParamsDestinationPaymentMethodData": (
"stripe.params.treasury._outbound_transfer_create_params",
False,
),
"OutboundTransferCreateParamsDestinationPaymentMethodOptions": (
"stripe.params.treasury._outbound_transfer_create_params",
False,
),
"OutboundTransferCreateParamsDestinationPaymentMethodOptionsUsBankAccount": (
"stripe.params.treasury._outbound_transfer_create_params",
False,
),
"OutboundTransferFailParams": (
"stripe.params.treasury._outbound_transfer_fail_params",
False,
),
"OutboundTransferListParams": (
"stripe.params.treasury._outbound_transfer_list_params",
False,
),
"OutboundTransferPostParams": (
"stripe.params.treasury._outbound_transfer_post_params",
False,
),
"OutboundTransferRetrieveParams": (
"stripe.params.treasury._outbound_transfer_retrieve_params",
False,
),
"OutboundTransferReturnOutboundTransferParams": (
"stripe.params.treasury._outbound_transfer_return_outbound_transfer_params",
False,
),
"OutboundTransferReturnOutboundTransferParamsReturnedDetails": (
"stripe.params.treasury._outbound_transfer_return_outbound_transfer_params",
False,
),
"OutboundTransferUpdateParams": (
"stripe.params.treasury._outbound_transfer_update_params",
False,
),
"OutboundTransferUpdateParamsTrackingDetails": (
"stripe.params.treasury._outbound_transfer_update_params",
False,
),
"OutboundTransferUpdateParamsTrackingDetailsAch": (
"stripe.params.treasury._outbound_transfer_update_params",
False,
),
"OutboundTransferUpdateParamsTrackingDetailsUsDomesticWire": (
"stripe.params.treasury._outbound_transfer_update_params",
False,
),
"ReceivedCreditCreateParams": (
"stripe.params.treasury._received_credit_create_params",
False,
),
"ReceivedCreditCreateParamsInitiatingPaymentMethodDetails": (
"stripe.params.treasury._received_credit_create_params",
False,
),
"ReceivedCreditCreateParamsInitiatingPaymentMethodDetailsUsBankAccount": (
"stripe.params.treasury._received_credit_create_params",
False,
),
"ReceivedCreditListParams": (
"stripe.params.treasury._received_credit_list_params",
False,
),
"ReceivedCreditListParamsLinkedFlows": (
"stripe.params.treasury._received_credit_list_params",
False,
),
"ReceivedCreditRetrieveParams": (
"stripe.params.treasury._received_credit_retrieve_params",
False,
),
"ReceivedDebitCreateParams": (
"stripe.params.treasury._received_debit_create_params",
False,
),
"ReceivedDebitCreateParamsInitiatingPaymentMethodDetails": (
"stripe.params.treasury._received_debit_create_params",
False,
),
"ReceivedDebitCreateParamsInitiatingPaymentMethodDetailsUsBankAccount": (
"stripe.params.treasury._received_debit_create_params",
False,
),
"ReceivedDebitListParams": (
"stripe.params.treasury._received_debit_list_params",
False,
),
"ReceivedDebitRetrieveParams": (
"stripe.params.treasury._received_debit_retrieve_params",
False,
),
"TransactionEntryListParams": (
"stripe.params.treasury._transaction_entry_list_params",
False,
),
"TransactionEntryListParamsCreated": (
"stripe.params.treasury._transaction_entry_list_params",
False,
),
"TransactionEntryListParamsEffectiveAt": (
"stripe.params.treasury._transaction_entry_list_params",
False,
),
"TransactionEntryRetrieveParams": (
"stripe.params.treasury._transaction_entry_retrieve_params",
False,
),
"TransactionListParams": (
"stripe.params.treasury._transaction_list_params",
False,
),
"TransactionListParamsCreated": (
"stripe.params.treasury._transaction_list_params",
False,
),
"TransactionListParamsStatusTransitions": (
"stripe.params.treasury._transaction_list_params",
False,
),
"TransactionListParamsStatusTransitionsPostedAt": (
"stripe.params.treasury._transaction_list_params",
False,
),
"TransactionRetrieveParams": (
"stripe.params.treasury._transaction_retrieve_params",
False,
),
}
if not TYPE_CHECKING:
def __getattr__(name):
try:
target, is_submodule = _import_map[name]
module = import_module(target)
if is_submodule:
return module
return getattr(
module,
name,
)
except KeyError:
raise AttributeError()

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import NotRequired
class CreditReversalCreateParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
received_credit: str
"""
The ReceivedCredit to reverse.
"""

View File

@@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired
class CreditReversalListParams(RequestOptions):
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
received_credit: NotRequired[str]
"""
Only return CreditReversals for the ReceivedCredit ID.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[Literal["canceled", "posted", "processing"]]
"""
Only return CreditReversals for a given status.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class CreditReversalRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import NotRequired
class DebitReversalCreateParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
received_debit: str
"""
The ReceivedDebit to reverse.
"""

View File

@@ -0,0 +1,40 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired
class DebitReversalListParams(RequestOptions):
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
received_debit: NotRequired[str]
"""
Only return DebitReversals for the ReceivedDebit ID.
"""
resolution: NotRequired[Literal["lost", "won"]]
"""
Only return DebitReversals for a given resolution.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[Literal["canceled", "completed", "processing"]]
"""
Only return DebitReversals for a given status.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class DebitReversalRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class FinancialAccountCloseParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
forwarding_settings: NotRequired[
"FinancialAccountCloseParamsForwardingSettings"
]
"""
A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0
"""
class FinancialAccountCloseParamsForwardingSettings(TypedDict):
financial_account: NotRequired[str]
"""
The financial_account id
"""
payment_method: NotRequired[str]
"""
The payment_method or bank account id. This needs to be a verified bank account.
"""
type: Literal["financial_account", "payment_method"]
"""
The type of the bank account provided. This can be either "financial_account" or "payment_method"
"""

View File

@@ -0,0 +1,201 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import Literal, NotRequired, TypedDict
class FinancialAccountCreateParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
features: NotRequired["FinancialAccountCreateParamsFeatures"]
"""
Encodes whether a FinancialAccount has access to a particular feature. Stripe or the platform can control features via the requested field.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
nickname: NotRequired["Literal['']|str"]
"""
The nickname for the FinancialAccount.
"""
platform_restrictions: NotRequired[
"FinancialAccountCreateParamsPlatformRestrictions"
]
"""
The set of functionalities that the platform can restrict on the FinancialAccount.
"""
supported_currencies: List[str]
"""
The currencies the FinancialAccount can hold a balance in.
"""
class FinancialAccountCreateParamsFeatures(TypedDict):
card_issuing: NotRequired[
"FinancialAccountCreateParamsFeaturesCardIssuing"
]
"""
Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
"""
deposit_insurance: NotRequired[
"FinancialAccountCreateParamsFeaturesDepositInsurance"
]
"""
Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
"""
financial_addresses: NotRequired[
"FinancialAccountCreateParamsFeaturesFinancialAddresses"
]
"""
Contains Features that add FinancialAddresses to the FinancialAccount.
"""
inbound_transfers: NotRequired[
"FinancialAccountCreateParamsFeaturesInboundTransfers"
]
"""
Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
"""
intra_stripe_flows: NotRequired[
"FinancialAccountCreateParamsFeaturesIntraStripeFlows"
]
"""
Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
"""
outbound_payments: NotRequired[
"FinancialAccountCreateParamsFeaturesOutboundPayments"
]
"""
Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
"""
outbound_transfers: NotRequired[
"FinancialAccountCreateParamsFeaturesOutboundTransfers"
]
"""
Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.
"""
class FinancialAccountCreateParamsFeaturesCardIssuing(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesDepositInsurance(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesFinancialAddresses(TypedDict):
aba: NotRequired[
"FinancialAccountCreateParamsFeaturesFinancialAddressesAba"
]
"""
Adds an ABA FinancialAddress to the FinancialAccount.
"""
class FinancialAccountCreateParamsFeaturesFinancialAddressesAba(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesInboundTransfers(TypedDict):
ach: NotRequired["FinancialAccountCreateParamsFeaturesInboundTransfersAch"]
"""
Enables ACH Debits via the InboundTransfers API.
"""
class FinancialAccountCreateParamsFeaturesInboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesIntraStripeFlows(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesOutboundPayments(TypedDict):
ach: NotRequired["FinancialAccountCreateParamsFeaturesOutboundPaymentsAch"]
"""
Enables ACH transfers via the OutboundPayments API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundPayments API.
"""
class FinancialAccountCreateParamsFeaturesOutboundPaymentsAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesOutboundPaymentsUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesOutboundTransfers(TypedDict):
ach: NotRequired[
"FinancialAccountCreateParamsFeaturesOutboundTransfersAch"
]
"""
Enables ACH transfers via the OutboundTransfers API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundTransfers API.
"""
class FinancialAccountCreateParamsFeaturesOutboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsFeaturesOutboundTransfersUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountCreateParamsPlatformRestrictions(TypedDict):
inbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
"""
Restricts all inbound money movement.
"""
outbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
"""
Restricts all outbound money movement.
"""

View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from typing import List
from typing_extensions import NotRequired, TypedDict
class FinancialAccountFeaturesRetrieveParams(TypedDict):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,164 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from typing import List
from typing_extensions import NotRequired, TypedDict
class FinancialAccountFeaturesUpdateParams(TypedDict):
card_issuing: NotRequired[
"FinancialAccountFeaturesUpdateParamsCardIssuing"
]
"""
Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
"""
deposit_insurance: NotRequired[
"FinancialAccountFeaturesUpdateParamsDepositInsurance"
]
"""
Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_addresses: NotRequired[
"FinancialAccountFeaturesUpdateParamsFinancialAddresses"
]
"""
Contains Features that add FinancialAddresses to the FinancialAccount.
"""
inbound_transfers: NotRequired[
"FinancialAccountFeaturesUpdateParamsInboundTransfers"
]
"""
Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
"""
intra_stripe_flows: NotRequired[
"FinancialAccountFeaturesUpdateParamsIntraStripeFlows"
]
"""
Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
"""
outbound_payments: NotRequired[
"FinancialAccountFeaturesUpdateParamsOutboundPayments"
]
"""
Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
"""
outbound_transfers: NotRequired[
"FinancialAccountFeaturesUpdateParamsOutboundTransfers"
]
"""
Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.
"""
class FinancialAccountFeaturesUpdateParamsCardIssuing(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsDepositInsurance(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsFinancialAddresses(TypedDict):
aba: NotRequired[
"FinancialAccountFeaturesUpdateParamsFinancialAddressesAba"
]
"""
Adds an ABA FinancialAddress to the FinancialAccount.
"""
class FinancialAccountFeaturesUpdateParamsFinancialAddressesAba(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsInboundTransfers(TypedDict):
ach: NotRequired["FinancialAccountFeaturesUpdateParamsInboundTransfersAch"]
"""
Enables ACH Debits via the InboundTransfers API.
"""
class FinancialAccountFeaturesUpdateParamsInboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsIntraStripeFlows(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsOutboundPayments(TypedDict):
ach: NotRequired["FinancialAccountFeaturesUpdateParamsOutboundPaymentsAch"]
"""
Enables ACH transfers via the OutboundPayments API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountFeaturesUpdateParamsOutboundPaymentsUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundPayments API.
"""
class FinancialAccountFeaturesUpdateParamsOutboundPaymentsAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsOutboundPaymentsUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsOutboundTransfers(TypedDict):
ach: NotRequired[
"FinancialAccountFeaturesUpdateParamsOutboundTransfersAch"
]
"""
Enables ACH transfers via the OutboundTransfers API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountFeaturesUpdateParamsOutboundTransfersUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundTransfers API.
"""
class FinancialAccountFeaturesUpdateParamsOutboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountFeaturesUpdateParamsOutboundTransfersUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""

View File

@@ -0,0 +1,51 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class FinancialAccountListParams(RequestOptions):
created: NotRequired["FinancialAccountListParamsCreated|int"]
"""
Only return FinancialAccounts that were created during the given date interval.
"""
ending_before: NotRequired[str]
"""
An object ID cursor for use in pagination.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
limit: NotRequired[int]
"""
A limit ranging from 1 to 100 (defaults to 10).
"""
starting_after: NotRequired[str]
"""
An object ID cursor for use in pagination.
"""
status: NotRequired[Literal["closed", "open"]]
"""
Only return FinancialAccounts that have the given status: `open` or `closed`
"""
class FinancialAccountListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,218 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import Literal, NotRequired, TypedDict
class FinancialAccountModifyParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
features: NotRequired["FinancialAccountModifyParamsFeatures"]
"""
Encodes whether a FinancialAccount has access to a particular feature, with a status enum and associated `status_details`. Stripe or the platform may control features via the requested field.
"""
forwarding_settings: NotRequired[
"FinancialAccountModifyParamsForwardingSettings"
]
"""
A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
nickname: NotRequired["Literal['']|str"]
"""
The nickname for the FinancialAccount.
"""
platform_restrictions: NotRequired[
"FinancialAccountModifyParamsPlatformRestrictions"
]
"""
The set of functionalities that the platform can restrict on the FinancialAccount.
"""
class FinancialAccountModifyParamsFeatures(TypedDict):
card_issuing: NotRequired[
"FinancialAccountModifyParamsFeaturesCardIssuing"
]
"""
Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
"""
deposit_insurance: NotRequired[
"FinancialAccountModifyParamsFeaturesDepositInsurance"
]
"""
Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
"""
financial_addresses: NotRequired[
"FinancialAccountModifyParamsFeaturesFinancialAddresses"
]
"""
Contains Features that add FinancialAddresses to the FinancialAccount.
"""
inbound_transfers: NotRequired[
"FinancialAccountModifyParamsFeaturesInboundTransfers"
]
"""
Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
"""
intra_stripe_flows: NotRequired[
"FinancialAccountModifyParamsFeaturesIntraStripeFlows"
]
"""
Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
"""
outbound_payments: NotRequired[
"FinancialAccountModifyParamsFeaturesOutboundPayments"
]
"""
Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
"""
outbound_transfers: NotRequired[
"FinancialAccountModifyParamsFeaturesOutboundTransfers"
]
"""
Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.
"""
class FinancialAccountModifyParamsFeaturesCardIssuing(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesDepositInsurance(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesFinancialAddresses(TypedDict):
aba: NotRequired[
"FinancialAccountModifyParamsFeaturesFinancialAddressesAba"
]
"""
Adds an ABA FinancialAddress to the FinancialAccount.
"""
class FinancialAccountModifyParamsFeaturesFinancialAddressesAba(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesInboundTransfers(TypedDict):
ach: NotRequired["FinancialAccountModifyParamsFeaturesInboundTransfersAch"]
"""
Enables ACH Debits via the InboundTransfers API.
"""
class FinancialAccountModifyParamsFeaturesInboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesIntraStripeFlows(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesOutboundPayments(TypedDict):
ach: NotRequired["FinancialAccountModifyParamsFeaturesOutboundPaymentsAch"]
"""
Enables ACH transfers via the OutboundPayments API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountModifyParamsFeaturesOutboundPaymentsUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundPayments API.
"""
class FinancialAccountModifyParamsFeaturesOutboundPaymentsAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesOutboundPaymentsUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesOutboundTransfers(TypedDict):
ach: NotRequired[
"FinancialAccountModifyParamsFeaturesOutboundTransfersAch"
]
"""
Enables ACH transfers via the OutboundTransfers API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountModifyParamsFeaturesOutboundTransfersUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundTransfers API.
"""
class FinancialAccountModifyParamsFeaturesOutboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsFeaturesOutboundTransfersUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountModifyParamsForwardingSettings(TypedDict):
financial_account: NotRequired[str]
"""
The financial_account id
"""
payment_method: NotRequired[str]
"""
The payment_method or bank account id. This needs to be a verified bank account.
"""
type: Literal["financial_account", "payment_method"]
"""
The type of the bank account provided. This can be either "financial_account" or "payment_method"
"""
class FinancialAccountModifyParamsPlatformRestrictions(TypedDict):
inbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
"""
Restricts all inbound money movement.
"""
outbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
"""
Restricts all outbound money movement.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class FinancialAccountRetrieveFeaturesParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class FinancialAccountRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,165 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired, TypedDict
class FinancialAccountUpdateFeaturesParams(RequestOptions):
card_issuing: NotRequired[
"FinancialAccountUpdateFeaturesParamsCardIssuing"
]
"""
Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
"""
deposit_insurance: NotRequired[
"FinancialAccountUpdateFeaturesParamsDepositInsurance"
]
"""
Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_addresses: NotRequired[
"FinancialAccountUpdateFeaturesParamsFinancialAddresses"
]
"""
Contains Features that add FinancialAddresses to the FinancialAccount.
"""
inbound_transfers: NotRequired[
"FinancialAccountUpdateFeaturesParamsInboundTransfers"
]
"""
Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
"""
intra_stripe_flows: NotRequired[
"FinancialAccountUpdateFeaturesParamsIntraStripeFlows"
]
"""
Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
"""
outbound_payments: NotRequired[
"FinancialAccountUpdateFeaturesParamsOutboundPayments"
]
"""
Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
"""
outbound_transfers: NotRequired[
"FinancialAccountUpdateFeaturesParamsOutboundTransfers"
]
"""
Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.
"""
class FinancialAccountUpdateFeaturesParamsCardIssuing(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsDepositInsurance(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsFinancialAddresses(TypedDict):
aba: NotRequired[
"FinancialAccountUpdateFeaturesParamsFinancialAddressesAba"
]
"""
Adds an ABA FinancialAddress to the FinancialAccount.
"""
class FinancialAccountUpdateFeaturesParamsFinancialAddressesAba(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsInboundTransfers(TypedDict):
ach: NotRequired["FinancialAccountUpdateFeaturesParamsInboundTransfersAch"]
"""
Enables ACH Debits via the InboundTransfers API.
"""
class FinancialAccountUpdateFeaturesParamsInboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsIntraStripeFlows(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsOutboundPayments(TypedDict):
ach: NotRequired["FinancialAccountUpdateFeaturesParamsOutboundPaymentsAch"]
"""
Enables ACH transfers via the OutboundPayments API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountUpdateFeaturesParamsOutboundPaymentsUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundPayments API.
"""
class FinancialAccountUpdateFeaturesParamsOutboundPaymentsAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsOutboundPaymentsUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsOutboundTransfers(TypedDict):
ach: NotRequired[
"FinancialAccountUpdateFeaturesParamsOutboundTransfersAch"
]
"""
Enables ACH transfers via the OutboundTransfers API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountUpdateFeaturesParamsOutboundTransfersUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundTransfers API.
"""
class FinancialAccountUpdateFeaturesParamsOutboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateFeaturesParamsOutboundTransfersUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""

View File

@@ -0,0 +1,217 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from typing import Dict, List
from typing_extensions import Literal, NotRequired, TypedDict
class FinancialAccountUpdateParams(TypedDict):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
features: NotRequired["FinancialAccountUpdateParamsFeatures"]
"""
Encodes whether a FinancialAccount has access to a particular feature, with a status enum and associated `status_details`. Stripe or the platform may control features via the requested field.
"""
forwarding_settings: NotRequired[
"FinancialAccountUpdateParamsForwardingSettings"
]
"""
A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
nickname: NotRequired["Literal['']|str"]
"""
The nickname for the FinancialAccount.
"""
platform_restrictions: NotRequired[
"FinancialAccountUpdateParamsPlatformRestrictions"
]
"""
The set of functionalities that the platform can restrict on the FinancialAccount.
"""
class FinancialAccountUpdateParamsFeatures(TypedDict):
card_issuing: NotRequired[
"FinancialAccountUpdateParamsFeaturesCardIssuing"
]
"""
Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
"""
deposit_insurance: NotRequired[
"FinancialAccountUpdateParamsFeaturesDepositInsurance"
]
"""
Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
"""
financial_addresses: NotRequired[
"FinancialAccountUpdateParamsFeaturesFinancialAddresses"
]
"""
Contains Features that add FinancialAddresses to the FinancialAccount.
"""
inbound_transfers: NotRequired[
"FinancialAccountUpdateParamsFeaturesInboundTransfers"
]
"""
Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.
"""
intra_stripe_flows: NotRequired[
"FinancialAccountUpdateParamsFeaturesIntraStripeFlows"
]
"""
Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).
"""
outbound_payments: NotRequired[
"FinancialAccountUpdateParamsFeaturesOutboundPayments"
]
"""
Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.
"""
outbound_transfers: NotRequired[
"FinancialAccountUpdateParamsFeaturesOutboundTransfers"
]
"""
Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.
"""
class FinancialAccountUpdateParamsFeaturesCardIssuing(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesDepositInsurance(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesFinancialAddresses(TypedDict):
aba: NotRequired[
"FinancialAccountUpdateParamsFeaturesFinancialAddressesAba"
]
"""
Adds an ABA FinancialAddress to the FinancialAccount.
"""
class FinancialAccountUpdateParamsFeaturesFinancialAddressesAba(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesInboundTransfers(TypedDict):
ach: NotRequired["FinancialAccountUpdateParamsFeaturesInboundTransfersAch"]
"""
Enables ACH Debits via the InboundTransfers API.
"""
class FinancialAccountUpdateParamsFeaturesInboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesIntraStripeFlows(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesOutboundPayments(TypedDict):
ach: NotRequired["FinancialAccountUpdateParamsFeaturesOutboundPaymentsAch"]
"""
Enables ACH transfers via the OutboundPayments API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountUpdateParamsFeaturesOutboundPaymentsUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundPayments API.
"""
class FinancialAccountUpdateParamsFeaturesOutboundPaymentsAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesOutboundPaymentsUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesOutboundTransfers(TypedDict):
ach: NotRequired[
"FinancialAccountUpdateParamsFeaturesOutboundTransfersAch"
]
"""
Enables ACH transfers via the OutboundTransfers API.
"""
us_domestic_wire: NotRequired[
"FinancialAccountUpdateParamsFeaturesOutboundTransfersUsDomesticWire"
]
"""
Enables US domestic wire transfers via the OutboundTransfers API.
"""
class FinancialAccountUpdateParamsFeaturesOutboundTransfersAch(TypedDict):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsFeaturesOutboundTransfersUsDomesticWire(
TypedDict,
):
requested: bool
"""
Whether the FinancialAccount should have the Feature.
"""
class FinancialAccountUpdateParamsForwardingSettings(TypedDict):
financial_account: NotRequired[str]
"""
The financial_account id
"""
payment_method: NotRequired[str]
"""
The payment_method or bank account id. This needs to be a verified bank account.
"""
type: Literal["financial_account", "payment_method"]
"""
The type of the bank account provided. This can be either "financial_account" or "payment_method"
"""
class FinancialAccountUpdateParamsPlatformRestrictions(TypedDict):
inbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
"""
Restricts all inbound money movement.
"""
outbound_flows: NotRequired[Literal["restricted", "unrestricted"]]
"""
Restricts all outbound money movement.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class InboundTransferCancelParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,40 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import NotRequired
class InboundTransferCreateParams(RequestOptions):
amount: int
"""
Amount (in cents) to be transferred.
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""
description: NotRequired[str]
"""
An arbitrary string attached to the object. Often useful for displaying to users.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount to send funds to.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
origin_payment_method: str
"""
The origin payment method to be debited for the InboundTransfer.
"""
statement_descriptor: NotRequired[str]
"""
The complete description that appears on your customers' statements. Maximum 10 characters.
"""

View File

@@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class InboundTransferFailParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
failure_details: NotRequired["InboundTransferFailParamsFailureDetails"]
"""
Details about a failed InboundTransfer.
"""
class InboundTransferFailParamsFailureDetails(TypedDict):
code: NotRequired[
Literal[
"account_closed",
"account_frozen",
"bank_account_restricted",
"bank_ownership_changed",
"debit_not_authorized",
"incorrect_account_holder_address",
"incorrect_account_holder_name",
"incorrect_account_holder_tax_id",
"insufficient_funds",
"invalid_account_number",
"invalid_currency",
"no_account",
"other",
]
]
"""
Reason for the failure.
"""

View File

@@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired
class InboundTransferListParams(RequestOptions):
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[
Literal["canceled", "failed", "processing", "succeeded"]
]
"""
Only return InboundTransfers that have the given status: `processing`, `succeeded`, `failed` or `canceled`.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class InboundTransferRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class InboundTransferReturnInboundTransferParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class InboundTransferSucceedParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundPaymentCancelParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,193 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundPaymentCreateParams(RequestOptions):
amount: int
"""
Amount (in cents) to be transferred.
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""
customer: NotRequired[str]
"""
ID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the `destination_payment_method` passed in.
"""
description: NotRequired[str]
"""
An arbitrary string attached to the object. Often useful for displaying to users.
"""
destination_payment_method: NotRequired[str]
"""
The PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with `destination_payment_method_data`.
"""
destination_payment_method_data: NotRequired[
"OutboundPaymentCreateParamsDestinationPaymentMethodData"
]
"""
Hash used to generate the PaymentMethod to be used for this OutboundPayment. Exclusive with `destination_payment_method`.
"""
destination_payment_method_options: NotRequired[
"OutboundPaymentCreateParamsDestinationPaymentMethodOptions"
]
"""
Payment method-specific configuration for this OutboundPayment.
"""
end_user_details: NotRequired["OutboundPaymentCreateParamsEndUserDetails"]
"""
End user details.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount to pull funds from.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
statement_descriptor: NotRequired[str]
"""
The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. The default value is "payment".
"""
class OutboundPaymentCreateParamsDestinationPaymentMethodData(TypedDict):
billing_details: NotRequired[
"OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetails"
]
"""
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
"""
financial_account: NotRequired[str]
"""
Required if type is set to `financial_account`. The FinancialAccount ID to send funds to.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
type: Literal["financial_account", "us_bank_account"]
"""
The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
"""
us_bank_account: NotRequired[
"OutboundPaymentCreateParamsDestinationPaymentMethodDataUsBankAccount"
]
"""
Required hash if type is set to `us_bank_account`.
"""
class OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetails(
TypedDict,
):
address: NotRequired[
"Literal['']|OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetailsAddress"
]
"""
Billing address.
"""
email: NotRequired["Literal['']|str"]
"""
Email address.
"""
name: NotRequired["Literal['']|str"]
"""
Full name.
"""
phone: NotRequired["Literal['']|str"]
"""
Billing phone number (including extension).
"""
class OutboundPaymentCreateParamsDestinationPaymentMethodDataBillingDetailsAddress(
TypedDict,
):
city: NotRequired[str]
"""
City, district, suburb, town, or village.
"""
country: NotRequired[str]
"""
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
"""
line1: NotRequired[str]
"""
Address line 1, such as the street, PO Box, or company name.
"""
line2: NotRequired[str]
"""
Address line 2, such as the apartment, suite, unit, or building.
"""
postal_code: NotRequired[str]
"""
ZIP or postal code.
"""
state: NotRequired[str]
"""
State, county, province, or region.
"""
class OutboundPaymentCreateParamsDestinationPaymentMethodDataUsBankAccount(
TypedDict,
):
account_holder_type: NotRequired[Literal["company", "individual"]]
"""
Account holder type: individual or company.
"""
account_number: NotRequired[str]
"""
Account number of the bank account.
"""
account_type: NotRequired[Literal["checking", "savings"]]
"""
Account type: checkings or savings. Defaults to checking if omitted.
"""
financial_connections_account: NotRequired[str]
"""
The ID of a Financial Connections Account to use as a payment method.
"""
routing_number: NotRequired[str]
"""
Routing number of the bank account.
"""
class OutboundPaymentCreateParamsDestinationPaymentMethodOptions(TypedDict):
us_bank_account: NotRequired[
"Literal['']|OutboundPaymentCreateParamsDestinationPaymentMethodOptionsUsBankAccount"
]
"""
Optional fields for `us_bank_account`.
"""
class OutboundPaymentCreateParamsDestinationPaymentMethodOptionsUsBankAccount(
TypedDict,
):
network: NotRequired[Literal["ach", "us_domestic_wire"]]
"""
Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
"""
class OutboundPaymentCreateParamsEndUserDetails(TypedDict):
ip_address: NotRequired[str]
"""
IP address of the user initiating the OutboundPayment. Must be supplied if `present` is set to `true`.
"""
present: bool
"""
`True` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundPaymentFailParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundPaymentListParams(RequestOptions):
created: NotRequired["OutboundPaymentListParamsCreated|int"]
"""
Only return OutboundPayments that were created during the given date interval.
"""
customer: NotRequired[str]
"""
Only return OutboundPayments sent to this customer.
"""
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[
Literal["canceled", "failed", "posted", "processing", "returned"]
]
"""
Only return OutboundPayments that have the given status: `processing`, `failed`, `posted`, `returned`, or `canceled`.
"""
class OutboundPaymentListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundPaymentPostParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundPaymentRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundPaymentReturnOutboundPaymentParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
returned_details: NotRequired[
"OutboundPaymentReturnOutboundPaymentParamsReturnedDetails"
]
"""
Optional hash to set the return code.
"""
class OutboundPaymentReturnOutboundPaymentParamsReturnedDetails(TypedDict):
code: NotRequired[
Literal[
"account_closed",
"account_frozen",
"bank_account_restricted",
"bank_ownership_changed",
"declined",
"incorrect_account_holder_name",
"invalid_account_number",
"invalid_currency",
"no_account",
"other",
]
]
"""
The return code to be set on the OutboundPayment object.
"""

View File

@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundPaymentUpdateParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
tracking_details: "OutboundPaymentUpdateParamsTrackingDetails"
"""
Details about network-specific tracking information.
"""
class OutboundPaymentUpdateParamsTrackingDetails(TypedDict):
ach: NotRequired["OutboundPaymentUpdateParamsTrackingDetailsAch"]
"""
ACH network tracking details.
"""
type: Literal["ach", "us_domestic_wire"]
"""
The US bank account network used to send funds.
"""
us_domestic_wire: NotRequired[
"OutboundPaymentUpdateParamsTrackingDetailsUsDomesticWire"
]
"""
US domestic wire network tracking details.
"""
class OutboundPaymentUpdateParamsTrackingDetailsAch(TypedDict):
trace_id: str
"""
ACH trace ID for funds sent over the `ach` network.
"""
class OutboundPaymentUpdateParamsTrackingDetailsUsDomesticWire(TypedDict):
chips: NotRequired[str]
"""
CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network.
"""
imad: NotRequired[str]
"""
IMAD for funds sent over the `us_domestic_wire` network.
"""
omad: NotRequired[str]
"""
OMAD for funds sent over the `us_domestic_wire` network.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundTransferCancelParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,81 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundTransferCreateParams(RequestOptions):
amount: int
"""
Amount (in cents) to be transferred.
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""
description: NotRequired[str]
"""
An arbitrary string attached to the object. Often useful for displaying to users.
"""
destination_payment_method: NotRequired[str]
"""
The PaymentMethod to use as the payment instrument for the OutboundTransfer.
"""
destination_payment_method_data: NotRequired[
"OutboundTransferCreateParamsDestinationPaymentMethodData"
]
"""
Hash used to generate the PaymentMethod to be used for this OutboundTransfer. Exclusive with `destination_payment_method`.
"""
destination_payment_method_options: NotRequired[
"OutboundTransferCreateParamsDestinationPaymentMethodOptions"
]
"""
Hash describing payment method configuration details.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount to pull funds from.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
statement_descriptor: NotRequired[str]
"""
Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
"""
class OutboundTransferCreateParamsDestinationPaymentMethodData(TypedDict):
financial_account: NotRequired[str]
"""
Required if type is set to `financial_account`. The FinancialAccount ID to send funds to.
"""
type: Literal["financial_account"]
"""
The type of the destination.
"""
class OutboundTransferCreateParamsDestinationPaymentMethodOptions(TypedDict):
us_bank_account: NotRequired[
"Literal['']|OutboundTransferCreateParamsDestinationPaymentMethodOptionsUsBankAccount"
]
"""
Optional fields for `us_bank_account`.
"""
class OutboundTransferCreateParamsDestinationPaymentMethodOptionsUsBankAccount(
TypedDict,
):
network: NotRequired[Literal["ach", "us_domestic_wire"]]
"""
Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundTransferFailParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired
class OutboundTransferListParams(RequestOptions):
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[
Literal["canceled", "failed", "posted", "processing", "returned"]
]
"""
Only return OutboundTransfers that have the given status: `processing`, `canceled`, `failed`, `posted`, or `returned`.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundTransferPostParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class OutboundTransferRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundTransferReturnOutboundTransferParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
returned_details: NotRequired[
"OutboundTransferReturnOutboundTransferParamsReturnedDetails"
]
"""
Details about a returned OutboundTransfer.
"""
class OutboundTransferReturnOutboundTransferParamsReturnedDetails(TypedDict):
code: NotRequired[
Literal[
"account_closed",
"account_frozen",
"bank_account_restricted",
"bank_ownership_changed",
"declined",
"incorrect_account_holder_name",
"invalid_account_number",
"invalid_currency",
"no_account",
"other",
]
]
"""
Reason for the return.
"""

View File

@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class OutboundTransferUpdateParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
tracking_details: "OutboundTransferUpdateParamsTrackingDetails"
"""
Details about network-specific tracking information.
"""
class OutboundTransferUpdateParamsTrackingDetails(TypedDict):
ach: NotRequired["OutboundTransferUpdateParamsTrackingDetailsAch"]
"""
ACH network tracking details.
"""
type: Literal["ach", "us_domestic_wire"]
"""
The US bank account network used to send funds.
"""
us_domestic_wire: NotRequired[
"OutboundTransferUpdateParamsTrackingDetailsUsDomesticWire"
]
"""
US domestic wire network tracking details.
"""
class OutboundTransferUpdateParamsTrackingDetailsAch(TypedDict):
trace_id: str
"""
ACH trace ID for funds sent over the `ach` network.
"""
class OutboundTransferUpdateParamsTrackingDetailsUsDomesticWire(TypedDict):
chips: NotRequired[str]
"""
CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network.
"""
imad: NotRequired[str]
"""
IMAD for funds sent over the `us_domestic_wire` network.
"""
omad: NotRequired[str]
"""
OMAD for funds sent over the `us_domestic_wire` network.
"""

View File

@@ -0,0 +1,68 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class ReceivedCreditCreateParams(RequestOptions):
amount: int
"""
Amount (in cents) to be transferred.
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""
description: NotRequired[str]
"""
An arbitrary string attached to the object. Often useful for displaying to users.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount to send funds to.
"""
initiating_payment_method_details: NotRequired[
"ReceivedCreditCreateParamsInitiatingPaymentMethodDetails"
]
"""
Initiating payment method details for the object.
"""
network: Literal["ach", "us_domestic_wire"]
"""
Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
"""
class ReceivedCreditCreateParamsInitiatingPaymentMethodDetails(TypedDict):
type: Literal["us_bank_account"]
"""
The source type.
"""
us_bank_account: NotRequired[
"ReceivedCreditCreateParamsInitiatingPaymentMethodDetailsUsBankAccount"
]
"""
Optional fields for `us_bank_account`.
"""
class ReceivedCreditCreateParamsInitiatingPaymentMethodDetailsUsBankAccount(
TypedDict,
):
account_holder_name: NotRequired[str]
"""
The bank account holder's name.
"""
account_number: NotRequired[str]
"""
The bank account number.
"""
routing_number: NotRequired[str]
"""
The bank account's routing number.
"""

View File

@@ -0,0 +1,49 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class ReceivedCreditListParams(RequestOptions):
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount that received the funds.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
linked_flows: NotRequired["ReceivedCreditListParamsLinkedFlows"]
"""
Only return ReceivedCredits described by the flow.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[Literal["failed", "succeeded"]]
"""
Only return ReceivedCredits that have the given status: `succeeded` or `failed`.
"""
class ReceivedCreditListParamsLinkedFlows(TypedDict):
source_flow_type: Literal[
"credit_reversal",
"other",
"outbound_payment",
"outbound_transfer",
"payout",
]
"""
The source flow type.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class ReceivedCreditRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,68 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class ReceivedDebitCreateParams(RequestOptions):
amount: int
"""
Amount (in cents) to be transferred.
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""
description: NotRequired[str]
"""
An arbitrary string attached to the object. Often useful for displaying to users.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount to pull funds from.
"""
initiating_payment_method_details: NotRequired[
"ReceivedDebitCreateParamsInitiatingPaymentMethodDetails"
]
"""
Initiating payment method details for the object.
"""
network: Literal["ach"]
"""
Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
"""
class ReceivedDebitCreateParamsInitiatingPaymentMethodDetails(TypedDict):
type: Literal["us_bank_account"]
"""
The source type.
"""
us_bank_account: NotRequired[
"ReceivedDebitCreateParamsInitiatingPaymentMethodDetailsUsBankAccount"
]
"""
Optional fields for `us_bank_account`.
"""
class ReceivedDebitCreateParamsInitiatingPaymentMethodDetailsUsBankAccount(
TypedDict,
):
account_holder_name: NotRequired[str]
"""
The bank account holder's name.
"""
account_number: NotRequired[str]
"""
The bank account number.
"""
routing_number: NotRequired[str]
"""
The bank account's routing number.
"""

View File

@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired
class ReceivedDebitListParams(RequestOptions):
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
The FinancialAccount that funds were pulled from.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[Literal["failed", "succeeded"]]
"""
Only return ReceivedDebits that have the given status: `succeeded` or `failed`.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class ReceivedDebitRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,79 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class TransactionEntryListParams(RequestOptions):
created: NotRequired["TransactionEntryListParamsCreated|int"]
"""
Only return TransactionEntries that were created during the given date interval.
"""
effective_at: NotRequired["TransactionEntryListParamsEffectiveAt|int"]
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
order_by: NotRequired[Literal["created", "effective_at"]]
"""
The results are in reverse chronological order by `created` or `effective_at`. The default is `created`.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
transaction: NotRequired[str]
"""
Only return TransactionEntries associated with this Transaction.
"""
class TransactionEntryListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""
class TransactionEntryListParamsEffectiveAt(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class TransactionEntryRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,91 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import Literal, NotRequired, TypedDict
class TransactionListParams(RequestOptions):
created: NotRequired["TransactionListParamsCreated|int"]
"""
Only return Transactions that were created during the given date interval.
"""
ending_before: NotRequired[str]
"""
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
financial_account: str
"""
Returns objects associated with this FinancialAccount.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
order_by: NotRequired[Literal["created", "posted_at"]]
"""
The results are in reverse chronological order by `created` or `posted_at`. The default is `created`.
"""
starting_after: NotRequired[str]
"""
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
"""
status: NotRequired[Literal["open", "posted", "void"]]
"""
Only return Transactions that have the given status: `open`, `posted`, or `void`.
"""
status_transitions: NotRequired["TransactionListParamsStatusTransitions"]
"""
A filter for the `status_transitions.posted_at` timestamp. When using this filter, `status=posted` and `order_by=posted_at` must also be specified.
"""
class TransactionListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""
class TransactionListParamsStatusTransitions(TypedDict):
posted_at: NotRequired[
"TransactionListParamsStatusTransitionsPostedAt|int"
]
"""
Returns Transactions with `posted_at` within the specified range.
"""
class TransactionListParamsStatusTransitionsPostedAt(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class TransactionRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""