Debian Codegraph @

stripe/params/_transfer_create_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 Dict, List
5 from typing_extensions import Literal, NotRequired
6
7
8 class TransferCreateParams(RequestOptions):
9 amount: NotRequired[int]
10 """
11 A positive integer in cents (or local equivalent) representing how much to transfer.
12 """
13 currency: str
14 """
15 Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies).
16 """
17 description: NotRequired[str]
18 """
19 An arbitrary string attached to the object. Often useful for displaying to users.
20 """
21 destination: str
22 """
23 The ID of a connected Stripe account. [See the Connect documentation](https://docs.stripe.com/docs/connect/separate-charges-and-transfers) for details.
24 """
25 expand: NotRequired[List[str]]
26 """
27 Specifies which fields in the response should be expanded.
28 """
29 metadata: NotRequired[Dict[str, str]]
30 """
31 Set of [key-value pairs](https://docs.stripe.com/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`.
32 """
33 source_transaction: NotRequired[str]
34 """
35 You can use this parameter to transfer funds from a charge before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. [See the Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability) for details.
36 """
37 source_type: NotRequired[Literal["bank_account", "card", "fpx"]]
38 """
39 The source balance to use for this transfer. One of `bank_account`, `card`, or `fpx`. For most users, this will default to `card`.
40 """
41 transfer_group: NotRequired[str]
42 """
43 A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
44 """