@lshay-provider/stripe 0.0.0-stage → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/applePayDomain.d.ts +72 -0
- package/bin/applePayDomain.d.ts.map +1 -0
- package/bin/applePayDomain.js +91 -0
- package/bin/applePayDomain.js.map +1 -0
- package/bin/appsInstall.d.ts +201 -0
- package/bin/appsInstall.d.ts.map +1 -0
- package/bin/appsInstall.js +121 -0
- package/bin/appsInstall.js.map +1 -0
- package/bin/billingAlert.d.ts +107 -0
- package/bin/billingAlert.d.ts.map +1 -0
- package/bin/billingAlert.js +98 -0
- package/bin/billingAlert.js.map +1 -0
- package/bin/billingCreditGrant.d.ts +203 -0
- package/bin/billingCreditGrant.d.ts.map +1 -0
- package/bin/billingCreditGrant.js +118 -0
- package/bin/billingCreditGrant.js.map +1 -0
- package/bin/billingFeedbackOption.d.ts +85 -0
- package/bin/billingFeedbackOption.d.ts.map +1 -0
- package/bin/billingFeedbackOption.js +93 -0
- package/bin/billingFeedbackOption.js.map +1 -0
- package/bin/billingMeter.d.ts +134 -0
- package/bin/billingMeter.d.ts.map +1 -0
- package/bin/billingMeter.js +110 -0
- package/bin/billingMeter.js.map +1 -0
- package/bin/billingPortalConfiguration.d.ts +150 -0
- package/bin/billingPortalConfiguration.d.ts.map +1 -0
- package/bin/billingPortalConfiguration.js +107 -0
- package/bin/billingPortalConfiguration.js.map +1 -0
- package/bin/charge.d.ts +496 -0
- package/bin/charge.d.ts.map +1 -0
- package/bin/charge.js +176 -0
- package/bin/charge.js.map +1 -0
- package/bin/climateOrder.d.ts +247 -0
- package/bin/climateOrder.d.ts.map +1 -0
- package/bin/climateOrder.js +129 -0
- package/bin/climateOrder.js.map +1 -0
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +9 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +42 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/coupon.d.ts +228 -0
- package/bin/coupon.d.ts.map +1 -0
- package/bin/coupon.js +114 -0
- package/bin/coupon.js.map +1 -0
- package/bin/creditNote.d.ts +374 -0
- package/bin/creditNote.d.ts.map +1 -0
- package/bin/creditNote.js +151 -0
- package/bin/creditNote.js.map +1 -0
- package/bin/customer.d.ts +384 -0
- package/bin/customer.d.ts.map +1 -0
- package/bin/customer.js +144 -0
- package/bin/customer.js.map +1 -0
- package/bin/customerBalanceTransaction.d.ts +175 -0
- package/bin/customerBalanceTransaction.d.ts.map +1 -0
- package/bin/customerBalanceTransaction.js +115 -0
- package/bin/customerBalanceTransaction.js.map +1 -0
- package/bin/entitlementsFeature.d.ts +111 -0
- package/bin/entitlementsFeature.d.ts.map +1 -0
- package/bin/entitlementsFeature.js +95 -0
- package/bin/entitlementsFeature.js.map +1 -0
- package/bin/file.d.ts +153 -0
- package/bin/file.d.ts.map +1 -0
- package/bin/file.js +110 -0
- package/bin/file.js.map +1 -0
- package/bin/fileLink.d.ts +127 -0
- package/bin/fileLink.d.ts.map +1 -0
- package/bin/fileLink.js +99 -0
- package/bin/fileLink.js.map +1 -0
- package/bin/index.d.ts +191 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +370 -0
- package/bin/index.js.map +1 -0
- package/bin/invoice.d.ts +795 -0
- package/bin/invoice.d.ts.map +1 -0
- package/bin/invoice.js +242 -0
- package/bin/invoice.js.map +1 -0
- package/bin/invoiceItem.d.ts +354 -0
- package/bin/invoiceItem.d.ts.map +1 -0
- package/bin/invoiceItem.js +136 -0
- package/bin/invoiceItem.js.map +1 -0
- package/bin/issuingCard.d.ts +313 -0
- package/bin/issuingCard.d.ts.map +1 -0
- package/bin/issuingCard.js +138 -0
- package/bin/issuingCard.js.map +1 -0
- package/bin/issuingCardholder.d.ts +205 -0
- package/bin/issuingCardholder.d.ts.map +1 -0
- package/bin/issuingCardholder.js +113 -0
- package/bin/issuingCardholder.js.map +1 -0
- package/bin/issuingDispute.d.ts +152 -0
- package/bin/issuingDispute.d.ts.map +1 -0
- package/bin/issuingDispute.js +102 -0
- package/bin/issuingDispute.js.map +1 -0
- package/bin/issuingPersonalizationDesign.d.ts +177 -0
- package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
- package/bin/issuingPersonalizationDesign.js +111 -0
- package/bin/issuingPersonalizationDesign.js.map +1 -0
- package/bin/package.json +34 -0
- package/bin/paymentIntent.d.ts +670 -0
- package/bin/paymentIntent.d.ts.map +1 -0
- package/bin/paymentIntent.js +194 -0
- package/bin/paymentIntent.js.map +1 -0
- package/bin/paymentLink.d.ts +415 -0
- package/bin/paymentLink.d.ts.map +1 -0
- package/bin/paymentLink.js +155 -0
- package/bin/paymentLink.js.map +1 -0
- package/bin/paymentMethod.d.ts +232 -0
- package/bin/paymentMethod.d.ts.map +1 -0
- package/bin/paymentMethod.js +154 -0
- package/bin/paymentMethod.js.map +1 -0
- package/bin/paymentMethodConfiguration.d.ts +310 -0
- package/bin/paymentMethodConfiguration.d.ts.map +1 -0
- package/bin/paymentMethodConfiguration.js +218 -0
- package/bin/paymentMethodConfiguration.js.map +1 -0
- package/bin/paymentMethodDomain.d.ts +143 -0
- package/bin/paymentMethodDomain.d.ts.map +1 -0
- package/bin/paymentMethodDomain.js +105 -0
- package/bin/paymentMethodDomain.js.map +1 -0
- package/bin/person.d.ts +436 -0
- package/bin/person.d.ts.map +1 -0
- package/bin/person.js +157 -0
- package/bin/person.js.map +1 -0
- package/bin/plan.d.ts +281 -0
- package/bin/plan.d.ts.map +1 -0
- package/bin/plan.js +126 -0
- package/bin/plan.js.map +1 -0
- package/bin/price.d.ts +304 -0
- package/bin/price.d.ts.map +1 -0
- package/bin/price.js +129 -0
- package/bin/price.js.map +1 -0
- package/bin/product.d.ts +285 -0
- package/bin/product.d.ts.map +1 -0
- package/bin/product.js +122 -0
- package/bin/product.js.map +1 -0
- package/bin/productCatalogTrialOffer.d.ts +105 -0
- package/bin/productCatalogTrialOffer.d.ts.map +1 -0
- package/bin/productCatalogTrialOffer.js +103 -0
- package/bin/productCatalogTrialOffer.js.map +1 -0
- package/bin/productFeature.d.ts +88 -0
- package/bin/productFeature.d.ts.map +1 -0
- package/bin/productFeature.js +94 -0
- package/bin/productFeature.js.map +1 -0
- package/bin/promotionCode.d.ts +175 -0
- package/bin/promotionCode.d.ts.map +1 -0
- package/bin/promotionCode.js +106 -0
- package/bin/promotionCode.js.map +1 -0
- package/bin/provider.d.ts +60 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +80 -0
- package/bin/provider.js.map +1 -0
- package/bin/quote.d.ts +350 -0
- package/bin/quote.d.ts.map +1 -0
- package/bin/quote.js +144 -0
- package/bin/quote.js.map +1 -0
- package/bin/radarValueList.d.ts +131 -0
- package/bin/radarValueList.d.ts.map +1 -0
- package/bin/radarValueList.js +99 -0
- package/bin/radarValueList.js.map +1 -0
- package/bin/radarValueListItem.d.ts +101 -0
- package/bin/radarValueListItem.d.ts.map +1 -0
- package/bin/radarValueListItem.js +98 -0
- package/bin/radarValueListItem.js.map +1 -0
- package/bin/setupIntent.d.ts +492 -0
- package/bin/setupIntent.d.ts.map +1 -0
- package/bin/setupIntent.js +154 -0
- package/bin/setupIntent.js.map +1 -0
- package/bin/shippingRate.d.ts +164 -0
- package/bin/shippingRate.d.ts.map +1 -0
- package/bin/shippingRate.js +105 -0
- package/bin/shippingRate.js.map +1 -0
- package/bin/source.d.ts +303 -0
- package/bin/source.d.ts.map +1 -0
- package/bin/source.js +164 -0
- package/bin/source.js.map +1 -0
- package/bin/subscription.d.ts +650 -0
- package/bin/subscription.d.ts.map +1 -0
- package/bin/subscription.js +190 -0
- package/bin/subscription.js.map +1 -0
- package/bin/subscriptionItem.d.ts +297 -0
- package/bin/subscriptionItem.d.ts.map +1 -0
- package/bin/subscriptionItem.js +121 -0
- package/bin/subscriptionItem.js.map +1 -0
- package/bin/subscriptionSchedule.d.ts +263 -0
- package/bin/subscriptionSchedule.d.ts.map +1 -0
- package/bin/subscriptionSchedule.js +126 -0
- package/bin/subscriptionSchedule.js.map +1 -0
- package/bin/taxId.d.ts +139 -0
- package/bin/taxId.d.ts.map +1 -0
- package/bin/taxId.js +109 -0
- package/bin/taxId.js.map +1 -0
- package/bin/taxLocation.d.ts +90 -0
- package/bin/taxLocation.d.ts.map +1 -0
- package/bin/taxLocation.js +96 -0
- package/bin/taxLocation.js.map +1 -0
- package/bin/taxRate.d.ts +233 -0
- package/bin/taxRate.d.ts.map +1 -0
- package/bin/taxRate.js +123 -0
- package/bin/taxRate.js.map +1 -0
- package/bin/taxRegistration.d.ts +118 -0
- package/bin/taxRegistration.d.ts.map +1 -0
- package/bin/taxRegistration.js +105 -0
- package/bin/taxRegistration.js.map +1 -0
- package/bin/terminalConfiguration.d.ts +131 -0
- package/bin/terminalConfiguration.d.ts.map +1 -0
- package/bin/terminalConfiguration.js +120 -0
- package/bin/terminalConfiguration.js.map +1 -0
- package/bin/terminalLocation.d.ts +147 -0
- package/bin/terminalLocation.d.ts.map +1 -0
- package/bin/terminalLocation.js +100 -0
- package/bin/terminalLocation.js.map +1 -0
- package/bin/terminalReader.d.ts +168 -0
- package/bin/terminalReader.d.ts.map +1 -0
- package/bin/terminalReader.js +109 -0
- package/bin/terminalReader.js.map +1 -0
- package/bin/threeDSecureAuthentication.d.ts +297 -0
- package/bin/threeDSecureAuthentication.d.ts.map +1 -0
- package/bin/threeDSecureAuthentication.js +132 -0
- package/bin/threeDSecureAuthentication.js.map +1 -0
- package/bin/treasuryFinancialAccount.d.ts +203 -0
- package/bin/treasuryFinancialAccount.d.ts.map +1 -0
- package/bin/treasuryFinancialAccount.js +119 -0
- package/bin/treasuryFinancialAccount.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +18743 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +18742 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +6 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +125 -0
- package/bin/utilities.js.map +1 -0
- package/bin/v2coreEventDestination.d.ts +260 -0
- package/bin/v2coreEventDestination.d.ts.map +1 -0
- package/bin/v2coreEventDestination.js +127 -0
- package/bin/v2coreEventDestination.js.map +1 -0
- package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
- package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultGbBankAccount.js +111 -0
- package/bin/v2coreVaultGbBankAccount.js.map +1 -0
- package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
- package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultUsBankAccount.js +118 -0
- package/bin/v2coreVaultUsBankAccount.js.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.js +102 -0
- package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.js +105 -0
- package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.js +125 -0
- package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.js +127 -0
- package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.js +107 -0
- package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
- package/bin/webhookEndpoint.d.ts +171 -0
- package/bin/webhookEndpoint.d.ts.map +1 -0
- package/bin/webhookEndpoint.js +112 -0
- package/bin/webhookEndpoint.js.map +1 -0
- package/package.json +31 -3
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class PaymentIntent extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing PaymentIntent resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PaymentIntentState, opts?: pulumi.CustomResourceOptions): PaymentIntent;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing PaymentIntent resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: PaymentIntentState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of PaymentIntent. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is PaymentIntent;
|
|
28
|
+
/**
|
|
29
|
+
* Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
30
|
+
*/
|
|
31
|
+
readonly amount: pulumi.Output<number>;
|
|
32
|
+
/**
|
|
33
|
+
* Amount that can be captured from this PaymentIntent.
|
|
34
|
+
*/
|
|
35
|
+
readonly amountCapturable: pulumi.Output<number>;
|
|
36
|
+
/**
|
|
37
|
+
* Amount that this PaymentIntent collects.
|
|
38
|
+
*/
|
|
39
|
+
readonly amountReceived: pulumi.Output<number>;
|
|
40
|
+
/**
|
|
41
|
+
* ID of the Connect application that created the PaymentIntent.
|
|
42
|
+
*/
|
|
43
|
+
readonly application: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
46
|
+
*/
|
|
47
|
+
readonly applicationFeeAmount: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
50
|
+
*/
|
|
51
|
+
readonly automaticPaymentMethods: pulumi.Output<outputs.PaymentIntentAutomaticPaymentMethods>;
|
|
52
|
+
/**
|
|
53
|
+
* Populated when <span pulumi-lang-nodejs="`status`" pulumi-lang-dotnet="`Status`" pulumi-lang-go="`status`" pulumi-lang-python="`status`" pulumi-lang-yaml="`status`" pulumi-lang-java="`status`" pulumi-lang-hcl="`status`">`status`</span> is <span pulumi-lang-nodejs="`canceled`" pulumi-lang-dotnet="`Canceled`" pulumi-lang-go="`canceled`" pulumi-lang-python="`canceled`" pulumi-lang-yaml="`canceled`" pulumi-lang-java="`canceled`" pulumi-lang-hcl="`canceled`">`canceled`</span>, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
54
|
+
*/
|
|
55
|
+
readonly canceledAt: pulumi.Output<number>;
|
|
56
|
+
/**
|
|
57
|
+
* Reason for cancellation of this PaymentIntent, either user-provided (<span pulumi-lang-nodejs="`duplicate`" pulumi-lang-dotnet="`Duplicate`" pulumi-lang-go="`duplicate`" pulumi-lang-python="`duplicate`" pulumi-lang-yaml="`duplicate`" pulumi-lang-java="`duplicate`" pulumi-lang-hcl="`duplicate`">`duplicate`</span>, <span pulumi-lang-nodejs="`fraudulent`" pulumi-lang-dotnet="`Fraudulent`" pulumi-lang-go="`fraudulent`" pulumi-lang-python="`fraudulent`" pulumi-lang-yaml="`fraudulent`" pulumi-lang-java="`fraudulent`" pulumi-lang-hcl="`fraudulent`">`fraudulent`</span>, <span pulumi-lang-nodejs="`requestedByCustomer`" pulumi-lang-dotnet="`RequestedByCustomer`" pulumi-lang-go="`requestedByCustomer`" pulumi-lang-python="`requested_by_customer`" pulumi-lang-yaml="`requestedByCustomer`" pulumi-lang-java="`requestedByCustomer`" pulumi-lang-hcl="`requested_by_customer`">`requestedByCustomer`</span>, or <span pulumi-lang-nodejs="`abandoned`" pulumi-lang-dotnet="`Abandoned`" pulumi-lang-go="`abandoned`" pulumi-lang-python="`abandoned`" pulumi-lang-yaml="`abandoned`" pulumi-lang-java="`abandoned`" pulumi-lang-hcl="`abandoned`">`abandoned`</span>) or generated by Stripe internally (<span pulumi-lang-nodejs="`failedInvoice`" pulumi-lang-dotnet="`FailedInvoice`" pulumi-lang-go="`failedInvoice`" pulumi-lang-python="`failed_invoice`" pulumi-lang-yaml="`failedInvoice`" pulumi-lang-java="`failedInvoice`" pulumi-lang-hcl="`failed_invoice`">`failedInvoice`</span>, <span pulumi-lang-nodejs="`voidInvoice`" pulumi-lang-dotnet="`VoidInvoice`" pulumi-lang-go="`voidInvoice`" pulumi-lang-python="`void_invoice`" pulumi-lang-yaml="`voidInvoice`" pulumi-lang-java="`voidInvoice`" pulumi-lang-hcl="`void_invoice`">`voidInvoice`</span>, <span pulumi-lang-nodejs="`automatic`" pulumi-lang-dotnet="`Automatic`" pulumi-lang-go="`automatic`" pulumi-lang-python="`automatic`" pulumi-lang-yaml="`automatic`" pulumi-lang-java="`automatic`" pulumi-lang-hcl="`automatic`">`automatic`</span>, or <span pulumi-lang-nodejs="`expired`" pulumi-lang-dotnet="`Expired`" pulumi-lang-go="`expired`" pulumi-lang-python="`expired`" pulumi-lang-yaml="`expired`" pulumi-lang-java="`expired`" pulumi-lang-hcl="`expired`">`expired`</span>).
|
|
58
|
+
*/
|
|
59
|
+
readonly cancellationReason: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Controls when the funds will be captured from the customer's account.
|
|
62
|
+
*/
|
|
63
|
+
readonly captureMethod: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.
|
|
66
|
+
*
|
|
67
|
+
* The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
68
|
+
*
|
|
69
|
+
* Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how <span pulumi-lang-nodejs="`clientSecret`" pulumi-lang-dotnet="`ClientSecret`" pulumi-lang-go="`clientSecret`" pulumi-lang-python="`client_secret`" pulumi-lang-yaml="`clientSecret`" pulumi-lang-java="`clientSecret`" pulumi-lang-hcl="`client_secret`">`clientSecret`</span> should be handled.
|
|
70
|
+
*/
|
|
71
|
+
readonly clientSecret: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
74
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> to attempt to [confirm this PaymentIntent](https://docs.stripe.com/api/payment_intents/confirm) immediately. This parameter defaults to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://docs.stripe.com/api/payment_intents/confirm).
|
|
75
|
+
*/
|
|
76
|
+
readonly confirm: pulumi.Output<boolean | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
|
|
79
|
+
*/
|
|
80
|
+
readonly confirmationMethod: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
83
|
+
* ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
84
|
+
*
|
|
85
|
+
* If the provided ConfirmationToken contains properties that are also being provided in this request, such as <span pulumi-lang-nodejs="`paymentMethod`" pulumi-lang-dotnet="`PaymentMethod`" pulumi-lang-go="`paymentMethod`" pulumi-lang-python="`payment_method`" pulumi-lang-yaml="`paymentMethod`" pulumi-lang-java="`paymentMethod`" pulumi-lang-hcl="`payment_method`">`paymentMethod`</span>, then the values in this request will take precedence.
|
|
86
|
+
*/
|
|
87
|
+
readonly confirmationToken: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
90
|
+
*/
|
|
91
|
+
readonly created: pulumi.Output<number>;
|
|
92
|
+
/**
|
|
93
|
+
* 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).
|
|
94
|
+
*/
|
|
95
|
+
readonly currency: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* ID of the Customer this PaymentIntent belongs to, if one exists.
|
|
98
|
+
*
|
|
99
|
+
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
100
|
+
*
|
|
101
|
+
* If <span pulumi-lang-nodejs="[setupFutureUsage]" pulumi-lang-dotnet="[SetupFutureUsage]" pulumi-lang-go="[setupFutureUsage]" pulumi-lang-python="[setup_future_usage]" pulumi-lang-yaml="[setupFutureUsage]" pulumi-lang-java="[setupFutureUsage]" pulumi-lang-hcl="[setup_future_usage]">[setupFutureUsage]</span>(https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span>, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span> and isn't a digital wallet, then a <span pulumi-lang-nodejs="[generatedCard]" pulumi-lang-dotnet="[GeneratedCard]" pulumi-lang-go="[generatedCard]" pulumi-lang-python="[generated_card]" pulumi-lang-yaml="[generatedCard]" pulumi-lang-java="[generatedCard]" pulumi-lang-hcl="[generated_card]">[generatedCard]</span>(https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
102
|
+
*/
|
|
103
|
+
readonly customer: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
106
|
+
*/
|
|
107
|
+
readonly description: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
110
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> to fail the payment attempt if the PaymentIntent transitions into <span pulumi-lang-nodejs="`requiresAction`" pulumi-lang-dotnet="`RequiresAction`" pulumi-lang-go="`requiresAction`" pulumi-lang-python="`requires_action`" pulumi-lang-yaml="`requiresAction`" pulumi-lang-java="`requiresAction`" pulumi-lang-hcl="`requires_action`">`requiresAction`</span>. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
111
|
+
*/
|
|
112
|
+
readonly errorOnRequiresAction: pulumi.Output<boolean | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* The list of payment method types to exclude from use with this payment.
|
|
115
|
+
*/
|
|
116
|
+
readonly excludedPaymentMethodTypes: pulumi.Output<string[]>;
|
|
117
|
+
readonly hooks: pulumi.Output<outputs.PaymentIntentHooks>;
|
|
118
|
+
/**
|
|
119
|
+
* The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
120
|
+
*/
|
|
121
|
+
readonly lastPaymentError: pulumi.Output<outputs.PaymentIntentLastPaymentError>;
|
|
122
|
+
/**
|
|
123
|
+
* ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> until PaymentIntent confirmation is attempted.
|
|
124
|
+
*/
|
|
125
|
+
readonly latestCharge: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
128
|
+
*/
|
|
129
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
130
|
+
/**
|
|
131
|
+
* Settings for Managed Payments.
|
|
132
|
+
*/
|
|
133
|
+
readonly managedPayments: pulumi.Output<outputs.PaymentIntentManagedPayments>;
|
|
134
|
+
/**
|
|
135
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
136
|
+
* ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
137
|
+
*/
|
|
138
|
+
readonly mandate: pulumi.Output<string | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
141
|
+
* This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
142
|
+
*/
|
|
143
|
+
readonly mandateData: pulumi.Output<outputs.PaymentIntentMandateData | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* 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. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
|
|
146
|
+
*/
|
|
147
|
+
readonly metadata: pulumi.Output<{
|
|
148
|
+
[key: string]: string;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.
|
|
152
|
+
*/
|
|
153
|
+
readonly nextAction: pulumi.Output<outputs.PaymentIntentNextAction>;
|
|
154
|
+
/**
|
|
155
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
156
|
+
*/
|
|
157
|
+
readonly object: pulumi.Output<string>;
|
|
158
|
+
/**
|
|
159
|
+
* You can specify the settlement merchant as the
|
|
160
|
+
* connected account using the <span pulumi-lang-nodejs="`onBehalfOf`" pulumi-lang-dotnet="`OnBehalfOf`" pulumi-lang-go="`onBehalfOf`" pulumi-lang-python="`on_behalf_of`" pulumi-lang-yaml="`onBehalfOf`" pulumi-lang-java="`onBehalfOf`" pulumi-lang-hcl="`on_behalf_of`">`onBehalfOf`</span> attribute on the charge. See the PaymentIntents [use case for connected accounts](https://www.terraform.io/payments/connected-accounts) for details.
|
|
161
|
+
*/
|
|
162
|
+
readonly onBehalfOf: pulumi.Output<string>;
|
|
163
|
+
readonly paymentDetails: pulumi.Output<outputs.PaymentIntentPaymentDetails>;
|
|
164
|
+
/**
|
|
165
|
+
* ID of the payment method used in this PaymentIntent.
|
|
166
|
+
*/
|
|
167
|
+
readonly paymentMethod: pulumi.Output<string>;
|
|
168
|
+
/**
|
|
169
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
170
|
+
* The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
|
|
171
|
+
*/
|
|
172
|
+
readonly paymentMethodConfiguration: pulumi.Output<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.
|
|
175
|
+
*/
|
|
176
|
+
readonly paymentMethodConfigurationDetails: pulumi.Output<outputs.PaymentIntentPaymentMethodConfigurationDetails>;
|
|
177
|
+
/**
|
|
178
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
179
|
+
* If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
|
180
|
+
* in the <span pulumi-lang-nodejs="[paymentMethod]" pulumi-lang-dotnet="[PaymentMethod]" pulumi-lang-go="[paymentMethod]" pulumi-lang-python="[payment_method]" pulumi-lang-yaml="[paymentMethod]" pulumi-lang-java="[paymentMethod]" pulumi-lang-hcl="[payment_method]">[paymentMethod]</span>(https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
|
|
181
|
+
* property on the PaymentIntent.
|
|
182
|
+
*/
|
|
183
|
+
readonly paymentMethodData: pulumi.Output<outputs.PaymentIntentPaymentMethodData | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Payment-method-specific configuration for this PaymentIntent.
|
|
186
|
+
*/
|
|
187
|
+
readonly paymentMethodOptions: pulumi.Output<outputs.PaymentIntentPaymentMethodOptions>;
|
|
188
|
+
/**
|
|
189
|
+
* The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
190
|
+
*/
|
|
191
|
+
readonly paymentMethodTypes: pulumi.Output<string[]>;
|
|
192
|
+
/**
|
|
193
|
+
* ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
|
|
194
|
+
*/
|
|
195
|
+
readonly paymentRecord: pulumi.Output<string>;
|
|
196
|
+
readonly presentmentDetails: pulumi.Output<outputs.PaymentIntentPresentmentDetails>;
|
|
197
|
+
/**
|
|
198
|
+
* If present, this property tells you about the processing state of the payment.
|
|
199
|
+
*/
|
|
200
|
+
readonly processing: pulumi.Output<outputs.PaymentIntentProcessing>;
|
|
201
|
+
/**
|
|
202
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
203
|
+
* Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
204
|
+
*/
|
|
205
|
+
readonly radarOptions: pulumi.Output<outputs.PaymentIntentRadarOptions | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* Email address that the receipt for the resulting payment will be sent to. If <span pulumi-lang-nodejs="`receiptEmail`" pulumi-lang-dotnet="`ReceiptEmail`" pulumi-lang-go="`receiptEmail`" pulumi-lang-python="`receipt_email`" pulumi-lang-yaml="`receiptEmail`" pulumi-lang-java="`receiptEmail`" pulumi-lang-hcl="`receipt_email`">`receiptEmail`</span> is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
208
|
+
*/
|
|
209
|
+
readonly receiptEmail: pulumi.Output<string>;
|
|
210
|
+
/**
|
|
211
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
212
|
+
* 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. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
213
|
+
*/
|
|
214
|
+
readonly returnUrl: pulumi.Output<string | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* ID of the review associated with this PaymentIntent, if any.
|
|
217
|
+
*/
|
|
218
|
+
readonly review: pulumi.Output<string>;
|
|
219
|
+
/**
|
|
220
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
221
|
+
*
|
|
222
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://www.terraform.io/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://www.terraform.io/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
223
|
+
*
|
|
224
|
+
* If the payment method is <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span> and isn't a digital wallet, Stripe creates and attaches a <span pulumi-lang-nodejs="[generatedCard]" pulumi-lang-dotnet="[GeneratedCard]" pulumi-lang-go="[generatedCard]" pulumi-lang-python="[generated_card]" pulumi-lang-yaml="[generatedCard]" pulumi-lang-java="[generatedCard]" pulumi-lang-hcl="[generated_card]">[generatedCard]</span>(https://www.terraform.io/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
225
|
+
*
|
|
226
|
+
* When processing card payments, Stripe uses <span pulumi-lang-nodejs="`setupFutureUsage`" pulumi-lang-dotnet="`SetupFutureUsage`" pulumi-lang-go="`setupFutureUsage`" pulumi-lang-python="`setup_future_usage`" pulumi-lang-yaml="`setupFutureUsage`" pulumi-lang-java="`setupFutureUsage`" pulumi-lang-hcl="`setup_future_usage`">`setupFutureUsage`</span> to help you comply with regional legislation and network rules, such as [SCA](https://www.terraform.io/strong-customer-authentication).
|
|
227
|
+
*/
|
|
228
|
+
readonly setupFutureUsage: pulumi.Output<string>;
|
|
229
|
+
/**
|
|
230
|
+
* Shipping information for this PaymentIntent.
|
|
231
|
+
*/
|
|
232
|
+
readonly shipping: pulumi.Output<outputs.PaymentIntentShipping>;
|
|
233
|
+
/**
|
|
234
|
+
* This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied.
|
|
235
|
+
*/
|
|
236
|
+
readonly source: pulumi.Output<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
239
|
+
*
|
|
240
|
+
* Setting this value for a card charge returns an error. For card charges, set the <span pulumi-lang-nodejs="[statementDescriptorSuffix]" pulumi-lang-dotnet="[StatementDescriptorSuffix]" pulumi-lang-go="[statementDescriptorSuffix]" pulumi-lang-python="[statement_descriptor_suffix]" pulumi-lang-yaml="[statementDescriptorSuffix]" pulumi-lang-java="[statementDescriptorSuffix]" pulumi-lang-hcl="[statement_descriptor_suffix]">[statementDescriptorSuffix]</span>(https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
|
|
241
|
+
*/
|
|
242
|
+
readonly statementDescriptor: pulumi.Output<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
|
|
245
|
+
*/
|
|
246
|
+
readonly statementDescriptorSuffix: pulumi.Output<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Status of this PaymentIntent, one of <span pulumi-lang-nodejs="`requiresPaymentMethod`" pulumi-lang-dotnet="`RequiresPaymentMethod`" pulumi-lang-go="`requiresPaymentMethod`" pulumi-lang-python="`requires_payment_method`" pulumi-lang-yaml="`requiresPaymentMethod`" pulumi-lang-java="`requiresPaymentMethod`" pulumi-lang-hcl="`requires_payment_method`">`requiresPaymentMethod`</span>, <span pulumi-lang-nodejs="`requiresConfirmation`" pulumi-lang-dotnet="`RequiresConfirmation`" pulumi-lang-go="`requiresConfirmation`" pulumi-lang-python="`requires_confirmation`" pulumi-lang-yaml="`requiresConfirmation`" pulumi-lang-java="`requiresConfirmation`" pulumi-lang-hcl="`requires_confirmation`">`requiresConfirmation`</span>, <span pulumi-lang-nodejs="`requiresAction`" pulumi-lang-dotnet="`RequiresAction`" pulumi-lang-go="`requiresAction`" pulumi-lang-python="`requires_action`" pulumi-lang-yaml="`requiresAction`" pulumi-lang-java="`requiresAction`" pulumi-lang-hcl="`requires_action`">`requiresAction`</span>, <span pulumi-lang-nodejs="`processing`" pulumi-lang-dotnet="`Processing`" pulumi-lang-go="`processing`" pulumi-lang-python="`processing`" pulumi-lang-yaml="`processing`" pulumi-lang-java="`processing`" pulumi-lang-hcl="`processing`">`processing`</span>, <span pulumi-lang-nodejs="`requiresCapture`" pulumi-lang-dotnet="`RequiresCapture`" pulumi-lang-go="`requiresCapture`" pulumi-lang-python="`requires_capture`" pulumi-lang-yaml="`requiresCapture`" pulumi-lang-java="`requiresCapture`" pulumi-lang-hcl="`requires_capture`">`requiresCapture`</span>, <span pulumi-lang-nodejs="`canceled`" pulumi-lang-dotnet="`Canceled`" pulumi-lang-go="`canceled`" pulumi-lang-python="`canceled`" pulumi-lang-yaml="`canceled`" pulumi-lang-java="`canceled`" pulumi-lang-hcl="`canceled`">`canceled`</span>, or <span pulumi-lang-nodejs="`succeeded`" pulumi-lang-dotnet="`Succeeded`" pulumi-lang-go="`succeeded`" pulumi-lang-python="`succeeded`" pulumi-lang-yaml="`succeeded`" pulumi-lang-java="`succeeded`" pulumi-lang-hcl="`succeeded`">`succeeded`</span>. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
|
|
249
|
+
*/
|
|
250
|
+
readonly status: pulumi.Output<string>;
|
|
251
|
+
/**
|
|
252
|
+
* The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
253
|
+
*/
|
|
254
|
+
readonly transferData: pulumi.Output<outputs.PaymentIntentTransferData>;
|
|
255
|
+
/**
|
|
256
|
+
* A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
257
|
+
*/
|
|
258
|
+
readonly transferGroup: pulumi.Output<string>;
|
|
259
|
+
/**
|
|
260
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
261
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
262
|
+
*/
|
|
263
|
+
readonly useStripeSdk: pulumi.Output<boolean | undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* Create a PaymentIntent resource with the given unique name, arguments, and options.
|
|
266
|
+
*
|
|
267
|
+
* @param name The _unique_ name of the resource.
|
|
268
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
269
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
270
|
+
*/
|
|
271
|
+
constructor(name: string, args: PaymentIntentArgs, opts?: pulumi.CustomResourceOptions);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Input properties used for looking up and filtering PaymentIntent resources.
|
|
275
|
+
*/
|
|
276
|
+
export interface PaymentIntentState {
|
|
277
|
+
/**
|
|
278
|
+
* Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
279
|
+
*/
|
|
280
|
+
amount?: pulumi.Input<number | undefined>;
|
|
281
|
+
/**
|
|
282
|
+
* Amount that can be captured from this PaymentIntent.
|
|
283
|
+
*/
|
|
284
|
+
amountCapturable?: pulumi.Input<number | undefined>;
|
|
285
|
+
/**
|
|
286
|
+
* Amount that this PaymentIntent collects.
|
|
287
|
+
*/
|
|
288
|
+
amountReceived?: pulumi.Input<number | undefined>;
|
|
289
|
+
/**
|
|
290
|
+
* ID of the Connect application that created the PaymentIntent.
|
|
291
|
+
*/
|
|
292
|
+
application?: pulumi.Input<string | undefined>;
|
|
293
|
+
/**
|
|
294
|
+
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
295
|
+
*/
|
|
296
|
+
applicationFeeAmount?: pulumi.Input<number | undefined>;
|
|
297
|
+
/**
|
|
298
|
+
* Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
299
|
+
*/
|
|
300
|
+
automaticPaymentMethods?: pulumi.Input<inputs.PaymentIntentAutomaticPaymentMethods | undefined>;
|
|
301
|
+
/**
|
|
302
|
+
* Populated when <span pulumi-lang-nodejs="`status`" pulumi-lang-dotnet="`Status`" pulumi-lang-go="`status`" pulumi-lang-python="`status`" pulumi-lang-yaml="`status`" pulumi-lang-java="`status`" pulumi-lang-hcl="`status`">`status`</span> is <span pulumi-lang-nodejs="`canceled`" pulumi-lang-dotnet="`Canceled`" pulumi-lang-go="`canceled`" pulumi-lang-python="`canceled`" pulumi-lang-yaml="`canceled`" pulumi-lang-java="`canceled`" pulumi-lang-hcl="`canceled`">`canceled`</span>, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
303
|
+
*/
|
|
304
|
+
canceledAt?: pulumi.Input<number | undefined>;
|
|
305
|
+
/**
|
|
306
|
+
* Reason for cancellation of this PaymentIntent, either user-provided (<span pulumi-lang-nodejs="`duplicate`" pulumi-lang-dotnet="`Duplicate`" pulumi-lang-go="`duplicate`" pulumi-lang-python="`duplicate`" pulumi-lang-yaml="`duplicate`" pulumi-lang-java="`duplicate`" pulumi-lang-hcl="`duplicate`">`duplicate`</span>, <span pulumi-lang-nodejs="`fraudulent`" pulumi-lang-dotnet="`Fraudulent`" pulumi-lang-go="`fraudulent`" pulumi-lang-python="`fraudulent`" pulumi-lang-yaml="`fraudulent`" pulumi-lang-java="`fraudulent`" pulumi-lang-hcl="`fraudulent`">`fraudulent`</span>, <span pulumi-lang-nodejs="`requestedByCustomer`" pulumi-lang-dotnet="`RequestedByCustomer`" pulumi-lang-go="`requestedByCustomer`" pulumi-lang-python="`requested_by_customer`" pulumi-lang-yaml="`requestedByCustomer`" pulumi-lang-java="`requestedByCustomer`" pulumi-lang-hcl="`requested_by_customer`">`requestedByCustomer`</span>, or <span pulumi-lang-nodejs="`abandoned`" pulumi-lang-dotnet="`Abandoned`" pulumi-lang-go="`abandoned`" pulumi-lang-python="`abandoned`" pulumi-lang-yaml="`abandoned`" pulumi-lang-java="`abandoned`" pulumi-lang-hcl="`abandoned`">`abandoned`</span>) or generated by Stripe internally (<span pulumi-lang-nodejs="`failedInvoice`" pulumi-lang-dotnet="`FailedInvoice`" pulumi-lang-go="`failedInvoice`" pulumi-lang-python="`failed_invoice`" pulumi-lang-yaml="`failedInvoice`" pulumi-lang-java="`failedInvoice`" pulumi-lang-hcl="`failed_invoice`">`failedInvoice`</span>, <span pulumi-lang-nodejs="`voidInvoice`" pulumi-lang-dotnet="`VoidInvoice`" pulumi-lang-go="`voidInvoice`" pulumi-lang-python="`void_invoice`" pulumi-lang-yaml="`voidInvoice`" pulumi-lang-java="`voidInvoice`" pulumi-lang-hcl="`void_invoice`">`voidInvoice`</span>, <span pulumi-lang-nodejs="`automatic`" pulumi-lang-dotnet="`Automatic`" pulumi-lang-go="`automatic`" pulumi-lang-python="`automatic`" pulumi-lang-yaml="`automatic`" pulumi-lang-java="`automatic`" pulumi-lang-hcl="`automatic`">`automatic`</span>, or <span pulumi-lang-nodejs="`expired`" pulumi-lang-dotnet="`Expired`" pulumi-lang-go="`expired`" pulumi-lang-python="`expired`" pulumi-lang-yaml="`expired`" pulumi-lang-java="`expired`" pulumi-lang-hcl="`expired`">`expired`</span>).
|
|
307
|
+
*/
|
|
308
|
+
cancellationReason?: pulumi.Input<string | undefined>;
|
|
309
|
+
/**
|
|
310
|
+
* Controls when the funds will be captured from the customer's account.
|
|
311
|
+
*/
|
|
312
|
+
captureMethod?: pulumi.Input<string | undefined>;
|
|
313
|
+
/**
|
|
314
|
+
* The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.
|
|
315
|
+
*
|
|
316
|
+
* The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
317
|
+
*
|
|
318
|
+
* Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how <span pulumi-lang-nodejs="`clientSecret`" pulumi-lang-dotnet="`ClientSecret`" pulumi-lang-go="`clientSecret`" pulumi-lang-python="`client_secret`" pulumi-lang-yaml="`clientSecret`" pulumi-lang-java="`clientSecret`" pulumi-lang-hcl="`client_secret`">`clientSecret`</span> should be handled.
|
|
319
|
+
*/
|
|
320
|
+
clientSecret?: pulumi.Input<string | undefined>;
|
|
321
|
+
/**
|
|
322
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
323
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> to attempt to [confirm this PaymentIntent](https://docs.stripe.com/api/payment_intents/confirm) immediately. This parameter defaults to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://docs.stripe.com/api/payment_intents/confirm).
|
|
324
|
+
*/
|
|
325
|
+
confirm?: pulumi.Input<boolean | undefined>;
|
|
326
|
+
/**
|
|
327
|
+
* Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
|
|
328
|
+
*/
|
|
329
|
+
confirmationMethod?: pulumi.Input<string | undefined>;
|
|
330
|
+
/**
|
|
331
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
332
|
+
* ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
333
|
+
*
|
|
334
|
+
* If the provided ConfirmationToken contains properties that are also being provided in this request, such as <span pulumi-lang-nodejs="`paymentMethod`" pulumi-lang-dotnet="`PaymentMethod`" pulumi-lang-go="`paymentMethod`" pulumi-lang-python="`payment_method`" pulumi-lang-yaml="`paymentMethod`" pulumi-lang-java="`paymentMethod`" pulumi-lang-hcl="`payment_method`">`paymentMethod`</span>, then the values in this request will take precedence.
|
|
335
|
+
*/
|
|
336
|
+
confirmationToken?: pulumi.Input<string | undefined>;
|
|
337
|
+
/**
|
|
338
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
339
|
+
*/
|
|
340
|
+
created?: pulumi.Input<number | undefined>;
|
|
341
|
+
/**
|
|
342
|
+
* 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).
|
|
343
|
+
*/
|
|
344
|
+
currency?: pulumi.Input<string | undefined>;
|
|
345
|
+
/**
|
|
346
|
+
* ID of the Customer this PaymentIntent belongs to, if one exists.
|
|
347
|
+
*
|
|
348
|
+
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
349
|
+
*
|
|
350
|
+
* If <span pulumi-lang-nodejs="[setupFutureUsage]" pulumi-lang-dotnet="[SetupFutureUsage]" pulumi-lang-go="[setupFutureUsage]" pulumi-lang-python="[setup_future_usage]" pulumi-lang-yaml="[setupFutureUsage]" pulumi-lang-java="[setupFutureUsage]" pulumi-lang-hcl="[setup_future_usage]">[setupFutureUsage]</span>(https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span>, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span> and isn't a digital wallet, then a <span pulumi-lang-nodejs="[generatedCard]" pulumi-lang-dotnet="[GeneratedCard]" pulumi-lang-go="[generatedCard]" pulumi-lang-python="[generated_card]" pulumi-lang-yaml="[generatedCard]" pulumi-lang-java="[generatedCard]" pulumi-lang-hcl="[generated_card]">[generatedCard]</span>(https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
351
|
+
*/
|
|
352
|
+
customer?: pulumi.Input<string | undefined>;
|
|
353
|
+
/**
|
|
354
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
355
|
+
*/
|
|
356
|
+
description?: pulumi.Input<string | undefined>;
|
|
357
|
+
/**
|
|
358
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
359
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> to fail the payment attempt if the PaymentIntent transitions into <span pulumi-lang-nodejs="`requiresAction`" pulumi-lang-dotnet="`RequiresAction`" pulumi-lang-go="`requiresAction`" pulumi-lang-python="`requires_action`" pulumi-lang-yaml="`requiresAction`" pulumi-lang-java="`requiresAction`" pulumi-lang-hcl="`requires_action`">`requiresAction`</span>. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
360
|
+
*/
|
|
361
|
+
errorOnRequiresAction?: pulumi.Input<boolean | undefined>;
|
|
362
|
+
/**
|
|
363
|
+
* The list of payment method types to exclude from use with this payment.
|
|
364
|
+
*/
|
|
365
|
+
excludedPaymentMethodTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
366
|
+
hooks?: pulumi.Input<inputs.PaymentIntentHooks | undefined>;
|
|
367
|
+
/**
|
|
368
|
+
* The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
369
|
+
*/
|
|
370
|
+
lastPaymentError?: pulumi.Input<inputs.PaymentIntentLastPaymentError | undefined>;
|
|
371
|
+
/**
|
|
372
|
+
* ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> until PaymentIntent confirmation is attempted.
|
|
373
|
+
*/
|
|
374
|
+
latestCharge?: pulumi.Input<string | undefined>;
|
|
375
|
+
/**
|
|
376
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
377
|
+
*/
|
|
378
|
+
livemode?: pulumi.Input<boolean | undefined>;
|
|
379
|
+
/**
|
|
380
|
+
* Settings for Managed Payments.
|
|
381
|
+
*/
|
|
382
|
+
managedPayments?: pulumi.Input<inputs.PaymentIntentManagedPayments | undefined>;
|
|
383
|
+
/**
|
|
384
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
385
|
+
* ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
386
|
+
*/
|
|
387
|
+
mandate?: pulumi.Input<string | undefined>;
|
|
388
|
+
/**
|
|
389
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
390
|
+
* This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
391
|
+
*/
|
|
392
|
+
mandateData?: pulumi.Input<inputs.PaymentIntentMandateData | undefined>;
|
|
393
|
+
/**
|
|
394
|
+
* 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. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
|
|
395
|
+
*/
|
|
396
|
+
metadata?: pulumi.Input<{
|
|
397
|
+
[key: string]: pulumi.Input<string>;
|
|
398
|
+
} | undefined>;
|
|
399
|
+
/**
|
|
400
|
+
* If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.
|
|
401
|
+
*/
|
|
402
|
+
nextAction?: pulumi.Input<inputs.PaymentIntentNextAction | undefined>;
|
|
403
|
+
/**
|
|
404
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
405
|
+
*/
|
|
406
|
+
object?: pulumi.Input<string | undefined>;
|
|
407
|
+
/**
|
|
408
|
+
* You can specify the settlement merchant as the
|
|
409
|
+
* connected account using the <span pulumi-lang-nodejs="`onBehalfOf`" pulumi-lang-dotnet="`OnBehalfOf`" pulumi-lang-go="`onBehalfOf`" pulumi-lang-python="`on_behalf_of`" pulumi-lang-yaml="`onBehalfOf`" pulumi-lang-java="`onBehalfOf`" pulumi-lang-hcl="`on_behalf_of`">`onBehalfOf`</span> attribute on the charge. See the PaymentIntents [use case for connected accounts](https://www.terraform.io/payments/connected-accounts) for details.
|
|
410
|
+
*/
|
|
411
|
+
onBehalfOf?: pulumi.Input<string | undefined>;
|
|
412
|
+
paymentDetails?: pulumi.Input<inputs.PaymentIntentPaymentDetails | undefined>;
|
|
413
|
+
/**
|
|
414
|
+
* ID of the payment method used in this PaymentIntent.
|
|
415
|
+
*/
|
|
416
|
+
paymentMethod?: pulumi.Input<string | undefined>;
|
|
417
|
+
/**
|
|
418
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
419
|
+
* The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
|
|
420
|
+
*/
|
|
421
|
+
paymentMethodConfiguration?: pulumi.Input<string | undefined>;
|
|
422
|
+
/**
|
|
423
|
+
* Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.
|
|
424
|
+
*/
|
|
425
|
+
paymentMethodConfigurationDetails?: pulumi.Input<inputs.PaymentIntentPaymentMethodConfigurationDetails | undefined>;
|
|
426
|
+
/**
|
|
427
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
428
|
+
* If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
|
429
|
+
* in the <span pulumi-lang-nodejs="[paymentMethod]" pulumi-lang-dotnet="[PaymentMethod]" pulumi-lang-go="[paymentMethod]" pulumi-lang-python="[payment_method]" pulumi-lang-yaml="[paymentMethod]" pulumi-lang-java="[paymentMethod]" pulumi-lang-hcl="[payment_method]">[paymentMethod]</span>(https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
|
|
430
|
+
* property on the PaymentIntent.
|
|
431
|
+
*/
|
|
432
|
+
paymentMethodData?: pulumi.Input<inputs.PaymentIntentPaymentMethodData | undefined>;
|
|
433
|
+
/**
|
|
434
|
+
* Payment-method-specific configuration for this PaymentIntent.
|
|
435
|
+
*/
|
|
436
|
+
paymentMethodOptions?: pulumi.Input<inputs.PaymentIntentPaymentMethodOptions | undefined>;
|
|
437
|
+
/**
|
|
438
|
+
* The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
439
|
+
*/
|
|
440
|
+
paymentMethodTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
441
|
+
/**
|
|
442
|
+
* ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
|
|
443
|
+
*/
|
|
444
|
+
paymentRecord?: pulumi.Input<string | undefined>;
|
|
445
|
+
presentmentDetails?: pulumi.Input<inputs.PaymentIntentPresentmentDetails | undefined>;
|
|
446
|
+
/**
|
|
447
|
+
* If present, this property tells you about the processing state of the payment.
|
|
448
|
+
*/
|
|
449
|
+
processing?: pulumi.Input<inputs.PaymentIntentProcessing | undefined>;
|
|
450
|
+
/**
|
|
451
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
452
|
+
* Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
453
|
+
*/
|
|
454
|
+
radarOptions?: pulumi.Input<inputs.PaymentIntentRadarOptions | undefined>;
|
|
455
|
+
/**
|
|
456
|
+
* Email address that the receipt for the resulting payment will be sent to. If <span pulumi-lang-nodejs="`receiptEmail`" pulumi-lang-dotnet="`ReceiptEmail`" pulumi-lang-go="`receiptEmail`" pulumi-lang-python="`receipt_email`" pulumi-lang-yaml="`receiptEmail`" pulumi-lang-java="`receiptEmail`" pulumi-lang-hcl="`receipt_email`">`receiptEmail`</span> is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
457
|
+
*/
|
|
458
|
+
receiptEmail?: pulumi.Input<string | undefined>;
|
|
459
|
+
/**
|
|
460
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
461
|
+
* 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. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
462
|
+
*/
|
|
463
|
+
returnUrl?: pulumi.Input<string | undefined>;
|
|
464
|
+
/**
|
|
465
|
+
* ID of the review associated with this PaymentIntent, if any.
|
|
466
|
+
*/
|
|
467
|
+
review?: pulumi.Input<string | undefined>;
|
|
468
|
+
/**
|
|
469
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
470
|
+
*
|
|
471
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://www.terraform.io/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://www.terraform.io/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
472
|
+
*
|
|
473
|
+
* If the payment method is <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span> and isn't a digital wallet, Stripe creates and attaches a <span pulumi-lang-nodejs="[generatedCard]" pulumi-lang-dotnet="[GeneratedCard]" pulumi-lang-go="[generatedCard]" pulumi-lang-python="[generated_card]" pulumi-lang-yaml="[generatedCard]" pulumi-lang-java="[generatedCard]" pulumi-lang-hcl="[generated_card]">[generatedCard]</span>(https://www.terraform.io/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
474
|
+
*
|
|
475
|
+
* When processing card payments, Stripe uses <span pulumi-lang-nodejs="`setupFutureUsage`" pulumi-lang-dotnet="`SetupFutureUsage`" pulumi-lang-go="`setupFutureUsage`" pulumi-lang-python="`setup_future_usage`" pulumi-lang-yaml="`setupFutureUsage`" pulumi-lang-java="`setupFutureUsage`" pulumi-lang-hcl="`setup_future_usage`">`setupFutureUsage`</span> to help you comply with regional legislation and network rules, such as [SCA](https://www.terraform.io/strong-customer-authentication).
|
|
476
|
+
*/
|
|
477
|
+
setupFutureUsage?: pulumi.Input<string | undefined>;
|
|
478
|
+
/**
|
|
479
|
+
* Shipping information for this PaymentIntent.
|
|
480
|
+
*/
|
|
481
|
+
shipping?: pulumi.Input<inputs.PaymentIntentShipping | undefined>;
|
|
482
|
+
/**
|
|
483
|
+
* This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied.
|
|
484
|
+
*/
|
|
485
|
+
source?: pulumi.Input<string | undefined>;
|
|
486
|
+
/**
|
|
487
|
+
* Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
488
|
+
*
|
|
489
|
+
* Setting this value for a card charge returns an error. For card charges, set the <span pulumi-lang-nodejs="[statementDescriptorSuffix]" pulumi-lang-dotnet="[StatementDescriptorSuffix]" pulumi-lang-go="[statementDescriptorSuffix]" pulumi-lang-python="[statement_descriptor_suffix]" pulumi-lang-yaml="[statementDescriptorSuffix]" pulumi-lang-java="[statementDescriptorSuffix]" pulumi-lang-hcl="[statement_descriptor_suffix]">[statementDescriptorSuffix]</span>(https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
|
|
490
|
+
*/
|
|
491
|
+
statementDescriptor?: pulumi.Input<string | undefined>;
|
|
492
|
+
/**
|
|
493
|
+
* Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
|
|
494
|
+
*/
|
|
495
|
+
statementDescriptorSuffix?: pulumi.Input<string | undefined>;
|
|
496
|
+
/**
|
|
497
|
+
* Status of this PaymentIntent, one of <span pulumi-lang-nodejs="`requiresPaymentMethod`" pulumi-lang-dotnet="`RequiresPaymentMethod`" pulumi-lang-go="`requiresPaymentMethod`" pulumi-lang-python="`requires_payment_method`" pulumi-lang-yaml="`requiresPaymentMethod`" pulumi-lang-java="`requiresPaymentMethod`" pulumi-lang-hcl="`requires_payment_method`">`requiresPaymentMethod`</span>, <span pulumi-lang-nodejs="`requiresConfirmation`" pulumi-lang-dotnet="`RequiresConfirmation`" pulumi-lang-go="`requiresConfirmation`" pulumi-lang-python="`requires_confirmation`" pulumi-lang-yaml="`requiresConfirmation`" pulumi-lang-java="`requiresConfirmation`" pulumi-lang-hcl="`requires_confirmation`">`requiresConfirmation`</span>, <span pulumi-lang-nodejs="`requiresAction`" pulumi-lang-dotnet="`RequiresAction`" pulumi-lang-go="`requiresAction`" pulumi-lang-python="`requires_action`" pulumi-lang-yaml="`requiresAction`" pulumi-lang-java="`requiresAction`" pulumi-lang-hcl="`requires_action`">`requiresAction`</span>, <span pulumi-lang-nodejs="`processing`" pulumi-lang-dotnet="`Processing`" pulumi-lang-go="`processing`" pulumi-lang-python="`processing`" pulumi-lang-yaml="`processing`" pulumi-lang-java="`processing`" pulumi-lang-hcl="`processing`">`processing`</span>, <span pulumi-lang-nodejs="`requiresCapture`" pulumi-lang-dotnet="`RequiresCapture`" pulumi-lang-go="`requiresCapture`" pulumi-lang-python="`requires_capture`" pulumi-lang-yaml="`requiresCapture`" pulumi-lang-java="`requiresCapture`" pulumi-lang-hcl="`requires_capture`">`requiresCapture`</span>, <span pulumi-lang-nodejs="`canceled`" pulumi-lang-dotnet="`Canceled`" pulumi-lang-go="`canceled`" pulumi-lang-python="`canceled`" pulumi-lang-yaml="`canceled`" pulumi-lang-java="`canceled`" pulumi-lang-hcl="`canceled`">`canceled`</span>, or <span pulumi-lang-nodejs="`succeeded`" pulumi-lang-dotnet="`Succeeded`" pulumi-lang-go="`succeeded`" pulumi-lang-python="`succeeded`" pulumi-lang-yaml="`succeeded`" pulumi-lang-java="`succeeded`" pulumi-lang-hcl="`succeeded`">`succeeded`</span>. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
|
|
498
|
+
*/
|
|
499
|
+
status?: pulumi.Input<string | undefined>;
|
|
500
|
+
/**
|
|
501
|
+
* The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
502
|
+
*/
|
|
503
|
+
transferData?: pulumi.Input<inputs.PaymentIntentTransferData | undefined>;
|
|
504
|
+
/**
|
|
505
|
+
* A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
506
|
+
*/
|
|
507
|
+
transferGroup?: pulumi.Input<string | undefined>;
|
|
508
|
+
/**
|
|
509
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
510
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
511
|
+
*/
|
|
512
|
+
useStripeSdk?: pulumi.Input<boolean | undefined>;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* The set of arguments for constructing a PaymentIntent resource.
|
|
516
|
+
*/
|
|
517
|
+
export interface PaymentIntentArgs {
|
|
518
|
+
/**
|
|
519
|
+
* Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
520
|
+
*/
|
|
521
|
+
amount: pulumi.Input<number>;
|
|
522
|
+
/**
|
|
523
|
+
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
524
|
+
*/
|
|
525
|
+
applicationFeeAmount?: pulumi.Input<number | undefined>;
|
|
526
|
+
/**
|
|
527
|
+
* Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
528
|
+
*/
|
|
529
|
+
automaticPaymentMethods?: pulumi.Input<inputs.PaymentIntentAutomaticPaymentMethods | undefined>;
|
|
530
|
+
/**
|
|
531
|
+
* Controls when the funds will be captured from the customer's account.
|
|
532
|
+
*/
|
|
533
|
+
captureMethod?: pulumi.Input<string | undefined>;
|
|
534
|
+
/**
|
|
535
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
536
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> to attempt to [confirm this PaymentIntent](https://docs.stripe.com/api/payment_intents/confirm) immediately. This parameter defaults to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://docs.stripe.com/api/payment_intents/confirm).
|
|
537
|
+
*/
|
|
538
|
+
confirm?: pulumi.Input<boolean | undefined>;
|
|
539
|
+
/**
|
|
540
|
+
* Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
|
|
541
|
+
*/
|
|
542
|
+
confirmationMethod?: pulumi.Input<string | undefined>;
|
|
543
|
+
/**
|
|
544
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
545
|
+
* ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
546
|
+
*
|
|
547
|
+
* If the provided ConfirmationToken contains properties that are also being provided in this request, such as <span pulumi-lang-nodejs="`paymentMethod`" pulumi-lang-dotnet="`PaymentMethod`" pulumi-lang-go="`paymentMethod`" pulumi-lang-python="`payment_method`" pulumi-lang-yaml="`paymentMethod`" pulumi-lang-java="`paymentMethod`" pulumi-lang-hcl="`payment_method`">`paymentMethod`</span>, then the values in this request will take precedence.
|
|
548
|
+
*/
|
|
549
|
+
confirmationToken?: pulumi.Input<string | undefined>;
|
|
550
|
+
/**
|
|
551
|
+
* 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).
|
|
552
|
+
*/
|
|
553
|
+
currency: pulumi.Input<string>;
|
|
554
|
+
/**
|
|
555
|
+
* ID of the Customer this PaymentIntent belongs to, if one exists.
|
|
556
|
+
*
|
|
557
|
+
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
558
|
+
*
|
|
559
|
+
* If <span pulumi-lang-nodejs="[setupFutureUsage]" pulumi-lang-dotnet="[SetupFutureUsage]" pulumi-lang-go="[setupFutureUsage]" pulumi-lang-python="[setup_future_usage]" pulumi-lang-yaml="[setupFutureUsage]" pulumi-lang-java="[setupFutureUsage]" pulumi-lang-hcl="[setup_future_usage]">[setupFutureUsage]</span>(https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span>, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span> and isn't a digital wallet, then a <span pulumi-lang-nodejs="[generatedCard]" pulumi-lang-dotnet="[GeneratedCard]" pulumi-lang-go="[generatedCard]" pulumi-lang-python="[generated_card]" pulumi-lang-yaml="[generatedCard]" pulumi-lang-java="[generatedCard]" pulumi-lang-hcl="[generated_card]">[generatedCard]</span>(https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
560
|
+
*/
|
|
561
|
+
customer?: pulumi.Input<string | undefined>;
|
|
562
|
+
/**
|
|
563
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
564
|
+
*/
|
|
565
|
+
description?: pulumi.Input<string | undefined>;
|
|
566
|
+
/**
|
|
567
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
568
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> to fail the payment attempt if the PaymentIntent transitions into <span pulumi-lang-nodejs="`requiresAction`" pulumi-lang-dotnet="`RequiresAction`" pulumi-lang-go="`requiresAction`" pulumi-lang-python="`requires_action`" pulumi-lang-yaml="`requiresAction`" pulumi-lang-java="`requiresAction`" pulumi-lang-hcl="`requires_action`">`requiresAction`</span>. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
569
|
+
*/
|
|
570
|
+
errorOnRequiresAction?: pulumi.Input<boolean | undefined>;
|
|
571
|
+
/**
|
|
572
|
+
* The list of payment method types to exclude from use with this payment.
|
|
573
|
+
*/
|
|
574
|
+
excludedPaymentMethodTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
575
|
+
hooks?: pulumi.Input<inputs.PaymentIntentHooks | undefined>;
|
|
576
|
+
/**
|
|
577
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
578
|
+
* ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
579
|
+
*/
|
|
580
|
+
mandate?: pulumi.Input<string | undefined>;
|
|
581
|
+
/**
|
|
582
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
583
|
+
* This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
584
|
+
*/
|
|
585
|
+
mandateData?: pulumi.Input<inputs.PaymentIntentMandateData | undefined>;
|
|
586
|
+
/**
|
|
587
|
+
* 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. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
|
|
588
|
+
*/
|
|
589
|
+
metadata?: pulumi.Input<{
|
|
590
|
+
[key: string]: pulumi.Input<string>;
|
|
591
|
+
} | undefined>;
|
|
592
|
+
/**
|
|
593
|
+
* You can specify the settlement merchant as the
|
|
594
|
+
* connected account using the <span pulumi-lang-nodejs="`onBehalfOf`" pulumi-lang-dotnet="`OnBehalfOf`" pulumi-lang-go="`onBehalfOf`" pulumi-lang-python="`on_behalf_of`" pulumi-lang-yaml="`onBehalfOf`" pulumi-lang-java="`onBehalfOf`" pulumi-lang-hcl="`on_behalf_of`">`onBehalfOf`</span> attribute on the charge. See the PaymentIntents [use case for connected accounts](https://www.terraform.io/payments/connected-accounts) for details.
|
|
595
|
+
*/
|
|
596
|
+
onBehalfOf?: pulumi.Input<string | undefined>;
|
|
597
|
+
paymentDetails?: pulumi.Input<inputs.PaymentIntentPaymentDetails | undefined>;
|
|
598
|
+
/**
|
|
599
|
+
* ID of the payment method used in this PaymentIntent.
|
|
600
|
+
*/
|
|
601
|
+
paymentMethod?: pulumi.Input<string | undefined>;
|
|
602
|
+
/**
|
|
603
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
604
|
+
* The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
|
|
605
|
+
*/
|
|
606
|
+
paymentMethodConfiguration?: pulumi.Input<string | undefined>;
|
|
607
|
+
/**
|
|
608
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
609
|
+
* If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
|
610
|
+
* in the <span pulumi-lang-nodejs="[paymentMethod]" pulumi-lang-dotnet="[PaymentMethod]" pulumi-lang-go="[paymentMethod]" pulumi-lang-python="[payment_method]" pulumi-lang-yaml="[paymentMethod]" pulumi-lang-java="[paymentMethod]" pulumi-lang-hcl="[payment_method]">[paymentMethod]</span>(https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
|
|
611
|
+
* property on the PaymentIntent.
|
|
612
|
+
*/
|
|
613
|
+
paymentMethodData?: pulumi.Input<inputs.PaymentIntentPaymentMethodData | undefined>;
|
|
614
|
+
/**
|
|
615
|
+
* Payment-method-specific configuration for this PaymentIntent.
|
|
616
|
+
*/
|
|
617
|
+
paymentMethodOptions?: pulumi.Input<inputs.PaymentIntentPaymentMethodOptions | undefined>;
|
|
618
|
+
/**
|
|
619
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
620
|
+
* Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
621
|
+
*/
|
|
622
|
+
radarOptions?: pulumi.Input<inputs.PaymentIntentRadarOptions | undefined>;
|
|
623
|
+
/**
|
|
624
|
+
* Email address that the receipt for the resulting payment will be sent to. If <span pulumi-lang-nodejs="`receiptEmail`" pulumi-lang-dotnet="`ReceiptEmail`" pulumi-lang-go="`receiptEmail`" pulumi-lang-python="`receipt_email`" pulumi-lang-yaml="`receiptEmail`" pulumi-lang-java="`receiptEmail`" pulumi-lang-hcl="`receipt_email`">`receiptEmail`</span> is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
625
|
+
*/
|
|
626
|
+
receiptEmail?: pulumi.Input<string | undefined>;
|
|
627
|
+
/**
|
|
628
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
629
|
+
* 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. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
630
|
+
*/
|
|
631
|
+
returnUrl?: pulumi.Input<string | undefined>;
|
|
632
|
+
/**
|
|
633
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
634
|
+
*
|
|
635
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://www.terraform.io/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://www.terraform.io/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
636
|
+
*
|
|
637
|
+
* If the payment method is <span pulumi-lang-nodejs="`cardPresent`" pulumi-lang-dotnet="`CardPresent`" pulumi-lang-go="`cardPresent`" pulumi-lang-python="`card_present`" pulumi-lang-yaml="`cardPresent`" pulumi-lang-java="`cardPresent`" pulumi-lang-hcl="`card_present`">`cardPresent`</span> and isn't a digital wallet, Stripe creates and attaches a <span pulumi-lang-nodejs="[generatedCard]" pulumi-lang-dotnet="[GeneratedCard]" pulumi-lang-go="[generatedCard]" pulumi-lang-python="[generated_card]" pulumi-lang-yaml="[generatedCard]" pulumi-lang-java="[generatedCard]" pulumi-lang-hcl="[generated_card]">[generatedCard]</span>(https://www.terraform.io/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
638
|
+
*
|
|
639
|
+
* When processing card payments, Stripe uses <span pulumi-lang-nodejs="`setupFutureUsage`" pulumi-lang-dotnet="`SetupFutureUsage`" pulumi-lang-go="`setupFutureUsage`" pulumi-lang-python="`setup_future_usage`" pulumi-lang-yaml="`setupFutureUsage`" pulumi-lang-java="`setupFutureUsage`" pulumi-lang-hcl="`setup_future_usage`">`setupFutureUsage`</span> to help you comply with regional legislation and network rules, such as [SCA](https://www.terraform.io/strong-customer-authentication).
|
|
640
|
+
*/
|
|
641
|
+
setupFutureUsage?: pulumi.Input<string | undefined>;
|
|
642
|
+
/**
|
|
643
|
+
* Shipping information for this PaymentIntent.
|
|
644
|
+
*/
|
|
645
|
+
shipping?: pulumi.Input<inputs.PaymentIntentShipping | undefined>;
|
|
646
|
+
/**
|
|
647
|
+
* Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
648
|
+
*
|
|
649
|
+
* Setting this value for a card charge returns an error. For card charges, set the <span pulumi-lang-nodejs="[statementDescriptorSuffix]" pulumi-lang-dotnet="[StatementDescriptorSuffix]" pulumi-lang-go="[statementDescriptorSuffix]" pulumi-lang-python="[statement_descriptor_suffix]" pulumi-lang-yaml="[statementDescriptorSuffix]" pulumi-lang-java="[statementDescriptorSuffix]" pulumi-lang-hcl="[statement_descriptor_suffix]">[statementDescriptorSuffix]</span>(https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
|
|
650
|
+
*/
|
|
651
|
+
statementDescriptor?: pulumi.Input<string | undefined>;
|
|
652
|
+
/**
|
|
653
|
+
* Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
|
|
654
|
+
*/
|
|
655
|
+
statementDescriptorSuffix?: pulumi.Input<string | undefined>;
|
|
656
|
+
/**
|
|
657
|
+
* The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
658
|
+
*/
|
|
659
|
+
transferData?: pulumi.Input<inputs.PaymentIntentTransferData | undefined>;
|
|
660
|
+
/**
|
|
661
|
+
* A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
662
|
+
*/
|
|
663
|
+
transferGroup?: pulumi.Input<string | undefined>;
|
|
664
|
+
/**
|
|
665
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
666
|
+
* Set to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
667
|
+
*/
|
|
668
|
+
useStripeSdk?: pulumi.Input<boolean | undefined>;
|
|
669
|
+
}
|
|
670
|
+
//# sourceMappingURL=paymentIntent.d.ts.map
|