Debian Codegraph @

stripe/params/terminal/_reader_confirm_payment_intent_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 List
5 from typing_extensions import NotRequired, TypedDict
6
7
8 class ReaderConfirmPaymentIntentParams(RequestOptions):
9 confirm_config: NotRequired[
10 "ReaderConfirmPaymentIntentParamsConfirmConfig"
11 ]
12 """
13 Configuration overrides for this confirmation, such as surcharge settings and return URL.
14 """
15 expand: NotRequired[List[str]]
16 """
17 Specifies which fields in the response should be expanded.
18 """
19 payment_intent: str
20 """
21 The ID of the PaymentIntent to confirm.
22 """
23
24
25 class ReaderConfirmPaymentIntentParamsConfirmConfig(TypedDict):
26 return_url: NotRequired[str]
27 """
28 The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
29 """