| 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 |
| 6 |
|
| 7 |
|
| 8 |
class PaymentIntentCancelParams(RequestOptions): |
| 9 |
cancellation_reason: NotRequired[ |
| 10 |
Literal[ |
| 11 |
"abandoned", "duplicate", "fraudulent", "requested_by_customer" |
| 12 |
] |
| 13 |
] |
| 14 |
""" |
| 15 |
Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned` |
| 16 |
""" |
| 17 |
expand: NotRequired[List[str]] |
| 18 |
""" |
| 19 |
Specifies which fields in the response should be expanded. |
| 20 |
""" |