| 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 CustomerModifyCashBalanceParams(RequestOptions): |
| 9 |
expand: NotRequired[List[str]] |
| 10 |
""" |
| 11 |
Specifies which fields in the response should be expanded. |
| 12 |
""" |
| 13 |
settings: NotRequired["CustomerModifyCashBalanceParamsSettings"] |
| 14 |
""" |
| 15 |
A hash of settings for this cash balance. |
| 16 |
""" |
| 17 |
|
| 18 |
|
| 19 |
class CustomerModifyCashBalanceParamsSettings(TypedDict): |
| 20 |
reconciliation_mode: NotRequired[ |
| 21 |
Literal["automatic", "manual", "merchant_default"] |
| 22 |
] |
| 23 |
""" |
| 24 |
Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://docs.stripe.com/payments/customer-balance/reconciliation). |
| 25 |
""" |