| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from stripe._stripe_object import StripeObject |
| 4 |
from typing import ClassVar |
| 5 |
from typing_extensions import Literal |
| 6 |
|
| 7 |
|
| 8 |
class AccountToken(StripeObject): |
| 9 |
""" |
| 10 |
Account tokens are single-use tokens which tokenize company/individual/business information, and are used for creating or updating an Account. |
| 11 |
""" |
| 12 |
|
| 13 |
OBJECT_NAME: ClassVar[Literal["v2.core.account_token"]] = ( |
| 14 |
"v2.core.account_token" |
| 15 |
) |
| 16 |
created: str |
| 17 |
""" |
| 18 |
Time at which the token was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. |
| 19 |
""" |
| 20 |
expires_at: str |
| 21 |
""" |
| 22 |
Time at which the token will expire. |
| 23 |
""" |
| 24 |
id: str |
| 25 |
""" |
| 26 |
Unique identifier for the token. |
| 27 |
""" |
| 28 |
livemode: bool |
| 29 |
""" |
| 30 |
Has the value `true` if the token exists in live mode or the value `false` if the object exists in test mode. |
| 31 |
""" |
| 32 |
object: Literal["v2.core.account_token"] |
| 33 |
""" |
| 34 |
String representing the object's type. Objects of the same type share the same value of the object field. |
| 35 |
""" |
| 36 |
used: bool |
| 37 |
""" |
| 38 |
Determines if the token has already been used (tokens can only be used once). |
| 39 |
""" |