Debian Codegraph @

stripe/params/_customer_funding_instructions_create_params.py

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