stripe 23.2.0-alpha.1 → 23.2.0-alpha.2
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/CHANGELOG.md +55 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/StripeEventNotificationHandler.js +2 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/WorkloadIdentity.js +1 -1
- package/cjs/resources/AccountSessions.d.ts +226 -0
- package/cjs/resources/Apps/Installs.d.ts +1 -1
- package/cjs/resources/Apps/Installs.js +1 -1
- package/cjs/resources/Charges.d.ts +383 -0
- package/cjs/resources/Checkout/Sessions.d.ts +82 -6
- package/cjs/resources/ConfirmationTokens.d.ts +40 -1
- package/cjs/resources/CustomerTaxExemptions.d.ts +28 -0
- package/cjs/resources/Customers.d.ts +31 -1
- package/cjs/resources/Disputes.d.ts +1 -1
- package/cjs/resources/Invoices.d.ts +15 -3
- package/cjs/resources/Issuing/Cards.d.ts +2 -2
- package/cjs/resources/PaymentAttemptRecords.d.ts +140 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +48 -0
- package/cjs/resources/PaymentIntents.d.ts +532 -20
- package/cjs/resources/PaymentLinks.d.ts +3 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/cjs/resources/PaymentMethods.d.ts +66 -3
- package/cjs/resources/PaymentRecords.d.ts +85 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +1 -1
- package/cjs/resources/Quotes.d.ts +2 -2
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +45 -4
- package/cjs/resources/Refunds.d.ts +31 -1
- package/cjs/resources/Reporting/ReportRuns.d.ts +4 -0
- package/cjs/resources/SetupAttempts.d.ts +4 -0
- package/cjs/resources/SetupIntents.d.ts +129 -15
- package/cjs/resources/Subscriptions.d.ts +21 -5
- package/cjs/resources/Tax/Certificates.d.ts +107 -0
- package/cjs/resources/Tax/Certificates.js +35 -0
- package/cjs/resources/Tax/Certificates.js.map +1 -0
- package/cjs/resources/Tax/FormCorrections.d.ts +29 -0
- package/cjs/resources/Tax/FormCorrections.js +4 -0
- package/cjs/resources/Tax/FormCorrections.js.map +1 -0
- package/cjs/resources/Tax/Forms.d.ts +376 -1
- package/cjs/resources/Tax/Forms.js +6 -0
- package/cjs/resources/Tax/Forms.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +38 -25
- package/cjs/resources/Tax/index.js +2 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +25 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +22 -0
- package/cjs/resources/Treasury/OutboundPayments.d.ts +22 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +22 -0
- package/cjs/resources/V2/Core/AccountSessions.d.ts +28 -0
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +34 -2
- package/cjs/resources/V2/Core/Events.d.ts +85 -5
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js +4 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js +23 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js +29 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +16 -7
- package/cjs/resources/V2/Extend/index.js +2 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +34 -2
- package/cjs/resources/V2/MoneyManagement/FundingIntents.d.ts +30 -2
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +34 -2
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +32 -2
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +34 -2
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +30 -2
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +30 -2
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources.js +4 -0
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +459 -0
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/StripeEventNotificationHandler.js +2 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/WorkloadIdentity.js +1 -1
- package/esm/resources/AccountSessions.d.ts +226 -0
- package/esm/resources/Apps/Installs.d.ts +1 -1
- package/esm/resources/Apps/Installs.js +1 -1
- package/esm/resources/Charges.d.ts +383 -0
- package/esm/resources/Checkout/Sessions.d.ts +82 -6
- package/esm/resources/ConfirmationTokens.d.ts +40 -1
- package/esm/resources/CustomerTaxExemptions.d.ts +28 -0
- package/esm/resources/Customers.d.ts +31 -1
- package/esm/resources/Disputes.d.ts +1 -1
- package/esm/resources/Invoices.d.ts +15 -3
- package/esm/resources/Issuing/Cards.d.ts +2 -2
- package/esm/resources/PaymentAttemptRecords.d.ts +140 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +48 -0
- package/esm/resources/PaymentIntents.d.ts +532 -20
- package/esm/resources/PaymentLinks.d.ts +3 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/esm/resources/PaymentMethods.d.ts +66 -3
- package/esm/resources/PaymentRecords.d.ts +85 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +1 -1
- package/esm/resources/Quotes.d.ts +2 -2
- package/esm/resources/Radar/PaymentEvaluations.d.ts +45 -4
- package/esm/resources/Refunds.d.ts +31 -1
- package/esm/resources/Reporting/ReportRuns.d.ts +4 -0
- package/esm/resources/SetupAttempts.d.ts +4 -0
- package/esm/resources/SetupIntents.d.ts +129 -15
- package/esm/resources/Subscriptions.d.ts +21 -5
- package/esm/resources/Tax/Certificates.d.ts +107 -0
- package/esm/resources/Tax/Certificates.js +31 -0
- package/esm/resources/Tax/Certificates.js.map +1 -0
- package/esm/resources/Tax/FormCorrections.d.ts +29 -0
- package/esm/resources/Tax/FormCorrections.js +3 -0
- package/esm/resources/Tax/FormCorrections.js.map +1 -0
- package/esm/resources/Tax/Forms.d.ts +376 -1
- package/esm/resources/Tax/Forms.js +6 -0
- package/esm/resources/Tax/Forms.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +38 -25
- package/esm/resources/Tax/index.js +2 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +25 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +22 -0
- package/esm/resources/Treasury/OutboundPayments.d.ts +22 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +22 -0
- package/esm/resources/V2/Core/AccountSessions.d.ts +28 -0
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +34 -2
- package/esm/resources/V2/Core/Events.d.ts +85 -5
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js +3 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js +19 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js +25 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +16 -7
- package/esm/resources/V2/Extend/index.js +2 -0
- package/esm/resources/V2/Extend/index.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +34 -2
- package/esm/resources/V2/MoneyManagement/FundingIntents.d.ts +30 -2
- package/esm/resources/V2/MoneyManagement/FundingIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +34 -2
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +32 -2
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +34 -2
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +30 -2
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +30 -2
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources.js +4 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.js +1 -1
- package/esm/stripe.esm.node.js +1 -1
- package/package.json +1 -1
|
@@ -442,7 +442,7 @@ export declare namespace PaymentIntent {
|
|
|
442
442
|
*/
|
|
443
443
|
enabled: boolean | null;
|
|
444
444
|
}
|
|
445
|
-
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
445
|
+
type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
446
446
|
interface AmountDetails {
|
|
447
447
|
/**
|
|
448
448
|
* The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
@@ -478,7 +478,7 @@ export declare namespace PaymentIntent {
|
|
|
478
478
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'expired' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice' | OtherString;
|
|
479
479
|
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
|
|
480
480
|
type ConfirmationMethod = 'automatic' | 'manual' | OtherString;
|
|
481
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
481
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
482
482
|
interface Hooks {
|
|
483
483
|
inputs?: Hooks.Inputs;
|
|
484
484
|
}
|
|
@@ -1199,7 +1199,7 @@ export declare namespace PaymentIntent {
|
|
|
1199
1199
|
};
|
|
1200
1200
|
interface VerifyWithMicrodeposits {
|
|
1201
1201
|
/**
|
|
1202
|
-
* The timestamp when the microdeposits are expected to land.
|
|
1202
|
+
* The timestamp when the microdeposits are expected to land. Null for instant microdeposits.
|
|
1203
1203
|
*/
|
|
1204
1204
|
arrival_date: number;
|
|
1205
1205
|
/**
|
|
@@ -3007,6 +3007,7 @@ export declare namespace PaymentIntent {
|
|
|
3007
3007
|
target_date?: string;
|
|
3008
3008
|
}
|
|
3009
3009
|
interface BacsDebit {
|
|
3010
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
3010
3011
|
mandate_options?: BacsDebit.MandateOptions;
|
|
3011
3012
|
/**
|
|
3012
3013
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3108,6 +3109,7 @@ export declare namespace PaymentIntent {
|
|
|
3108
3109
|
* Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
3109
3110
|
*/
|
|
3110
3111
|
network: Card.Network | null;
|
|
3112
|
+
payment_details?: Card.PaymentDetails;
|
|
3111
3113
|
/**
|
|
3112
3114
|
* Indicates whether Stripe may synchronously request a real-time card account update for this confirmation. `if_available` allows the update; `never` opts out. Defaults to `if_available` and is omitted from the response unless explicitly set on this confirmation. This does not affect batch Card Account Updater.
|
|
3113
3115
|
*/
|
|
@@ -3193,6 +3195,7 @@ export declare namespace PaymentIntent {
|
|
|
3193
3195
|
* Fleet prompting data for this payment.
|
|
3194
3196
|
*/
|
|
3195
3197
|
fleet?: CardPresent.Fleet | null;
|
|
3198
|
+
payment_details?: CardPresent.PaymentDetails;
|
|
3196
3199
|
/**
|
|
3197
3200
|
* Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
3198
3201
|
*/
|
|
@@ -4077,6 +4080,9 @@ export declare namespace PaymentIntent {
|
|
|
4077
4080
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4078
4081
|
}
|
|
4079
4082
|
namespace BacsDebit {
|
|
4083
|
+
interface FinancialConnections {
|
|
4084
|
+
return_url?: string;
|
|
4085
|
+
}
|
|
4080
4086
|
interface MandateOptions {
|
|
4081
4087
|
/**
|
|
4082
4088
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -4084,7 +4090,7 @@ export declare namespace PaymentIntent {
|
|
|
4084
4090
|
reference_prefix?: string;
|
|
4085
4091
|
}
|
|
4086
4092
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4087
|
-
type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
|
|
4093
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
4088
4094
|
}
|
|
4089
4095
|
namespace Bancontact {
|
|
4090
4096
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
@@ -4200,6 +4206,9 @@ export declare namespace PaymentIntent {
|
|
|
4200
4206
|
supported_types: Array<'india'> | null;
|
|
4201
4207
|
}
|
|
4202
4208
|
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
|
|
4209
|
+
interface PaymentDetails {
|
|
4210
|
+
money_services?: PaymentDetails.MoneyServices;
|
|
4211
|
+
}
|
|
4203
4212
|
type RequestCardAccountUpdate = 'if_available' | 'never';
|
|
4204
4213
|
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4205
4214
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
@@ -4261,6 +4270,22 @@ export declare namespace PaymentIntent {
|
|
|
4261
4270
|
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
4262
4271
|
type Interval = 'day' | 'month' | 'sporadic' | 'week' | 'year' | OtherString;
|
|
4263
4272
|
}
|
|
4273
|
+
namespace PaymentDetails {
|
|
4274
|
+
interface MoneyServices {
|
|
4275
|
+
account_funding?: MoneyServices.AccountFunding;
|
|
4276
|
+
}
|
|
4277
|
+
namespace MoneyServices {
|
|
4278
|
+
interface AccountFunding {
|
|
4279
|
+
/**
|
|
4280
|
+
* The category of digital asset being acquired through this account funding transaction.
|
|
4281
|
+
*/
|
|
4282
|
+
digital_asset_category?: AccountFunding.DigitalAssetCategory;
|
|
4283
|
+
}
|
|
4284
|
+
namespace AccountFunding {
|
|
4285
|
+
type DigitalAssetCategory = 'blockchain_native' | 'nft' | 'other_non_fiat' | 'stablecoin' | OtherString;
|
|
4286
|
+
}
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4264
4289
|
namespace StatementDetails {
|
|
4265
4290
|
interface Address {
|
|
4266
4291
|
/**
|
|
@@ -4335,6 +4360,9 @@ export declare namespace PaymentIntent {
|
|
|
4335
4360
|
*/
|
|
4336
4361
|
transaction_data: Array<Fleet.TransactionDatum>;
|
|
4337
4362
|
}
|
|
4363
|
+
interface PaymentDetails {
|
|
4364
|
+
money_services?: PaymentDetails.MoneyServices;
|
|
4365
|
+
}
|
|
4338
4366
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
4339
4367
|
type RequestReauthorization = 'if_available' | 'never' | OtherString;
|
|
4340
4368
|
interface Routing {
|
|
@@ -4367,6 +4395,22 @@ export declare namespace PaymentIntent {
|
|
|
4367
4395
|
type ReceiptBehavior = 'omit' | 'print';
|
|
4368
4396
|
}
|
|
4369
4397
|
}
|
|
4398
|
+
namespace PaymentDetails {
|
|
4399
|
+
interface MoneyServices {
|
|
4400
|
+
account_funding?: MoneyServices.AccountFunding;
|
|
4401
|
+
}
|
|
4402
|
+
namespace MoneyServices {
|
|
4403
|
+
interface AccountFunding {
|
|
4404
|
+
/**
|
|
4405
|
+
* The category of digital asset being acquired through this account funding transaction.
|
|
4406
|
+
*/
|
|
4407
|
+
digital_asset_category?: AccountFunding.DigitalAssetCategory;
|
|
4408
|
+
}
|
|
4409
|
+
namespace AccountFunding {
|
|
4410
|
+
type DigitalAssetCategory = 'blockchain_native' | 'nft' | 'other_non_fiat' | 'stablecoin' | OtherString;
|
|
4411
|
+
}
|
|
4412
|
+
}
|
|
4413
|
+
}
|
|
4370
4414
|
namespace Routing {
|
|
4371
4415
|
type RequestedPriority = 'domestic' | 'international' | OtherString;
|
|
4372
4416
|
}
|
|
@@ -4524,7 +4568,7 @@ export declare namespace PaymentIntent {
|
|
|
4524
4568
|
}
|
|
4525
4569
|
}
|
|
4526
4570
|
namespace Paypay {
|
|
4527
|
-
type SetupFutureUsage = 'none' | 'off_session' |
|
|
4571
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4528
4572
|
}
|
|
4529
4573
|
namespace Payto {
|
|
4530
4574
|
interface MandateOptions {
|
|
@@ -4950,7 +4994,7 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
4950
4994
|
*/
|
|
4951
4995
|
enabled?: boolean;
|
|
4952
4996
|
}
|
|
4953
|
-
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
4997
|
+
type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
4954
4998
|
interface AmountDetails {
|
|
4955
4999
|
/**
|
|
4956
5000
|
* The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
@@ -5001,7 +5045,7 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5001
5045
|
}
|
|
5002
5046
|
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
|
|
5003
5047
|
type ConfirmationMethod = 'automatic' | 'manual' | OtherString;
|
|
5004
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
5048
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
5005
5049
|
interface Hooks {
|
|
5006
5050
|
/**
|
|
5007
5051
|
* Arguments passed in automations
|
|
@@ -5082,6 +5126,10 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5082
5126
|
* If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
5083
5127
|
*/
|
|
5084
5128
|
acss_debit?: PaymentMethodData.AcssDebit;
|
|
5129
|
+
/**
|
|
5130
|
+
* If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
|
|
5131
|
+
*/
|
|
5132
|
+
aeon_pay?: PaymentMethodData.AeonPay;
|
|
5085
5133
|
/**
|
|
5086
5134
|
* If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
5087
5135
|
*/
|
|
@@ -5110,6 +5158,10 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5110
5158
|
* If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
|
5111
5159
|
*/
|
|
5112
5160
|
au_becs_debit?: PaymentMethodData.AuBecsDebit;
|
|
5161
|
+
/**
|
|
5162
|
+
* If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
|
|
5163
|
+
*/
|
|
5164
|
+
au_pay?: PaymentMethodData.AuPay;
|
|
5113
5165
|
/**
|
|
5114
5166
|
* If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
|
5115
5167
|
*/
|
|
@@ -5154,6 +5206,10 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5154
5206
|
* If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
|
5155
5207
|
*/
|
|
5156
5208
|
customer_balance?: PaymentMethodData.CustomerBalance;
|
|
5209
|
+
/**
|
|
5210
|
+
* If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
|
|
5211
|
+
*/
|
|
5212
|
+
dbarai?: PaymentMethodData.Dbarai;
|
|
5157
5213
|
/**
|
|
5158
5214
|
* If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
|
5159
5215
|
*/
|
|
@@ -5218,6 +5274,10 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5218
5274
|
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
5219
5275
|
*/
|
|
5220
5276
|
mb_way?: PaymentMethodData.MbWay;
|
|
5277
|
+
/**
|
|
5278
|
+
* If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
|
|
5279
|
+
*/
|
|
5280
|
+
merpay?: PaymentMethodData.Merpay;
|
|
5221
5281
|
/**
|
|
5222
5282
|
* 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`.
|
|
5223
5283
|
*/
|
|
@@ -5872,6 +5932,14 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5872
5932
|
* Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
5873
5933
|
*/
|
|
5874
5934
|
commodity_code?: string;
|
|
5935
|
+
/**
|
|
5936
|
+
* EV charging data for this line item.
|
|
5937
|
+
*/
|
|
5938
|
+
ev_charging?: CardPresent.EvCharging;
|
|
5939
|
+
/**
|
|
5940
|
+
* Fleet data for this line item.
|
|
5941
|
+
*/
|
|
5942
|
+
fleet_data?: CardPresent.FleetData;
|
|
5875
5943
|
}
|
|
5876
5944
|
interface Klarna {
|
|
5877
5945
|
/**
|
|
@@ -5958,6 +6026,59 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
5958
6026
|
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
5959
6027
|
}
|
|
5960
6028
|
}
|
|
6029
|
+
namespace CardPresent {
|
|
6030
|
+
interface EvCharging {
|
|
6031
|
+
/**
|
|
6032
|
+
* The carbon footprint avoided by the charging session, in grams of CO2.
|
|
6033
|
+
*/
|
|
6034
|
+
carbon_footprint_avoided_grams_co2?: number;
|
|
6035
|
+
/**
|
|
6036
|
+
* The time the charging session ended, measured in seconds since the Unix epoch.
|
|
6037
|
+
*/
|
|
6038
|
+
charging_ended_at: number;
|
|
6039
|
+
/**
|
|
6040
|
+
* The power output capacity of the charging station, in kilowatts (kW).
|
|
6041
|
+
*/
|
|
6042
|
+
charging_power_output_capacity_kw: number;
|
|
6043
|
+
/**
|
|
6044
|
+
* The time the charging session started, measured in seconds since the Unix epoch.
|
|
6045
|
+
*/
|
|
6046
|
+
charging_started_at: number;
|
|
6047
|
+
/**
|
|
6048
|
+
* The type of connector used for the charging session.
|
|
6049
|
+
*/
|
|
6050
|
+
connector_type: EvCharging.ConnectorType;
|
|
6051
|
+
/**
|
|
6052
|
+
* The estimated distance in kilometers or miles added to the vehicle during the charging session.
|
|
6053
|
+
*/
|
|
6054
|
+
estimated_range_added?: number;
|
|
6055
|
+
/**
|
|
6056
|
+
* The estimated distance in kilometers or miles remaining in the vehicle after the charging session.
|
|
6057
|
+
*/
|
|
6058
|
+
estimated_range_left?: number;
|
|
6059
|
+
/**
|
|
6060
|
+
* The maximum power dispensed during the charging session, in kilowatts (kW).
|
|
6061
|
+
*/
|
|
6062
|
+
maximum_power_dispensed_kw: number;
|
|
6063
|
+
}
|
|
6064
|
+
interface FleetData {
|
|
6065
|
+
/**
|
|
6066
|
+
* The type of product being purchased at this line item.
|
|
6067
|
+
*/
|
|
6068
|
+
product_type: FleetData.ProductType;
|
|
6069
|
+
/**
|
|
6070
|
+
* The type of service received at the acceptor location.
|
|
6071
|
+
*/
|
|
6072
|
+
service_type?: FleetData.ServiceType;
|
|
6073
|
+
}
|
|
6074
|
+
namespace EvCharging {
|
|
6075
|
+
type ConnectorType = 'ac_gb_t' | 'ac_j1772' | 'ac_mennekes' | 'dc_ccs1' | 'dc_ccs2' | 'dc_chademo' | 'dc_gb_t' | 'dc_mcs' | 'nacs' | OtherString;
|
|
6076
|
+
}
|
|
6077
|
+
namespace FleetData {
|
|
6078
|
+
type ProductType = 'additive_dosage' | 'additized_diesel_2' | 'additized_diesel_3' | 'air_conditioning_service' | 'air_filter' | 'alcohol' | 'antifreeze' | 'automotive_merchandise' | 'aviation_fuel_premium' | 'aviation_fuel_regular' | 'batteries' | 'biodiesel_b1' | 'biodiesel_b10' | 'biodiesel_b100' | 'biodiesel_b11' | 'biodiesel_b15' | 'biodiesel_b2' | 'biodiesel_b20' | 'biodiesel_b5' | 'biodiesel_b75' | 'biodiesel_b99' | 'blended_diesel_1_and_2' | 'body_work' | 'brake_fluid' | 'brake_service' | 'car_care_detailing' | 'car_wash' | 'compressed_natural_gas' | 'def_at_pump' | 'deli' | 'e85' | 'engine_service' | 'ethanol_e16_to_e84' | 'ev_battery_exchanges' | 'ev_charging_fee' | 'evc_level_1' | 'evc_level_2' | 'evc_level_3' | 'evc_level_4' | 'evc_level_5' | 'exhaust_service' | 'federal_tire_excise_tax' | 'food_service' | 'fuel_additive_treatment' | 'fuel_system' | 'green_gasoline_mid_plus' | 'green_gasoline_premium_super' | 'green_gasoline_regular' | 'grocery' | 'heating_oil' | 'hoses' | 'hydrogen_h35' | 'hydrogen_h70' | 'inspection' | 'kerosene_low_sulfur' | 'kerosene_low_sulfur_non_taxable' | 'kerosene_ultra_low_sulfur' | 'kerosene_ultra_low_sulfur_non_taxable' | 'labor' | 'lamps' | 'liquid_natural_gas' | 'liquid_propane_gas' | 'lodging' | 'low_octane_unleaded' | 'lube' | 'marine_diesel' | 'marine_fuel' | 'marine_fuel_1' | 'marine_fuel_2' | 'marine_fuel_3' | 'marine_fuel_4' | 'marine_fuel_5' | 'marine_other' | 'merchandise' | 'mid_plus' | 'mid_plus_2' | 'mid_plus_2_10' | 'mid_plus_2_e15' | 'mid_plus_2_reformulated' | 'mid_plus_e10' | 'mid_plus_e15' | 'mid_plus_ethanol' | 'mid_plus_reformulated' | 'miscellaneous_aviation_products_services' | 'miscellaneous_fuel' | 'miscellaneous_marine_products_services' | 'miscellaneous_vehicle_products_services' | 'motor_oil' | 'off_road_b1' | 'off_road_b10' | 'off_road_b100' | 'off_road_b11' | 'off_road_b15' | 'off_road_b2' | 'off_road_b20' | 'off_road_b5' | 'off_road_b75' | 'off_road_b99' | 'off_road_biodiesel' | 'off_road_diesel_1' | 'off_road_diesel_2' | 'off_road_mid_plus' | 'off_road_mid_plus_2' | 'off_road_premium_diesel_1' | 'off_road_premium_diesel_2' | 'off_road_premium_super' | 'off_road_premium_super_2' | 'off_road_regular' | 'off_road_renewable_diesel_b6_to_b20' | 'off_road_renewable_diesel_r95' | 'oil_change' | 'oil_filter' | 'other_lubricants' | 'packaged_beverage' | 'premium_diesel' | 'premium_diesel_2' | 'premium_diesel_b20_plus' | 'premium_diesel_under_b20' | 'premium_super' | 'premium_super_2' | 'premium_super_2_10' | 'premium_super_2_e15' | 'premium_super_2_reformulated' | 'premium_super_e10' | 'premium_super_e15' | 'premium_super_ethanol' | 'premium_super_reformulated' | 'preventative_maintenance' | 'racing_fuel' | 'recreational_fuel_90_octane' | 'regular' | 'regular_diesel' | 'regular_diesel_2' | 'regular_e10' | 'regular_e15' | 'regular_ethanol' | 'regular_reformulated' | 'renewable_diesel_b6_to_b20' | 'renewable_diesel_r95' | 'repairs' | 'road_service' | 'rv_dump_fee' | 'scales' | 'self_service_car_wash' | 'service_package' | 'shower' | 'store_service' | 'synthetic_oil' | 'tire_related' | 'tire_repair' | 'tire_rotation' | 'tires' | 'tobacco' | 'toll_payments' | 'towing' | 'trailer_wash' | 'transmission_service' | 'truck_tank_cleaning' | 'vehicle_accessories' | 'vehicle_glass' | 'vehicle_parking' | 'vehicle_parts' | 'vehicle_prep' | 'vehicle_rental' | 'vehicle_work_order' | 'wash_out' | 'washer_fluid' | 'white_gas' | 'wipers' | OtherString;
|
|
6079
|
+
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
6080
|
+
}
|
|
6081
|
+
}
|
|
5961
6082
|
namespace Paypal {
|
|
5962
6083
|
type Category = 'digital_goods' | 'donation' | 'physical_goods' | OtherString;
|
|
5963
6084
|
}
|
|
@@ -7629,6 +7750,8 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
7629
7750
|
*/
|
|
7630
7751
|
transit_number: string;
|
|
7631
7752
|
}
|
|
7753
|
+
interface AeonPay {
|
|
7754
|
+
}
|
|
7632
7755
|
interface Affirm {
|
|
7633
7756
|
}
|
|
7634
7757
|
interface AfterpayClearpay {
|
|
@@ -7650,6 +7773,8 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
7650
7773
|
*/
|
|
7651
7774
|
bsb_number: string;
|
|
7652
7775
|
}
|
|
7776
|
+
interface AuPay {
|
|
7777
|
+
}
|
|
7653
7778
|
interface BacsDebit {
|
|
7654
7779
|
/**
|
|
7655
7780
|
* Account number of the bank account that the funds will be debited from.
|
|
@@ -7704,6 +7829,8 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
7704
7829
|
}
|
|
7705
7830
|
interface CustomerBalance {
|
|
7706
7831
|
}
|
|
7832
|
+
interface Dbarai {
|
|
7833
|
+
}
|
|
7707
7834
|
interface Eps {
|
|
7708
7835
|
/**
|
|
7709
7836
|
* The customer's bank.
|
|
@@ -7764,6 +7891,8 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
7764
7891
|
}
|
|
7765
7892
|
interface MbWay {
|
|
7766
7893
|
}
|
|
7894
|
+
interface Merpay {
|
|
7895
|
+
}
|
|
7767
7896
|
interface Mobilepay {
|
|
7768
7897
|
}
|
|
7769
7898
|
interface Multibanco {
|
|
@@ -7891,7 +8020,7 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
7891
8020
|
}
|
|
7892
8021
|
interface Twint {
|
|
7893
8022
|
}
|
|
7894
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
8023
|
+
type Type = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
7895
8024
|
interface Upi {
|
|
7896
8025
|
/**
|
|
7897
8026
|
* Configuration options for setting up an eMandate
|
|
@@ -8168,6 +8297,10 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
8168
8297
|
target_date?: string;
|
|
8169
8298
|
}
|
|
8170
8299
|
interface BacsDebit {
|
|
8300
|
+
/**
|
|
8301
|
+
* Additional fields for Financial Connections session creation.
|
|
8302
|
+
*/
|
|
8303
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
8171
8304
|
/**
|
|
8172
8305
|
* Additional fields for Mandate creation
|
|
8173
8306
|
*/
|
|
@@ -9517,6 +9650,12 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
9517
9650
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
9518
9651
|
}
|
|
9519
9652
|
namespace BacsDebit {
|
|
9653
|
+
interface FinancialConnections {
|
|
9654
|
+
/**
|
|
9655
|
+
* For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
9656
|
+
*/
|
|
9657
|
+
return_url?: string;
|
|
9658
|
+
}
|
|
9520
9659
|
interface MandateOptions {
|
|
9521
9660
|
/**
|
|
9522
9661
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -9524,7 +9663,7 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
9524
9663
|
reference_prefix?: Emptyable<string>;
|
|
9525
9664
|
}
|
|
9526
9665
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
9527
|
-
type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
|
|
9666
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
9528
9667
|
}
|
|
9529
9668
|
namespace Bancontact {
|
|
9530
9669
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
@@ -10959,7 +11098,7 @@ export declare namespace PaymentIntentCreateParams {
|
|
|
10959
11098
|
}
|
|
10960
11099
|
}
|
|
10961
11100
|
namespace Paypay {
|
|
10962
|
-
type SetupFutureUsage = 'none' | 'off_session' |
|
|
11101
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
10963
11102
|
}
|
|
10964
11103
|
namespace Payto {
|
|
10965
11104
|
interface MandateOptions {
|
|
@@ -11357,7 +11496,7 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
11357
11496
|
*/
|
|
11358
11497
|
enabled?: boolean;
|
|
11359
11498
|
}
|
|
11360
|
-
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
11499
|
+
type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
11361
11500
|
interface AmountDetails {
|
|
11362
11501
|
/**
|
|
11363
11502
|
* The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
@@ -11395,7 +11534,7 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
11395
11534
|
tip?: Emptyable<AmountDetails.Tip>;
|
|
11396
11535
|
}
|
|
11397
11536
|
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
|
|
11398
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
11537
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
11399
11538
|
interface Hooks {
|
|
11400
11539
|
/**
|
|
11401
11540
|
* Arguments passed in automations
|
|
@@ -11475,6 +11614,10 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
11475
11614
|
* If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
11476
11615
|
*/
|
|
11477
11616
|
acss_debit?: PaymentMethodData.AcssDebit;
|
|
11617
|
+
/**
|
|
11618
|
+
* If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
|
|
11619
|
+
*/
|
|
11620
|
+
aeon_pay?: PaymentMethodData.AeonPay;
|
|
11478
11621
|
/**
|
|
11479
11622
|
* If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
11480
11623
|
*/
|
|
@@ -11503,6 +11646,10 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
11503
11646
|
* If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
|
11504
11647
|
*/
|
|
11505
11648
|
au_becs_debit?: PaymentMethodData.AuBecsDebit;
|
|
11649
|
+
/**
|
|
11650
|
+
* If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
|
|
11651
|
+
*/
|
|
11652
|
+
au_pay?: PaymentMethodData.AuPay;
|
|
11506
11653
|
/**
|
|
11507
11654
|
* If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
|
11508
11655
|
*/
|
|
@@ -11547,6 +11694,10 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
11547
11694
|
* If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
|
11548
11695
|
*/
|
|
11549
11696
|
customer_balance?: PaymentMethodData.CustomerBalance;
|
|
11697
|
+
/**
|
|
11698
|
+
* If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
|
|
11699
|
+
*/
|
|
11700
|
+
dbarai?: PaymentMethodData.Dbarai;
|
|
11550
11701
|
/**
|
|
11551
11702
|
* If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
|
11552
11703
|
*/
|
|
@@ -11611,6 +11762,10 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
11611
11762
|
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
11612
11763
|
*/
|
|
11613
11764
|
mb_way?: PaymentMethodData.MbWay;
|
|
11765
|
+
/**
|
|
11766
|
+
* If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
|
|
11767
|
+
*/
|
|
11768
|
+
merpay?: PaymentMethodData.Merpay;
|
|
11614
11769
|
/**
|
|
11615
11770
|
* 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`.
|
|
11616
11771
|
*/
|
|
@@ -12231,6 +12386,14 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
12231
12386
|
* Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
12232
12387
|
*/
|
|
12233
12388
|
commodity_code?: string;
|
|
12389
|
+
/**
|
|
12390
|
+
* EV charging data for this line item.
|
|
12391
|
+
*/
|
|
12392
|
+
ev_charging?: CardPresent.EvCharging;
|
|
12393
|
+
/**
|
|
12394
|
+
* Fleet data for this line item.
|
|
12395
|
+
*/
|
|
12396
|
+
fleet_data?: CardPresent.FleetData;
|
|
12234
12397
|
}
|
|
12235
12398
|
interface Klarna {
|
|
12236
12399
|
/**
|
|
@@ -12317,6 +12480,59 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
12317
12480
|
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
12318
12481
|
}
|
|
12319
12482
|
}
|
|
12483
|
+
namespace CardPresent {
|
|
12484
|
+
interface EvCharging {
|
|
12485
|
+
/**
|
|
12486
|
+
* The carbon footprint avoided by the charging session, in grams of CO2.
|
|
12487
|
+
*/
|
|
12488
|
+
carbon_footprint_avoided_grams_co2?: number;
|
|
12489
|
+
/**
|
|
12490
|
+
* The time the charging session ended, measured in seconds since the Unix epoch.
|
|
12491
|
+
*/
|
|
12492
|
+
charging_ended_at: number;
|
|
12493
|
+
/**
|
|
12494
|
+
* The power output capacity of the charging station, in kilowatts (kW).
|
|
12495
|
+
*/
|
|
12496
|
+
charging_power_output_capacity_kw: number;
|
|
12497
|
+
/**
|
|
12498
|
+
* The time the charging session started, measured in seconds since the Unix epoch.
|
|
12499
|
+
*/
|
|
12500
|
+
charging_started_at: number;
|
|
12501
|
+
/**
|
|
12502
|
+
* The type of connector used for the charging session.
|
|
12503
|
+
*/
|
|
12504
|
+
connector_type: EvCharging.ConnectorType;
|
|
12505
|
+
/**
|
|
12506
|
+
* The estimated distance in kilometers or miles added to the vehicle during the charging session.
|
|
12507
|
+
*/
|
|
12508
|
+
estimated_range_added?: number;
|
|
12509
|
+
/**
|
|
12510
|
+
* The estimated distance in kilometers or miles remaining in the vehicle after the charging session.
|
|
12511
|
+
*/
|
|
12512
|
+
estimated_range_left?: number;
|
|
12513
|
+
/**
|
|
12514
|
+
* The maximum power dispensed during the charging session, in kilowatts (kW).
|
|
12515
|
+
*/
|
|
12516
|
+
maximum_power_dispensed_kw: number;
|
|
12517
|
+
}
|
|
12518
|
+
interface FleetData {
|
|
12519
|
+
/**
|
|
12520
|
+
* The type of product being purchased at this line item.
|
|
12521
|
+
*/
|
|
12522
|
+
product_type: FleetData.ProductType;
|
|
12523
|
+
/**
|
|
12524
|
+
* The type of service received at the acceptor location.
|
|
12525
|
+
*/
|
|
12526
|
+
service_type?: FleetData.ServiceType;
|
|
12527
|
+
}
|
|
12528
|
+
namespace EvCharging {
|
|
12529
|
+
type ConnectorType = 'ac_gb_t' | 'ac_j1772' | 'ac_mennekes' | 'dc_ccs1' | 'dc_ccs2' | 'dc_chademo' | 'dc_gb_t' | 'dc_mcs' | 'nacs' | OtherString;
|
|
12530
|
+
}
|
|
12531
|
+
namespace FleetData {
|
|
12532
|
+
type ProductType = 'additive_dosage' | 'additized_diesel_2' | 'additized_diesel_3' | 'air_conditioning_service' | 'air_filter' | 'alcohol' | 'antifreeze' | 'automotive_merchandise' | 'aviation_fuel_premium' | 'aviation_fuel_regular' | 'batteries' | 'biodiesel_b1' | 'biodiesel_b10' | 'biodiesel_b100' | 'biodiesel_b11' | 'biodiesel_b15' | 'biodiesel_b2' | 'biodiesel_b20' | 'biodiesel_b5' | 'biodiesel_b75' | 'biodiesel_b99' | 'blended_diesel_1_and_2' | 'body_work' | 'brake_fluid' | 'brake_service' | 'car_care_detailing' | 'car_wash' | 'compressed_natural_gas' | 'def_at_pump' | 'deli' | 'e85' | 'engine_service' | 'ethanol_e16_to_e84' | 'ev_battery_exchanges' | 'ev_charging_fee' | 'evc_level_1' | 'evc_level_2' | 'evc_level_3' | 'evc_level_4' | 'evc_level_5' | 'exhaust_service' | 'federal_tire_excise_tax' | 'food_service' | 'fuel_additive_treatment' | 'fuel_system' | 'green_gasoline_mid_plus' | 'green_gasoline_premium_super' | 'green_gasoline_regular' | 'grocery' | 'heating_oil' | 'hoses' | 'hydrogen_h35' | 'hydrogen_h70' | 'inspection' | 'kerosene_low_sulfur' | 'kerosene_low_sulfur_non_taxable' | 'kerosene_ultra_low_sulfur' | 'kerosene_ultra_low_sulfur_non_taxable' | 'labor' | 'lamps' | 'liquid_natural_gas' | 'liquid_propane_gas' | 'lodging' | 'low_octane_unleaded' | 'lube' | 'marine_diesel' | 'marine_fuel' | 'marine_fuel_1' | 'marine_fuel_2' | 'marine_fuel_3' | 'marine_fuel_4' | 'marine_fuel_5' | 'marine_other' | 'merchandise' | 'mid_plus' | 'mid_plus_2' | 'mid_plus_2_10' | 'mid_plus_2_e15' | 'mid_plus_2_reformulated' | 'mid_plus_e10' | 'mid_plus_e15' | 'mid_plus_ethanol' | 'mid_plus_reformulated' | 'miscellaneous_aviation_products_services' | 'miscellaneous_fuel' | 'miscellaneous_marine_products_services' | 'miscellaneous_vehicle_products_services' | 'motor_oil' | 'off_road_b1' | 'off_road_b10' | 'off_road_b100' | 'off_road_b11' | 'off_road_b15' | 'off_road_b2' | 'off_road_b20' | 'off_road_b5' | 'off_road_b75' | 'off_road_b99' | 'off_road_biodiesel' | 'off_road_diesel_1' | 'off_road_diesel_2' | 'off_road_mid_plus' | 'off_road_mid_plus_2' | 'off_road_premium_diesel_1' | 'off_road_premium_diesel_2' | 'off_road_premium_super' | 'off_road_premium_super_2' | 'off_road_regular' | 'off_road_renewable_diesel_b6_to_b20' | 'off_road_renewable_diesel_r95' | 'oil_change' | 'oil_filter' | 'other_lubricants' | 'packaged_beverage' | 'premium_diesel' | 'premium_diesel_2' | 'premium_diesel_b20_plus' | 'premium_diesel_under_b20' | 'premium_super' | 'premium_super_2' | 'premium_super_2_10' | 'premium_super_2_e15' | 'premium_super_2_reformulated' | 'premium_super_e10' | 'premium_super_e15' | 'premium_super_ethanol' | 'premium_super_reformulated' | 'preventative_maintenance' | 'racing_fuel' | 'recreational_fuel_90_octane' | 'regular' | 'regular_diesel' | 'regular_diesel_2' | 'regular_e10' | 'regular_e15' | 'regular_ethanol' | 'regular_reformulated' | 'renewable_diesel_b6_to_b20' | 'renewable_diesel_r95' | 'repairs' | 'road_service' | 'rv_dump_fee' | 'scales' | 'self_service_car_wash' | 'service_package' | 'shower' | 'store_service' | 'synthetic_oil' | 'tire_related' | 'tire_repair' | 'tire_rotation' | 'tires' | 'tobacco' | 'toll_payments' | 'towing' | 'trailer_wash' | 'transmission_service' | 'truck_tank_cleaning' | 'vehicle_accessories' | 'vehicle_glass' | 'vehicle_parking' | 'vehicle_parts' | 'vehicle_prep' | 'vehicle_rental' | 'vehicle_work_order' | 'wash_out' | 'washer_fluid' | 'white_gas' | 'wipers' | OtherString;
|
|
12533
|
+
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
12534
|
+
}
|
|
12535
|
+
}
|
|
12320
12536
|
namespace Paypal {
|
|
12321
12537
|
type Category = 'digital_goods' | 'donation' | 'physical_goods' | OtherString;
|
|
12322
12538
|
}
|
|
@@ -13974,6 +14190,8 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
13974
14190
|
*/
|
|
13975
14191
|
transit_number: string;
|
|
13976
14192
|
}
|
|
14193
|
+
interface AeonPay {
|
|
14194
|
+
}
|
|
13977
14195
|
interface Affirm {
|
|
13978
14196
|
}
|
|
13979
14197
|
interface AfterpayClearpay {
|
|
@@ -13995,6 +14213,8 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
13995
14213
|
*/
|
|
13996
14214
|
bsb_number: string;
|
|
13997
14215
|
}
|
|
14216
|
+
interface AuPay {
|
|
14217
|
+
}
|
|
13998
14218
|
interface BacsDebit {
|
|
13999
14219
|
/**
|
|
14000
14220
|
* Account number of the bank account that the funds will be debited from.
|
|
@@ -14049,6 +14269,8 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
14049
14269
|
}
|
|
14050
14270
|
interface CustomerBalance {
|
|
14051
14271
|
}
|
|
14272
|
+
interface Dbarai {
|
|
14273
|
+
}
|
|
14052
14274
|
interface Eps {
|
|
14053
14275
|
/**
|
|
14054
14276
|
* The customer's bank.
|
|
@@ -14109,6 +14331,8 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
14109
14331
|
}
|
|
14110
14332
|
interface MbWay {
|
|
14111
14333
|
}
|
|
14334
|
+
interface Merpay {
|
|
14335
|
+
}
|
|
14112
14336
|
interface Mobilepay {
|
|
14113
14337
|
}
|
|
14114
14338
|
interface Multibanco {
|
|
@@ -14236,7 +14460,7 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
14236
14460
|
}
|
|
14237
14461
|
interface Twint {
|
|
14238
14462
|
}
|
|
14239
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
14463
|
+
type Type = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
14240
14464
|
interface Upi {
|
|
14241
14465
|
/**
|
|
14242
14466
|
* Configuration options for setting up an eMandate
|
|
@@ -14513,6 +14737,10 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
14513
14737
|
target_date?: string;
|
|
14514
14738
|
}
|
|
14515
14739
|
interface BacsDebit {
|
|
14740
|
+
/**
|
|
14741
|
+
* Additional fields for Financial Connections session creation.
|
|
14742
|
+
*/
|
|
14743
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
14516
14744
|
/**
|
|
14517
14745
|
* Additional fields for Mandate creation
|
|
14518
14746
|
*/
|
|
@@ -15862,6 +16090,12 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
15862
16090
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
15863
16091
|
}
|
|
15864
16092
|
namespace BacsDebit {
|
|
16093
|
+
interface FinancialConnections {
|
|
16094
|
+
/**
|
|
16095
|
+
* For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
16096
|
+
*/
|
|
16097
|
+
return_url?: string;
|
|
16098
|
+
}
|
|
15865
16099
|
interface MandateOptions {
|
|
15866
16100
|
/**
|
|
15867
16101
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -15869,7 +16103,7 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
15869
16103
|
reference_prefix?: Emptyable<string>;
|
|
15870
16104
|
}
|
|
15871
16105
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
15872
|
-
type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
|
|
16106
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
15873
16107
|
}
|
|
15874
16108
|
namespace Bancontact {
|
|
15875
16109
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
@@ -17304,7 +17538,7 @@ export declare namespace PaymentIntentUpdateParams {
|
|
|
17304
17538
|
}
|
|
17305
17539
|
}
|
|
17306
17540
|
namespace Paypay {
|
|
17307
|
-
type SetupFutureUsage = 'none' | 'off_session' |
|
|
17541
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
17308
17542
|
}
|
|
17309
17543
|
namespace Payto {
|
|
17310
17544
|
interface MandateOptions {
|
|
@@ -17883,6 +18117,14 @@ export declare namespace PaymentIntentCaptureParams {
|
|
|
17883
18117
|
* Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
17884
18118
|
*/
|
|
17885
18119
|
commodity_code?: string;
|
|
18120
|
+
/**
|
|
18121
|
+
* EV charging data for this line item.
|
|
18122
|
+
*/
|
|
18123
|
+
ev_charging?: CardPresent.EvCharging;
|
|
18124
|
+
/**
|
|
18125
|
+
* Fleet data for this line item.
|
|
18126
|
+
*/
|
|
18127
|
+
fleet_data?: CardPresent.FleetData;
|
|
17886
18128
|
}
|
|
17887
18129
|
interface Klarna {
|
|
17888
18130
|
/**
|
|
@@ -17969,6 +18211,59 @@ export declare namespace PaymentIntentCaptureParams {
|
|
|
17969
18211
|
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
17970
18212
|
}
|
|
17971
18213
|
}
|
|
18214
|
+
namespace CardPresent {
|
|
18215
|
+
interface EvCharging {
|
|
18216
|
+
/**
|
|
18217
|
+
* The carbon footprint avoided by the charging session, in grams of CO2.
|
|
18218
|
+
*/
|
|
18219
|
+
carbon_footprint_avoided_grams_co2?: number;
|
|
18220
|
+
/**
|
|
18221
|
+
* The time the charging session ended, measured in seconds since the Unix epoch.
|
|
18222
|
+
*/
|
|
18223
|
+
charging_ended_at: number;
|
|
18224
|
+
/**
|
|
18225
|
+
* The power output capacity of the charging station, in kilowatts (kW).
|
|
18226
|
+
*/
|
|
18227
|
+
charging_power_output_capacity_kw: number;
|
|
18228
|
+
/**
|
|
18229
|
+
* The time the charging session started, measured in seconds since the Unix epoch.
|
|
18230
|
+
*/
|
|
18231
|
+
charging_started_at: number;
|
|
18232
|
+
/**
|
|
18233
|
+
* The type of connector used for the charging session.
|
|
18234
|
+
*/
|
|
18235
|
+
connector_type: EvCharging.ConnectorType;
|
|
18236
|
+
/**
|
|
18237
|
+
* The estimated distance in kilometers or miles added to the vehicle during the charging session.
|
|
18238
|
+
*/
|
|
18239
|
+
estimated_range_added?: number;
|
|
18240
|
+
/**
|
|
18241
|
+
* The estimated distance in kilometers or miles remaining in the vehicle after the charging session.
|
|
18242
|
+
*/
|
|
18243
|
+
estimated_range_left?: number;
|
|
18244
|
+
/**
|
|
18245
|
+
* The maximum power dispensed during the charging session, in kilowatts (kW).
|
|
18246
|
+
*/
|
|
18247
|
+
maximum_power_dispensed_kw: number;
|
|
18248
|
+
}
|
|
18249
|
+
interface FleetData {
|
|
18250
|
+
/**
|
|
18251
|
+
* The type of product being purchased at this line item.
|
|
18252
|
+
*/
|
|
18253
|
+
product_type: FleetData.ProductType;
|
|
18254
|
+
/**
|
|
18255
|
+
* The type of service received at the acceptor location.
|
|
18256
|
+
*/
|
|
18257
|
+
service_type?: FleetData.ServiceType;
|
|
18258
|
+
}
|
|
18259
|
+
namespace EvCharging {
|
|
18260
|
+
type ConnectorType = 'ac_gb_t' | 'ac_j1772' | 'ac_mennekes' | 'dc_ccs1' | 'dc_ccs2' | 'dc_chademo' | 'dc_gb_t' | 'dc_mcs' | 'nacs' | OtherString;
|
|
18261
|
+
}
|
|
18262
|
+
namespace FleetData {
|
|
18263
|
+
type ProductType = 'additive_dosage' | 'additized_diesel_2' | 'additized_diesel_3' | 'air_conditioning_service' | 'air_filter' | 'alcohol' | 'antifreeze' | 'automotive_merchandise' | 'aviation_fuel_premium' | 'aviation_fuel_regular' | 'batteries' | 'biodiesel_b1' | 'biodiesel_b10' | 'biodiesel_b100' | 'biodiesel_b11' | 'biodiesel_b15' | 'biodiesel_b2' | 'biodiesel_b20' | 'biodiesel_b5' | 'biodiesel_b75' | 'biodiesel_b99' | 'blended_diesel_1_and_2' | 'body_work' | 'brake_fluid' | 'brake_service' | 'car_care_detailing' | 'car_wash' | 'compressed_natural_gas' | 'def_at_pump' | 'deli' | 'e85' | 'engine_service' | 'ethanol_e16_to_e84' | 'ev_battery_exchanges' | 'ev_charging_fee' | 'evc_level_1' | 'evc_level_2' | 'evc_level_3' | 'evc_level_4' | 'evc_level_5' | 'exhaust_service' | 'federal_tire_excise_tax' | 'food_service' | 'fuel_additive_treatment' | 'fuel_system' | 'green_gasoline_mid_plus' | 'green_gasoline_premium_super' | 'green_gasoline_regular' | 'grocery' | 'heating_oil' | 'hoses' | 'hydrogen_h35' | 'hydrogen_h70' | 'inspection' | 'kerosene_low_sulfur' | 'kerosene_low_sulfur_non_taxable' | 'kerosene_ultra_low_sulfur' | 'kerosene_ultra_low_sulfur_non_taxable' | 'labor' | 'lamps' | 'liquid_natural_gas' | 'liquid_propane_gas' | 'lodging' | 'low_octane_unleaded' | 'lube' | 'marine_diesel' | 'marine_fuel' | 'marine_fuel_1' | 'marine_fuel_2' | 'marine_fuel_3' | 'marine_fuel_4' | 'marine_fuel_5' | 'marine_other' | 'merchandise' | 'mid_plus' | 'mid_plus_2' | 'mid_plus_2_10' | 'mid_plus_2_e15' | 'mid_plus_2_reformulated' | 'mid_plus_e10' | 'mid_plus_e15' | 'mid_plus_ethanol' | 'mid_plus_reformulated' | 'miscellaneous_aviation_products_services' | 'miscellaneous_fuel' | 'miscellaneous_marine_products_services' | 'miscellaneous_vehicle_products_services' | 'motor_oil' | 'off_road_b1' | 'off_road_b10' | 'off_road_b100' | 'off_road_b11' | 'off_road_b15' | 'off_road_b2' | 'off_road_b20' | 'off_road_b5' | 'off_road_b75' | 'off_road_b99' | 'off_road_biodiesel' | 'off_road_diesel_1' | 'off_road_diesel_2' | 'off_road_mid_plus' | 'off_road_mid_plus_2' | 'off_road_premium_diesel_1' | 'off_road_premium_diesel_2' | 'off_road_premium_super' | 'off_road_premium_super_2' | 'off_road_regular' | 'off_road_renewable_diesel_b6_to_b20' | 'off_road_renewable_diesel_r95' | 'oil_change' | 'oil_filter' | 'other_lubricants' | 'packaged_beverage' | 'premium_diesel' | 'premium_diesel_2' | 'premium_diesel_b20_plus' | 'premium_diesel_under_b20' | 'premium_super' | 'premium_super_2' | 'premium_super_2_10' | 'premium_super_2_e15' | 'premium_super_2_reformulated' | 'premium_super_e10' | 'premium_super_e15' | 'premium_super_ethanol' | 'premium_super_reformulated' | 'preventative_maintenance' | 'racing_fuel' | 'recreational_fuel_90_octane' | 'regular' | 'regular_diesel' | 'regular_diesel_2' | 'regular_e10' | 'regular_e15' | 'regular_ethanol' | 'regular_reformulated' | 'renewable_diesel_b6_to_b20' | 'renewable_diesel_r95' | 'repairs' | 'road_service' | 'rv_dump_fee' | 'scales' | 'self_service_car_wash' | 'service_package' | 'shower' | 'store_service' | 'synthetic_oil' | 'tire_related' | 'tire_repair' | 'tire_rotation' | 'tires' | 'tobacco' | 'toll_payments' | 'towing' | 'trailer_wash' | 'transmission_service' | 'truck_tank_cleaning' | 'vehicle_accessories' | 'vehicle_glass' | 'vehicle_parking' | 'vehicle_parts' | 'vehicle_prep' | 'vehicle_rental' | 'vehicle_work_order' | 'wash_out' | 'washer_fluid' | 'white_gas' | 'wipers' | OtherString;
|
|
18264
|
+
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
18265
|
+
}
|
|
18266
|
+
}
|
|
17972
18267
|
namespace Paypal {
|
|
17973
18268
|
type Category = 'digital_goods' | 'donation' | 'physical_goods' | OtherString;
|
|
17974
18269
|
}
|
|
@@ -19570,7 +19865,7 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
19570
19865
|
*/
|
|
19571
19866
|
enabled?: boolean;
|
|
19572
19867
|
}
|
|
19573
|
-
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
19868
|
+
type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
19574
19869
|
interface AmountDetails {
|
|
19575
19870
|
/**
|
|
19576
19871
|
* The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
@@ -19608,7 +19903,7 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
19608
19903
|
tip?: Emptyable<AmountDetails.Tip>;
|
|
19609
19904
|
}
|
|
19610
19905
|
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
|
|
19611
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
19906
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
19612
19907
|
interface Hooks {
|
|
19613
19908
|
/**
|
|
19614
19909
|
* Arguments passed in automations
|
|
@@ -19689,6 +19984,10 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
19689
19984
|
* If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
19690
19985
|
*/
|
|
19691
19986
|
acss_debit?: PaymentMethodData.AcssDebit;
|
|
19987
|
+
/**
|
|
19988
|
+
* If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
|
|
19989
|
+
*/
|
|
19990
|
+
aeon_pay?: PaymentMethodData.AeonPay;
|
|
19692
19991
|
/**
|
|
19693
19992
|
* If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
19694
19993
|
*/
|
|
@@ -19717,6 +20016,10 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
19717
20016
|
* If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
|
19718
20017
|
*/
|
|
19719
20018
|
au_becs_debit?: PaymentMethodData.AuBecsDebit;
|
|
20019
|
+
/**
|
|
20020
|
+
* If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
|
|
20021
|
+
*/
|
|
20022
|
+
au_pay?: PaymentMethodData.AuPay;
|
|
19720
20023
|
/**
|
|
19721
20024
|
* If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
|
19722
20025
|
*/
|
|
@@ -19761,6 +20064,10 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
19761
20064
|
* If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
|
19762
20065
|
*/
|
|
19763
20066
|
customer_balance?: PaymentMethodData.CustomerBalance;
|
|
20067
|
+
/**
|
|
20068
|
+
* If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
|
|
20069
|
+
*/
|
|
20070
|
+
dbarai?: PaymentMethodData.Dbarai;
|
|
19764
20071
|
/**
|
|
19765
20072
|
* If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
|
19766
20073
|
*/
|
|
@@ -19825,6 +20132,10 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
19825
20132
|
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
19826
20133
|
*/
|
|
19827
20134
|
mb_way?: PaymentMethodData.MbWay;
|
|
20135
|
+
/**
|
|
20136
|
+
* If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
|
|
20137
|
+
*/
|
|
20138
|
+
merpay?: PaymentMethodData.Merpay;
|
|
19828
20139
|
/**
|
|
19829
20140
|
* 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`.
|
|
19830
20141
|
*/
|
|
@@ -20437,6 +20748,14 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
20437
20748
|
* Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
20438
20749
|
*/
|
|
20439
20750
|
commodity_code?: string;
|
|
20751
|
+
/**
|
|
20752
|
+
* EV charging data for this line item.
|
|
20753
|
+
*/
|
|
20754
|
+
ev_charging?: CardPresent.EvCharging;
|
|
20755
|
+
/**
|
|
20756
|
+
* Fleet data for this line item.
|
|
20757
|
+
*/
|
|
20758
|
+
fleet_data?: CardPresent.FleetData;
|
|
20440
20759
|
}
|
|
20441
20760
|
interface Klarna {
|
|
20442
20761
|
/**
|
|
@@ -20523,6 +20842,59 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
20523
20842
|
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
20524
20843
|
}
|
|
20525
20844
|
}
|
|
20845
|
+
namespace CardPresent {
|
|
20846
|
+
interface EvCharging {
|
|
20847
|
+
/**
|
|
20848
|
+
* The carbon footprint avoided by the charging session, in grams of CO2.
|
|
20849
|
+
*/
|
|
20850
|
+
carbon_footprint_avoided_grams_co2?: number;
|
|
20851
|
+
/**
|
|
20852
|
+
* The time the charging session ended, measured in seconds since the Unix epoch.
|
|
20853
|
+
*/
|
|
20854
|
+
charging_ended_at: number;
|
|
20855
|
+
/**
|
|
20856
|
+
* The power output capacity of the charging station, in kilowatts (kW).
|
|
20857
|
+
*/
|
|
20858
|
+
charging_power_output_capacity_kw: number;
|
|
20859
|
+
/**
|
|
20860
|
+
* The time the charging session started, measured in seconds since the Unix epoch.
|
|
20861
|
+
*/
|
|
20862
|
+
charging_started_at: number;
|
|
20863
|
+
/**
|
|
20864
|
+
* The type of connector used for the charging session.
|
|
20865
|
+
*/
|
|
20866
|
+
connector_type: EvCharging.ConnectorType;
|
|
20867
|
+
/**
|
|
20868
|
+
* The estimated distance in kilometers or miles added to the vehicle during the charging session.
|
|
20869
|
+
*/
|
|
20870
|
+
estimated_range_added?: number;
|
|
20871
|
+
/**
|
|
20872
|
+
* The estimated distance in kilometers or miles remaining in the vehicle after the charging session.
|
|
20873
|
+
*/
|
|
20874
|
+
estimated_range_left?: number;
|
|
20875
|
+
/**
|
|
20876
|
+
* The maximum power dispensed during the charging session, in kilowatts (kW).
|
|
20877
|
+
*/
|
|
20878
|
+
maximum_power_dispensed_kw: number;
|
|
20879
|
+
}
|
|
20880
|
+
interface FleetData {
|
|
20881
|
+
/**
|
|
20882
|
+
* The type of product being purchased at this line item.
|
|
20883
|
+
*/
|
|
20884
|
+
product_type: FleetData.ProductType;
|
|
20885
|
+
/**
|
|
20886
|
+
* The type of service received at the acceptor location.
|
|
20887
|
+
*/
|
|
20888
|
+
service_type?: FleetData.ServiceType;
|
|
20889
|
+
}
|
|
20890
|
+
namespace EvCharging {
|
|
20891
|
+
type ConnectorType = 'ac_gb_t' | 'ac_j1772' | 'ac_mennekes' | 'dc_ccs1' | 'dc_ccs2' | 'dc_chademo' | 'dc_gb_t' | 'dc_mcs' | 'nacs' | OtherString;
|
|
20892
|
+
}
|
|
20893
|
+
namespace FleetData {
|
|
20894
|
+
type ProductType = 'additive_dosage' | 'additized_diesel_2' | 'additized_diesel_3' | 'air_conditioning_service' | 'air_filter' | 'alcohol' | 'antifreeze' | 'automotive_merchandise' | 'aviation_fuel_premium' | 'aviation_fuel_regular' | 'batteries' | 'biodiesel_b1' | 'biodiesel_b10' | 'biodiesel_b100' | 'biodiesel_b11' | 'biodiesel_b15' | 'biodiesel_b2' | 'biodiesel_b20' | 'biodiesel_b5' | 'biodiesel_b75' | 'biodiesel_b99' | 'blended_diesel_1_and_2' | 'body_work' | 'brake_fluid' | 'brake_service' | 'car_care_detailing' | 'car_wash' | 'compressed_natural_gas' | 'def_at_pump' | 'deli' | 'e85' | 'engine_service' | 'ethanol_e16_to_e84' | 'ev_battery_exchanges' | 'ev_charging_fee' | 'evc_level_1' | 'evc_level_2' | 'evc_level_3' | 'evc_level_4' | 'evc_level_5' | 'exhaust_service' | 'federal_tire_excise_tax' | 'food_service' | 'fuel_additive_treatment' | 'fuel_system' | 'green_gasoline_mid_plus' | 'green_gasoline_premium_super' | 'green_gasoline_regular' | 'grocery' | 'heating_oil' | 'hoses' | 'hydrogen_h35' | 'hydrogen_h70' | 'inspection' | 'kerosene_low_sulfur' | 'kerosene_low_sulfur_non_taxable' | 'kerosene_ultra_low_sulfur' | 'kerosene_ultra_low_sulfur_non_taxable' | 'labor' | 'lamps' | 'liquid_natural_gas' | 'liquid_propane_gas' | 'lodging' | 'low_octane_unleaded' | 'lube' | 'marine_diesel' | 'marine_fuel' | 'marine_fuel_1' | 'marine_fuel_2' | 'marine_fuel_3' | 'marine_fuel_4' | 'marine_fuel_5' | 'marine_other' | 'merchandise' | 'mid_plus' | 'mid_plus_2' | 'mid_plus_2_10' | 'mid_plus_2_e15' | 'mid_plus_2_reformulated' | 'mid_plus_e10' | 'mid_plus_e15' | 'mid_plus_ethanol' | 'mid_plus_reformulated' | 'miscellaneous_aviation_products_services' | 'miscellaneous_fuel' | 'miscellaneous_marine_products_services' | 'miscellaneous_vehicle_products_services' | 'motor_oil' | 'off_road_b1' | 'off_road_b10' | 'off_road_b100' | 'off_road_b11' | 'off_road_b15' | 'off_road_b2' | 'off_road_b20' | 'off_road_b5' | 'off_road_b75' | 'off_road_b99' | 'off_road_biodiesel' | 'off_road_diesel_1' | 'off_road_diesel_2' | 'off_road_mid_plus' | 'off_road_mid_plus_2' | 'off_road_premium_diesel_1' | 'off_road_premium_diesel_2' | 'off_road_premium_super' | 'off_road_premium_super_2' | 'off_road_regular' | 'off_road_renewable_diesel_b6_to_b20' | 'off_road_renewable_diesel_r95' | 'oil_change' | 'oil_filter' | 'other_lubricants' | 'packaged_beverage' | 'premium_diesel' | 'premium_diesel_2' | 'premium_diesel_b20_plus' | 'premium_diesel_under_b20' | 'premium_super' | 'premium_super_2' | 'premium_super_2_10' | 'premium_super_2_e15' | 'premium_super_2_reformulated' | 'premium_super_e10' | 'premium_super_e15' | 'premium_super_ethanol' | 'premium_super_reformulated' | 'preventative_maintenance' | 'racing_fuel' | 'recreational_fuel_90_octane' | 'regular' | 'regular_diesel' | 'regular_diesel_2' | 'regular_e10' | 'regular_e15' | 'regular_ethanol' | 'regular_reformulated' | 'renewable_diesel_b6_to_b20' | 'renewable_diesel_r95' | 'repairs' | 'road_service' | 'rv_dump_fee' | 'scales' | 'self_service_car_wash' | 'service_package' | 'shower' | 'store_service' | 'synthetic_oil' | 'tire_related' | 'tire_repair' | 'tire_rotation' | 'tires' | 'tobacco' | 'toll_payments' | 'towing' | 'trailer_wash' | 'transmission_service' | 'truck_tank_cleaning' | 'vehicle_accessories' | 'vehicle_glass' | 'vehicle_parking' | 'vehicle_parts' | 'vehicle_prep' | 'vehicle_rental' | 'vehicle_work_order' | 'wash_out' | 'washer_fluid' | 'white_gas' | 'wipers' | OtherString;
|
|
20895
|
+
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
20896
|
+
}
|
|
20897
|
+
}
|
|
20526
20898
|
namespace Paypal {
|
|
20527
20899
|
type Category = 'digital_goods' | 'donation' | 'physical_goods' | OtherString;
|
|
20528
20900
|
}
|
|
@@ -22191,6 +22563,8 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
22191
22563
|
*/
|
|
22192
22564
|
transit_number: string;
|
|
22193
22565
|
}
|
|
22566
|
+
interface AeonPay {
|
|
22567
|
+
}
|
|
22194
22568
|
interface Affirm {
|
|
22195
22569
|
}
|
|
22196
22570
|
interface AfterpayClearpay {
|
|
@@ -22212,6 +22586,8 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
22212
22586
|
*/
|
|
22213
22587
|
bsb_number: string;
|
|
22214
22588
|
}
|
|
22589
|
+
interface AuPay {
|
|
22590
|
+
}
|
|
22215
22591
|
interface BacsDebit {
|
|
22216
22592
|
/**
|
|
22217
22593
|
* Account number of the bank account that the funds will be debited from.
|
|
@@ -22266,6 +22642,8 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
22266
22642
|
}
|
|
22267
22643
|
interface CustomerBalance {
|
|
22268
22644
|
}
|
|
22645
|
+
interface Dbarai {
|
|
22646
|
+
}
|
|
22269
22647
|
interface Eps {
|
|
22270
22648
|
/**
|
|
22271
22649
|
* The customer's bank.
|
|
@@ -22326,6 +22704,8 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
22326
22704
|
}
|
|
22327
22705
|
interface MbWay {
|
|
22328
22706
|
}
|
|
22707
|
+
interface Merpay {
|
|
22708
|
+
}
|
|
22329
22709
|
interface Mobilepay {
|
|
22330
22710
|
}
|
|
22331
22711
|
interface Multibanco {
|
|
@@ -22453,7 +22833,7 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
22453
22833
|
}
|
|
22454
22834
|
interface Twint {
|
|
22455
22835
|
}
|
|
22456
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
22836
|
+
type Type = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
22457
22837
|
interface Upi {
|
|
22458
22838
|
/**
|
|
22459
22839
|
* Configuration options for setting up an eMandate
|
|
@@ -22730,6 +23110,10 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
22730
23110
|
target_date?: string;
|
|
22731
23111
|
}
|
|
22732
23112
|
interface BacsDebit {
|
|
23113
|
+
/**
|
|
23114
|
+
* Additional fields for Financial Connections session creation.
|
|
23115
|
+
*/
|
|
23116
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
22733
23117
|
/**
|
|
22734
23118
|
* Additional fields for Mandate creation
|
|
22735
23119
|
*/
|
|
@@ -24079,6 +24463,12 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
24079
24463
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
24080
24464
|
}
|
|
24081
24465
|
namespace BacsDebit {
|
|
24466
|
+
interface FinancialConnections {
|
|
24467
|
+
/**
|
|
24468
|
+
* For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
24469
|
+
*/
|
|
24470
|
+
return_url?: string;
|
|
24471
|
+
}
|
|
24082
24472
|
interface MandateOptions {
|
|
24083
24473
|
/**
|
|
24084
24474
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -24086,7 +24476,7 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
24086
24476
|
reference_prefix?: Emptyable<string>;
|
|
24087
24477
|
}
|
|
24088
24478
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
24089
|
-
type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
|
|
24479
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
24090
24480
|
}
|
|
24091
24481
|
namespace Bancontact {
|
|
24092
24482
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
@@ -25521,7 +25911,7 @@ export declare namespace PaymentIntentConfirmParams {
|
|
|
25521
25911
|
}
|
|
25522
25912
|
}
|
|
25523
25913
|
namespace Paypay {
|
|
25524
|
-
type SetupFutureUsage = 'none' | 'off_session' |
|
|
25914
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
25525
25915
|
}
|
|
25526
25916
|
namespace Payto {
|
|
25527
25917
|
interface MandateOptions {
|
|
@@ -25993,6 +26383,14 @@ export declare namespace PaymentIntentDecrementAuthorizationParams {
|
|
|
25993
26383
|
* Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
25994
26384
|
*/
|
|
25995
26385
|
commodity_code?: string;
|
|
26386
|
+
/**
|
|
26387
|
+
* EV charging data for this line item.
|
|
26388
|
+
*/
|
|
26389
|
+
ev_charging?: CardPresent.EvCharging;
|
|
26390
|
+
/**
|
|
26391
|
+
* Fleet data for this line item.
|
|
26392
|
+
*/
|
|
26393
|
+
fleet_data?: CardPresent.FleetData;
|
|
25996
26394
|
}
|
|
25997
26395
|
interface Klarna {
|
|
25998
26396
|
/**
|
|
@@ -26079,6 +26477,59 @@ export declare namespace PaymentIntentDecrementAuthorizationParams {
|
|
|
26079
26477
|
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
26080
26478
|
}
|
|
26081
26479
|
}
|
|
26480
|
+
namespace CardPresent {
|
|
26481
|
+
interface EvCharging {
|
|
26482
|
+
/**
|
|
26483
|
+
* The carbon footprint avoided by the charging session, in grams of CO2.
|
|
26484
|
+
*/
|
|
26485
|
+
carbon_footprint_avoided_grams_co2?: number;
|
|
26486
|
+
/**
|
|
26487
|
+
* The time the charging session ended, measured in seconds since the Unix epoch.
|
|
26488
|
+
*/
|
|
26489
|
+
charging_ended_at: number;
|
|
26490
|
+
/**
|
|
26491
|
+
* The power output capacity of the charging station, in kilowatts (kW).
|
|
26492
|
+
*/
|
|
26493
|
+
charging_power_output_capacity_kw: number;
|
|
26494
|
+
/**
|
|
26495
|
+
* The time the charging session started, measured in seconds since the Unix epoch.
|
|
26496
|
+
*/
|
|
26497
|
+
charging_started_at: number;
|
|
26498
|
+
/**
|
|
26499
|
+
* The type of connector used for the charging session.
|
|
26500
|
+
*/
|
|
26501
|
+
connector_type: EvCharging.ConnectorType;
|
|
26502
|
+
/**
|
|
26503
|
+
* The estimated distance in kilometers or miles added to the vehicle during the charging session.
|
|
26504
|
+
*/
|
|
26505
|
+
estimated_range_added?: number;
|
|
26506
|
+
/**
|
|
26507
|
+
* The estimated distance in kilometers or miles remaining in the vehicle after the charging session.
|
|
26508
|
+
*/
|
|
26509
|
+
estimated_range_left?: number;
|
|
26510
|
+
/**
|
|
26511
|
+
* The maximum power dispensed during the charging session, in kilowatts (kW).
|
|
26512
|
+
*/
|
|
26513
|
+
maximum_power_dispensed_kw: number;
|
|
26514
|
+
}
|
|
26515
|
+
interface FleetData {
|
|
26516
|
+
/**
|
|
26517
|
+
* The type of product being purchased at this line item.
|
|
26518
|
+
*/
|
|
26519
|
+
product_type: FleetData.ProductType;
|
|
26520
|
+
/**
|
|
26521
|
+
* The type of service received at the acceptor location.
|
|
26522
|
+
*/
|
|
26523
|
+
service_type?: FleetData.ServiceType;
|
|
26524
|
+
}
|
|
26525
|
+
namespace EvCharging {
|
|
26526
|
+
type ConnectorType = 'ac_gb_t' | 'ac_j1772' | 'ac_mennekes' | 'dc_ccs1' | 'dc_ccs2' | 'dc_chademo' | 'dc_gb_t' | 'dc_mcs' | 'nacs' | OtherString;
|
|
26527
|
+
}
|
|
26528
|
+
namespace FleetData {
|
|
26529
|
+
type ProductType = 'additive_dosage' | 'additized_diesel_2' | 'additized_diesel_3' | 'air_conditioning_service' | 'air_filter' | 'alcohol' | 'antifreeze' | 'automotive_merchandise' | 'aviation_fuel_premium' | 'aviation_fuel_regular' | 'batteries' | 'biodiesel_b1' | 'biodiesel_b10' | 'biodiesel_b100' | 'biodiesel_b11' | 'biodiesel_b15' | 'biodiesel_b2' | 'biodiesel_b20' | 'biodiesel_b5' | 'biodiesel_b75' | 'biodiesel_b99' | 'blended_diesel_1_and_2' | 'body_work' | 'brake_fluid' | 'brake_service' | 'car_care_detailing' | 'car_wash' | 'compressed_natural_gas' | 'def_at_pump' | 'deli' | 'e85' | 'engine_service' | 'ethanol_e16_to_e84' | 'ev_battery_exchanges' | 'ev_charging_fee' | 'evc_level_1' | 'evc_level_2' | 'evc_level_3' | 'evc_level_4' | 'evc_level_5' | 'exhaust_service' | 'federal_tire_excise_tax' | 'food_service' | 'fuel_additive_treatment' | 'fuel_system' | 'green_gasoline_mid_plus' | 'green_gasoline_premium_super' | 'green_gasoline_regular' | 'grocery' | 'heating_oil' | 'hoses' | 'hydrogen_h35' | 'hydrogen_h70' | 'inspection' | 'kerosene_low_sulfur' | 'kerosene_low_sulfur_non_taxable' | 'kerosene_ultra_low_sulfur' | 'kerosene_ultra_low_sulfur_non_taxable' | 'labor' | 'lamps' | 'liquid_natural_gas' | 'liquid_propane_gas' | 'lodging' | 'low_octane_unleaded' | 'lube' | 'marine_diesel' | 'marine_fuel' | 'marine_fuel_1' | 'marine_fuel_2' | 'marine_fuel_3' | 'marine_fuel_4' | 'marine_fuel_5' | 'marine_other' | 'merchandise' | 'mid_plus' | 'mid_plus_2' | 'mid_plus_2_10' | 'mid_plus_2_e15' | 'mid_plus_2_reformulated' | 'mid_plus_e10' | 'mid_plus_e15' | 'mid_plus_ethanol' | 'mid_plus_reformulated' | 'miscellaneous_aviation_products_services' | 'miscellaneous_fuel' | 'miscellaneous_marine_products_services' | 'miscellaneous_vehicle_products_services' | 'motor_oil' | 'off_road_b1' | 'off_road_b10' | 'off_road_b100' | 'off_road_b11' | 'off_road_b15' | 'off_road_b2' | 'off_road_b20' | 'off_road_b5' | 'off_road_b75' | 'off_road_b99' | 'off_road_biodiesel' | 'off_road_diesel_1' | 'off_road_diesel_2' | 'off_road_mid_plus' | 'off_road_mid_plus_2' | 'off_road_premium_diesel_1' | 'off_road_premium_diesel_2' | 'off_road_premium_super' | 'off_road_premium_super_2' | 'off_road_regular' | 'off_road_renewable_diesel_b6_to_b20' | 'off_road_renewable_diesel_r95' | 'oil_change' | 'oil_filter' | 'other_lubricants' | 'packaged_beverage' | 'premium_diesel' | 'premium_diesel_2' | 'premium_diesel_b20_plus' | 'premium_diesel_under_b20' | 'premium_super' | 'premium_super_2' | 'premium_super_2_10' | 'premium_super_2_e15' | 'premium_super_2_reformulated' | 'premium_super_e10' | 'premium_super_e15' | 'premium_super_ethanol' | 'premium_super_reformulated' | 'preventative_maintenance' | 'racing_fuel' | 'recreational_fuel_90_octane' | 'regular' | 'regular_diesel' | 'regular_diesel_2' | 'regular_e10' | 'regular_e15' | 'regular_ethanol' | 'regular_reformulated' | 'renewable_diesel_b6_to_b20' | 'renewable_diesel_r95' | 'repairs' | 'road_service' | 'rv_dump_fee' | 'scales' | 'self_service_car_wash' | 'service_package' | 'shower' | 'store_service' | 'synthetic_oil' | 'tire_related' | 'tire_repair' | 'tire_rotation' | 'tires' | 'tobacco' | 'toll_payments' | 'towing' | 'trailer_wash' | 'transmission_service' | 'truck_tank_cleaning' | 'vehicle_accessories' | 'vehicle_glass' | 'vehicle_parking' | 'vehicle_parts' | 'vehicle_prep' | 'vehicle_rental' | 'vehicle_work_order' | 'wash_out' | 'washer_fluid' | 'white_gas' | 'wipers' | OtherString;
|
|
26530
|
+
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
26531
|
+
}
|
|
26532
|
+
}
|
|
26082
26533
|
namespace Paypal {
|
|
26083
26534
|
type Category = 'digital_goods' | 'donation' | 'physical_goods' | OtherString;
|
|
26084
26535
|
}
|
|
@@ -26353,6 +26804,14 @@ export declare namespace PaymentIntentIncrementAuthorizationParams {
|
|
|
26353
26804
|
* Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
|
|
26354
26805
|
*/
|
|
26355
26806
|
commodity_code?: string;
|
|
26807
|
+
/**
|
|
26808
|
+
* EV charging data for this line item.
|
|
26809
|
+
*/
|
|
26810
|
+
ev_charging?: CardPresent.EvCharging;
|
|
26811
|
+
/**
|
|
26812
|
+
* Fleet data for this line item.
|
|
26813
|
+
*/
|
|
26814
|
+
fleet_data?: CardPresent.FleetData;
|
|
26356
26815
|
}
|
|
26357
26816
|
interface Klarna {
|
|
26358
26817
|
/**
|
|
@@ -26439,6 +26898,59 @@ export declare namespace PaymentIntentIncrementAuthorizationParams {
|
|
|
26439
26898
|
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
26440
26899
|
}
|
|
26441
26900
|
}
|
|
26901
|
+
namespace CardPresent {
|
|
26902
|
+
interface EvCharging {
|
|
26903
|
+
/**
|
|
26904
|
+
* The carbon footprint avoided by the charging session, in grams of CO2.
|
|
26905
|
+
*/
|
|
26906
|
+
carbon_footprint_avoided_grams_co2?: number;
|
|
26907
|
+
/**
|
|
26908
|
+
* The time the charging session ended, measured in seconds since the Unix epoch.
|
|
26909
|
+
*/
|
|
26910
|
+
charging_ended_at: number;
|
|
26911
|
+
/**
|
|
26912
|
+
* The power output capacity of the charging station, in kilowatts (kW).
|
|
26913
|
+
*/
|
|
26914
|
+
charging_power_output_capacity_kw: number;
|
|
26915
|
+
/**
|
|
26916
|
+
* The time the charging session started, measured in seconds since the Unix epoch.
|
|
26917
|
+
*/
|
|
26918
|
+
charging_started_at: number;
|
|
26919
|
+
/**
|
|
26920
|
+
* The type of connector used for the charging session.
|
|
26921
|
+
*/
|
|
26922
|
+
connector_type: EvCharging.ConnectorType;
|
|
26923
|
+
/**
|
|
26924
|
+
* The estimated distance in kilometers or miles added to the vehicle during the charging session.
|
|
26925
|
+
*/
|
|
26926
|
+
estimated_range_added?: number;
|
|
26927
|
+
/**
|
|
26928
|
+
* The estimated distance in kilometers or miles remaining in the vehicle after the charging session.
|
|
26929
|
+
*/
|
|
26930
|
+
estimated_range_left?: number;
|
|
26931
|
+
/**
|
|
26932
|
+
* The maximum power dispensed during the charging session, in kilowatts (kW).
|
|
26933
|
+
*/
|
|
26934
|
+
maximum_power_dispensed_kw: number;
|
|
26935
|
+
}
|
|
26936
|
+
interface FleetData {
|
|
26937
|
+
/**
|
|
26938
|
+
* The type of product being purchased at this line item.
|
|
26939
|
+
*/
|
|
26940
|
+
product_type: FleetData.ProductType;
|
|
26941
|
+
/**
|
|
26942
|
+
* The type of service received at the acceptor location.
|
|
26943
|
+
*/
|
|
26944
|
+
service_type?: FleetData.ServiceType;
|
|
26945
|
+
}
|
|
26946
|
+
namespace EvCharging {
|
|
26947
|
+
type ConnectorType = 'ac_gb_t' | 'ac_j1772' | 'ac_mennekes' | 'dc_ccs1' | 'dc_ccs2' | 'dc_chademo' | 'dc_gb_t' | 'dc_mcs' | 'nacs' | OtherString;
|
|
26948
|
+
}
|
|
26949
|
+
namespace FleetData {
|
|
26950
|
+
type ProductType = 'additive_dosage' | 'additized_diesel_2' | 'additized_diesel_3' | 'air_conditioning_service' | 'air_filter' | 'alcohol' | 'antifreeze' | 'automotive_merchandise' | 'aviation_fuel_premium' | 'aviation_fuel_regular' | 'batteries' | 'biodiesel_b1' | 'biodiesel_b10' | 'biodiesel_b100' | 'biodiesel_b11' | 'biodiesel_b15' | 'biodiesel_b2' | 'biodiesel_b20' | 'biodiesel_b5' | 'biodiesel_b75' | 'biodiesel_b99' | 'blended_diesel_1_and_2' | 'body_work' | 'brake_fluid' | 'brake_service' | 'car_care_detailing' | 'car_wash' | 'compressed_natural_gas' | 'def_at_pump' | 'deli' | 'e85' | 'engine_service' | 'ethanol_e16_to_e84' | 'ev_battery_exchanges' | 'ev_charging_fee' | 'evc_level_1' | 'evc_level_2' | 'evc_level_3' | 'evc_level_4' | 'evc_level_5' | 'exhaust_service' | 'federal_tire_excise_tax' | 'food_service' | 'fuel_additive_treatment' | 'fuel_system' | 'green_gasoline_mid_plus' | 'green_gasoline_premium_super' | 'green_gasoline_regular' | 'grocery' | 'heating_oil' | 'hoses' | 'hydrogen_h35' | 'hydrogen_h70' | 'inspection' | 'kerosene_low_sulfur' | 'kerosene_low_sulfur_non_taxable' | 'kerosene_ultra_low_sulfur' | 'kerosene_ultra_low_sulfur_non_taxable' | 'labor' | 'lamps' | 'liquid_natural_gas' | 'liquid_propane_gas' | 'lodging' | 'low_octane_unleaded' | 'lube' | 'marine_diesel' | 'marine_fuel' | 'marine_fuel_1' | 'marine_fuel_2' | 'marine_fuel_3' | 'marine_fuel_4' | 'marine_fuel_5' | 'marine_other' | 'merchandise' | 'mid_plus' | 'mid_plus_2' | 'mid_plus_2_10' | 'mid_plus_2_e15' | 'mid_plus_2_reformulated' | 'mid_plus_e10' | 'mid_plus_e15' | 'mid_plus_ethanol' | 'mid_plus_reformulated' | 'miscellaneous_aviation_products_services' | 'miscellaneous_fuel' | 'miscellaneous_marine_products_services' | 'miscellaneous_vehicle_products_services' | 'motor_oil' | 'off_road_b1' | 'off_road_b10' | 'off_road_b100' | 'off_road_b11' | 'off_road_b15' | 'off_road_b2' | 'off_road_b20' | 'off_road_b5' | 'off_road_b75' | 'off_road_b99' | 'off_road_biodiesel' | 'off_road_diesel_1' | 'off_road_diesel_2' | 'off_road_mid_plus' | 'off_road_mid_plus_2' | 'off_road_premium_diesel_1' | 'off_road_premium_diesel_2' | 'off_road_premium_super' | 'off_road_premium_super_2' | 'off_road_regular' | 'off_road_renewable_diesel_b6_to_b20' | 'off_road_renewable_diesel_r95' | 'oil_change' | 'oil_filter' | 'other_lubricants' | 'packaged_beverage' | 'premium_diesel' | 'premium_diesel_2' | 'premium_diesel_b20_plus' | 'premium_diesel_under_b20' | 'premium_super' | 'premium_super_2' | 'premium_super_2_10' | 'premium_super_2_e15' | 'premium_super_2_reformulated' | 'premium_super_e10' | 'premium_super_e15' | 'premium_super_ethanol' | 'premium_super_reformulated' | 'preventative_maintenance' | 'racing_fuel' | 'recreational_fuel_90_octane' | 'regular' | 'regular_diesel' | 'regular_diesel_2' | 'regular_e10' | 'regular_e15' | 'regular_ethanol' | 'regular_reformulated' | 'renewable_diesel_b6_to_b20' | 'renewable_diesel_r95' | 'repairs' | 'road_service' | 'rv_dump_fee' | 'scales' | 'self_service_car_wash' | 'service_package' | 'shower' | 'store_service' | 'synthetic_oil' | 'tire_related' | 'tire_repair' | 'tire_rotation' | 'tires' | 'tobacco' | 'toll_payments' | 'towing' | 'trailer_wash' | 'transmission_service' | 'truck_tank_cleaning' | 'vehicle_accessories' | 'vehicle_glass' | 'vehicle_parking' | 'vehicle_parts' | 'vehicle_prep' | 'vehicle_rental' | 'vehicle_work_order' | 'wash_out' | 'washer_fluid' | 'white_gas' | 'wipers' | OtherString;
|
|
26951
|
+
type ServiceType = 'full_service' | 'high_speed_diesel' | 'non_fuel_only' | 'self_service' | OtherString;
|
|
26952
|
+
}
|
|
26953
|
+
}
|
|
26442
26954
|
namespace Paypal {
|
|
26443
26955
|
type Category = 'digital_goods' | 'donation' | 'physical_goods' | OtherString;
|
|
26444
26956
|
}
|