Debian Codegraph @

stripe/params/_customer_create_funding_instructions_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 CustomerCreateFundingInstructionsParams(RequestOptions):
9 bank_transfer: "CustomerCreateFundingInstructionsParamsBankTransfer"
10 """
11 Additional parameters for `bank_transfer` funding types
12 """
13 currency: str
14 """
15 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).
16 """
17 expand: NotRequired[List[str]]
18 """
19 Specifies which fields in the response should be expanded.
20 """
21 funding_type: Literal["bank_transfer"]
22 """
23 The `funding_type` to get the instructions for.
24 """
25
26
27 class CustomerCreateFundingInstructionsParamsBankTransfer(TypedDict):
28 eu_bank_transfer: NotRequired[
29 "CustomerCreateFundingInstructionsParamsBankTransferEuBankTransfer"
30 ]
31 """
32 Configuration for eu_bank_transfer funding type.
33 """
34 requested_address_types: NotRequired[
35 List[Literal["iban", "sort_code", "spei", "zengin"]]
36 ]
37 """
38 List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
39
40 Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
41 """
42 type: Literal[
43 "eu_bank_transfer",
44 "gb_bank_transfer",
45 "jp_bank_transfer",
46 "mx_bank_transfer",
47 "us_bank_transfer",
48 ]
49 """
50 The type of the `bank_transfer`
51 """
52
53
54 class CustomerCreateFundingInstructionsParamsBankTransferEuBankTransfer(
55 TypedDict,
56 ):
57 country: str
58 """
59 The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
60 """