| 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 CustomerCreateBalanceTransactionParams(RequestOptions): |
| 9 |
amount: int |
| 10 |
""" |
| 11 |
The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. |
| 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). Specifies the [`invoice_credit_balance`](https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance) that this transaction will apply to. If the customer's `currency` is not set, it will be updated to this value. |
| 16 |
""" |
| 17 |
description: NotRequired[str] |
| 18 |
""" |
| 19 |
An arbitrary string attached to the object. Often useful for displaying to users. |
| 20 |
""" |
| 21 |
expand: NotRequired[List[str]] |
| 22 |
""" |
| 23 |
Specifies which fields in the response should be expanded. |
| 24 |
""" |
| 25 |
metadata: NotRequired["Literal['']|Dict[str, str]"] |
| 26 |
""" |
| 27 |
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`. |
| 28 |
""" |