Debian Codegraph @

stripe/params/treasury/_financial_account_close_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import List
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class FinancialAccountCloseParams(RequestOptions):
9 expand: NotRequired[List[str]]
10 """
11 Specifies which fields in the response should be expanded.
12 """
13 forwarding_settings: NotRequired[
14 "FinancialAccountCloseParamsForwardingSettings"
15 ]
16 """
17 A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0
18 """
19
20
21 class FinancialAccountCloseParamsForwardingSettings(TypedDict):
22 financial_account: NotRequired[str]
23 """
24 The financial_account id
25 """
26 payment_method: NotRequired[str]
27 """
28 The payment_method or bank account id. This needs to be a verified bank account.
29 """
30 type: Literal["financial_account", "payment_method"]
31 """
32 The type of the bank account provided. This can be either "financial_account" or "payment_method"
33 """