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
|
@@ -312,7 +312,7 @@ export declare namespace PaymentLink {
|
|
|
312
312
|
*/
|
|
313
313
|
card: PaymentMethodOptions.Card | null;
|
|
314
314
|
}
|
|
315
|
-
type PaymentMethodType = 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
315
|
+
type PaymentMethodType = 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
316
316
|
interface PhoneNumberCollection {
|
|
317
317
|
/**
|
|
318
318
|
* If `true`, a phone number will be collected during checkout.
|
|
@@ -1086,7 +1086,7 @@ export declare namespace PaymentLinkCreateParams {
|
|
|
1086
1086
|
*/
|
|
1087
1087
|
card?: PaymentMethodOptions.Card;
|
|
1088
1088
|
}
|
|
1089
|
-
type PaymentMethodType = 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
1089
|
+
type PaymentMethodType = 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
1090
1090
|
interface PhoneNumberCollection {
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Set to `true` to enable phone number collection.
|
|
@@ -1943,7 +1943,7 @@ export declare namespace PaymentLinkUpdateParams {
|
|
|
1943
1943
|
*/
|
|
1944
1944
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
1945
1945
|
}
|
|
1946
|
-
type PaymentMethodType = 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
1946
|
+
type PaymentMethodType = 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
1947
1947
|
interface PhoneNumberCollection {
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Set to `true` to enable phone number collection.
|
|
@@ -101,6 +101,7 @@ export interface PaymentMethodConfiguration {
|
|
|
101
101
|
pix?: PaymentMethodConfiguration.Pix;
|
|
102
102
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
103
103
|
qris?: PaymentMethodConfiguration.Qris;
|
|
104
|
+
rakuten_pay?: PaymentMethodConfiguration.RakutenPay;
|
|
104
105
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
105
106
|
samsung_pay?: PaymentMethodConfiguration.SamsungPay;
|
|
106
107
|
satispay?: PaymentMethodConfiguration.Satispay;
|
|
@@ -462,6 +463,13 @@ export declare namespace PaymentMethodConfiguration {
|
|
|
462
463
|
available: boolean;
|
|
463
464
|
display_preference: Qris.DisplayPreference;
|
|
464
465
|
}
|
|
466
|
+
interface RakutenPay {
|
|
467
|
+
/**
|
|
468
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
469
|
+
*/
|
|
470
|
+
available: boolean;
|
|
471
|
+
display_preference: RakutenPay.DisplayPreference;
|
|
472
|
+
}
|
|
465
473
|
interface RevolutPay {
|
|
466
474
|
/**
|
|
467
475
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1554,6 +1562,26 @@ export declare namespace PaymentMethodConfiguration {
|
|
|
1554
1562
|
type Value = 'off' | 'on' | OtherString;
|
|
1555
1563
|
}
|
|
1556
1564
|
}
|
|
1565
|
+
namespace RakutenPay {
|
|
1566
|
+
interface DisplayPreference {
|
|
1567
|
+
/**
|
|
1568
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1569
|
+
*/
|
|
1570
|
+
overridable: boolean | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* The account's display preference.
|
|
1573
|
+
*/
|
|
1574
|
+
preference: DisplayPreference.Preference;
|
|
1575
|
+
/**
|
|
1576
|
+
* The effective display preference value.
|
|
1577
|
+
*/
|
|
1578
|
+
value: DisplayPreference.Value;
|
|
1579
|
+
}
|
|
1580
|
+
namespace DisplayPreference {
|
|
1581
|
+
type Preference = 'none' | 'off' | 'on' | OtherString;
|
|
1582
|
+
type Value = 'off' | 'on' | OtherString;
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1557
1585
|
namespace RevolutPay {
|
|
1558
1586
|
interface DisplayPreference {
|
|
1559
1587
|
/**
|
|
@@ -2092,6 +2120,10 @@ export interface PaymentMethodConfigurationCreateParams {
|
|
|
2092
2120
|
* QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
2093
2121
|
*/
|
|
2094
2122
|
qris?: PaymentMethodConfigurationCreateParams.Qris;
|
|
2123
|
+
/**
|
|
2124
|
+
* Rakuten Pay is a single-use payment method that requires customers to authenticate their payment. Customers pay by being redirected from your website or app, authorizing the payment with Rakuten Pay, then returning to your website or app. You get immediate notification of whether the payment succeeded or failed.
|
|
2125
|
+
*/
|
|
2126
|
+
rakuten_pay?: PaymentMethodConfigurationCreateParams.RakutenPay;
|
|
2095
2127
|
/**
|
|
2096
2128
|
* Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
2097
2129
|
*/
|
|
@@ -2464,6 +2496,12 @@ export declare namespace PaymentMethodConfigurationCreateParams {
|
|
|
2464
2496
|
*/
|
|
2465
2497
|
display_preference?: Qris.DisplayPreference;
|
|
2466
2498
|
}
|
|
2499
|
+
interface RakutenPay {
|
|
2500
|
+
/**
|
|
2501
|
+
* Whether or not the payment method should be displayed.
|
|
2502
|
+
*/
|
|
2503
|
+
display_preference?: RakutenPay.DisplayPreference;
|
|
2504
|
+
}
|
|
2467
2505
|
interface RevolutPay {
|
|
2468
2506
|
/**
|
|
2469
2507
|
* Whether or not the payment method should be displayed.
|
|
@@ -3121,6 +3159,17 @@ export declare namespace PaymentMethodConfigurationCreateParams {
|
|
|
3121
3159
|
type Preference = 'none' | 'off' | 'on' | OtherString;
|
|
3122
3160
|
}
|
|
3123
3161
|
}
|
|
3162
|
+
namespace RakutenPay {
|
|
3163
|
+
interface DisplayPreference {
|
|
3164
|
+
/**
|
|
3165
|
+
* The account's preference for whether or not to display this payment method.
|
|
3166
|
+
*/
|
|
3167
|
+
preference?: DisplayPreference.Preference;
|
|
3168
|
+
}
|
|
3169
|
+
namespace DisplayPreference {
|
|
3170
|
+
type Preference = 'none' | 'off' | 'on' | OtherString;
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3124
3173
|
namespace RevolutPay {
|
|
3125
3174
|
interface DisplayPreference {
|
|
3126
3175
|
/**
|
|
@@ -3521,6 +3570,10 @@ export interface PaymentMethodConfigurationUpdateParams {
|
|
|
3521
3570
|
* QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
3522
3571
|
*/
|
|
3523
3572
|
qris?: PaymentMethodConfigurationUpdateParams.Qris;
|
|
3573
|
+
/**
|
|
3574
|
+
* Rakuten Pay is a single-use payment method that requires customers to authenticate their payment. Customers pay by being redirected from your website or app, authorizing the payment with Rakuten Pay, then returning to your website or app. You get immediate notification of whether the payment succeeded or failed.
|
|
3575
|
+
*/
|
|
3576
|
+
rakuten_pay?: PaymentMethodConfigurationUpdateParams.RakutenPay;
|
|
3524
3577
|
/**
|
|
3525
3578
|
* Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
3526
3579
|
*/
|
|
@@ -3893,6 +3946,12 @@ export declare namespace PaymentMethodConfigurationUpdateParams {
|
|
|
3893
3946
|
*/
|
|
3894
3947
|
display_preference?: Qris.DisplayPreference;
|
|
3895
3948
|
}
|
|
3949
|
+
interface RakutenPay {
|
|
3950
|
+
/**
|
|
3951
|
+
* Whether or not the payment method should be displayed.
|
|
3952
|
+
*/
|
|
3953
|
+
display_preference?: RakutenPay.DisplayPreference;
|
|
3954
|
+
}
|
|
3896
3955
|
interface RevolutPay {
|
|
3897
3956
|
/**
|
|
3898
3957
|
* Whether or not the payment method should be displayed.
|
|
@@ -4550,6 +4609,17 @@ export declare namespace PaymentMethodConfigurationUpdateParams {
|
|
|
4550
4609
|
type Preference = 'none' | 'off' | 'on' | OtherString;
|
|
4551
4610
|
}
|
|
4552
4611
|
}
|
|
4612
|
+
namespace RakutenPay {
|
|
4613
|
+
interface DisplayPreference {
|
|
4614
|
+
/**
|
|
4615
|
+
* The account's preference for whether or not to display this payment method.
|
|
4616
|
+
*/
|
|
4617
|
+
preference?: DisplayPreference.Preference;
|
|
4618
|
+
}
|
|
4619
|
+
namespace DisplayPreference {
|
|
4620
|
+
type Preference = 'none' | 'off' | 'on' | OtherString;
|
|
4621
|
+
}
|
|
4622
|
+
}
|
|
4553
4623
|
namespace RevolutPay {
|
|
4554
4624
|
interface DisplayPreference {
|
|
4555
4625
|
/**
|
|
@@ -64,6 +64,7 @@ export interface PaymentMethod {
|
|
|
64
64
|
*/
|
|
65
65
|
object: 'payment_method';
|
|
66
66
|
acss_debit?: PaymentMethod.AcssDebit;
|
|
67
|
+
aeon_pay?: PaymentMethod.AeonPay;
|
|
67
68
|
affirm?: PaymentMethod.Affirm;
|
|
68
69
|
afterpay_clearpay?: PaymentMethod.AfterpayClearpay;
|
|
69
70
|
alipay?: PaymentMethod.Alipay;
|
|
@@ -74,6 +75,7 @@ export interface PaymentMethod {
|
|
|
74
75
|
alma?: PaymentMethod.Alma;
|
|
75
76
|
amazon_pay?: PaymentMethod.AmazonPay;
|
|
76
77
|
au_becs_debit?: PaymentMethod.AuBecsDebit;
|
|
78
|
+
au_pay?: PaymentMethod.AuPay;
|
|
77
79
|
bacs_debit?: PaymentMethod.BacsDebit;
|
|
78
80
|
bancontact?: PaymentMethod.Bancontact;
|
|
79
81
|
billie?: PaymentMethod.Billie;
|
|
@@ -97,6 +99,7 @@ export interface PaymentMethod {
|
|
|
97
99
|
customer: string | Customer | null;
|
|
98
100
|
customer_account: string | null;
|
|
99
101
|
customer_balance?: PaymentMethod.CustomerBalance;
|
|
102
|
+
dbarai?: PaymentMethod.Dbarai;
|
|
100
103
|
eps?: PaymentMethod.Eps;
|
|
101
104
|
fpx?: PaymentMethod.Fpx;
|
|
102
105
|
getflex?: PaymentMethod.Getflex;
|
|
@@ -121,6 +124,7 @@ export interface PaymentMethod {
|
|
|
121
124
|
*/
|
|
122
125
|
livemode: boolean;
|
|
123
126
|
mb_way?: PaymentMethod.MbWay;
|
|
127
|
+
merpay?: PaymentMethod.Merpay;
|
|
124
128
|
/**
|
|
125
129
|
* 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.
|
|
126
130
|
*/
|
|
@@ -206,6 +210,8 @@ export declare namespace PaymentMethod {
|
|
|
206
210
|
*/
|
|
207
211
|
transit_number: string | null;
|
|
208
212
|
}
|
|
213
|
+
interface AeonPay {
|
|
214
|
+
}
|
|
209
215
|
interface Affirm {
|
|
210
216
|
}
|
|
211
217
|
interface AfterpayClearpay {
|
|
@@ -231,6 +237,8 @@ export declare namespace PaymentMethod {
|
|
|
231
237
|
*/
|
|
232
238
|
last4: string | null;
|
|
233
239
|
}
|
|
240
|
+
interface AuPay {
|
|
241
|
+
}
|
|
234
242
|
interface BacsDebit {
|
|
235
243
|
/**
|
|
236
244
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
@@ -469,6 +477,8 @@ export declare namespace PaymentMethod {
|
|
|
469
477
|
}
|
|
470
478
|
interface CustomerBalance {
|
|
471
479
|
}
|
|
480
|
+
interface Dbarai {
|
|
481
|
+
}
|
|
472
482
|
interface Eps {
|
|
473
483
|
/**
|
|
474
484
|
* The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
|
@@ -624,6 +634,8 @@ export declare namespace PaymentMethod {
|
|
|
624
634
|
}
|
|
625
635
|
interface MbWay {
|
|
626
636
|
}
|
|
637
|
+
interface Merpay {
|
|
638
|
+
}
|
|
627
639
|
interface Mobilepay {
|
|
628
640
|
}
|
|
629
641
|
interface Multibanco {
|
|
@@ -811,7 +823,7 @@ export declare namespace PaymentMethod {
|
|
|
811
823
|
}
|
|
812
824
|
interface Twint {
|
|
813
825
|
}
|
|
814
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | '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;
|
|
826
|
+
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' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | '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;
|
|
815
827
|
interface Upi {
|
|
816
828
|
/**
|
|
817
829
|
* Customer's unique Virtual Payment Address
|
|
@@ -995,6 +1007,7 @@ export declare namespace PaymentMethod {
|
|
|
995
1007
|
* *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
996
1008
|
*/
|
|
997
1009
|
fingerprint: string | null;
|
|
1010
|
+
fleet?: CardPresent.Fleet;
|
|
998
1011
|
/**
|
|
999
1012
|
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
1000
1013
|
*/
|
|
@@ -1071,6 +1084,12 @@ export declare namespace PaymentMethod {
|
|
|
1071
1084
|
wallet?: CardPresent.Wallet;
|
|
1072
1085
|
}
|
|
1073
1086
|
namespace CardPresent {
|
|
1087
|
+
interface Fleet {
|
|
1088
|
+
/**
|
|
1089
|
+
* Fleet prompts and values collected for this transaction.
|
|
1090
|
+
*/
|
|
1091
|
+
transaction_data: Array<Fleet.TransactionDatum>;
|
|
1092
|
+
}
|
|
1074
1093
|
interface Multicapture {
|
|
1075
1094
|
/**
|
|
1076
1095
|
* Indicates whether or not multiple captures are supported.
|
|
@@ -1138,6 +1157,26 @@ export declare namespace PaymentMethod {
|
|
|
1138
1157
|
*/
|
|
1139
1158
|
type: Wallet.Type;
|
|
1140
1159
|
}
|
|
1160
|
+
namespace Fleet {
|
|
1161
|
+
interface TransactionDatum {
|
|
1162
|
+
/**
|
|
1163
|
+
* The prompt that the Terminal SDK displays to collect this Fleet value.
|
|
1164
|
+
*/
|
|
1165
|
+
prompt: TransactionDatum.Prompt;
|
|
1166
|
+
/**
|
|
1167
|
+
* Whether the collected value is printed on the receipt.
|
|
1168
|
+
*/
|
|
1169
|
+
receipt_behavior: TransactionDatum.ReceiptBehavior;
|
|
1170
|
+
/**
|
|
1171
|
+
* The value collected for this Fleet prompt.
|
|
1172
|
+
*/
|
|
1173
|
+
value: string;
|
|
1174
|
+
}
|
|
1175
|
+
namespace TransactionDatum {
|
|
1176
|
+
type Prompt = 'additional_fleet_data_1' | 'additional_fleet_data_2' | 'driver_id' | 'employee_number' | 'entered_data_alphanumeric' | 'entered_data_numeric' | 'generic_id' | 'invoice_number' | 'odometer' | 'postal_code' | 'reefer_hours' | 'replacement_car' | 'trailer_number' | 'trip_number' | 'unit_number' | 'vehicle_id' | 'vehicle_tag' | 'work_order';
|
|
1177
|
+
type ReceiptBehavior = 'omit' | 'print';
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1141
1180
|
namespace Multicapture {
|
|
1142
1181
|
type Status = 'available' | 'unavailable';
|
|
1143
1182
|
}
|
|
@@ -1379,6 +1418,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1379
1418
|
* If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
1380
1419
|
*/
|
|
1381
1420
|
acss_debit?: PaymentMethodCreateParams.AcssDebit;
|
|
1421
|
+
/**
|
|
1422
|
+
* If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
|
|
1423
|
+
*/
|
|
1424
|
+
aeon_pay?: PaymentMethodCreateParams.AeonPay;
|
|
1382
1425
|
/**
|
|
1383
1426
|
* If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
1384
1427
|
*/
|
|
@@ -1407,6 +1450,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1407
1450
|
* If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
|
1408
1451
|
*/
|
|
1409
1452
|
au_becs_debit?: PaymentMethodCreateParams.AuBecsDebit;
|
|
1453
|
+
/**
|
|
1454
|
+
* If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
|
|
1455
|
+
*/
|
|
1456
|
+
au_pay?: PaymentMethodCreateParams.AuPay;
|
|
1410
1457
|
/**
|
|
1411
1458
|
* If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
|
1412
1459
|
*/
|
|
@@ -1463,6 +1510,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1463
1510
|
* If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
|
1464
1511
|
*/
|
|
1465
1512
|
customer_balance?: PaymentMethodCreateParams.CustomerBalance;
|
|
1513
|
+
/**
|
|
1514
|
+
* If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
|
|
1515
|
+
*/
|
|
1516
|
+
dbarai?: PaymentMethodCreateParams.Dbarai;
|
|
1466
1517
|
/**
|
|
1467
1518
|
* If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
|
1468
1519
|
*/
|
|
@@ -1531,6 +1582,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1531
1582
|
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
1532
1583
|
*/
|
|
1533
1584
|
mb_way?: PaymentMethodCreateParams.MbWay;
|
|
1585
|
+
/**
|
|
1586
|
+
* If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
|
|
1587
|
+
*/
|
|
1588
|
+
merpay?: PaymentMethodCreateParams.Merpay;
|
|
1534
1589
|
/**
|
|
1535
1590
|
* 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`.
|
|
1536
1591
|
*/
|
|
@@ -1711,6 +1766,8 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1711
1766
|
*/
|
|
1712
1767
|
transit_number: string;
|
|
1713
1768
|
}
|
|
1769
|
+
interface AeonPay {
|
|
1770
|
+
}
|
|
1714
1771
|
interface Affirm {
|
|
1715
1772
|
}
|
|
1716
1773
|
interface AfterpayClearpay {
|
|
@@ -1732,6 +1789,8 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1732
1789
|
*/
|
|
1733
1790
|
bsb_number: string;
|
|
1734
1791
|
}
|
|
1792
|
+
interface AuPay {
|
|
1793
|
+
}
|
|
1735
1794
|
interface BacsDebit {
|
|
1736
1795
|
/**
|
|
1737
1796
|
* Account number of the bank account that the funds will be debited from.
|
|
@@ -1818,6 +1877,8 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1818
1877
|
}
|
|
1819
1878
|
interface CustomerBalance {
|
|
1820
1879
|
}
|
|
1880
|
+
interface Dbarai {
|
|
1881
|
+
}
|
|
1821
1882
|
interface Eps {
|
|
1822
1883
|
/**
|
|
1823
1884
|
* The customer's bank.
|
|
@@ -1878,6 +1939,8 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1878
1939
|
}
|
|
1879
1940
|
interface MbWay {
|
|
1880
1941
|
}
|
|
1942
|
+
interface Merpay {
|
|
1943
|
+
}
|
|
1881
1944
|
interface Mobilepay {
|
|
1882
1945
|
}
|
|
1883
1946
|
interface Multibanco {
|
|
@@ -2005,7 +2068,7 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
2005
2068
|
}
|
|
2006
2069
|
interface Twint {
|
|
2007
2070
|
}
|
|
2008
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | '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;
|
|
2071
|
+
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' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | '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;
|
|
2009
2072
|
interface Upi {
|
|
2010
2073
|
/**
|
|
2011
2074
|
* Configuration options for setting up an eMandate
|
|
@@ -2284,7 +2347,7 @@ export interface PaymentMethodListParams extends PaginationParams {
|
|
|
2284
2347
|
}
|
|
2285
2348
|
export declare namespace PaymentMethodListParams {
|
|
2286
2349
|
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
2287
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | '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;
|
|
2350
|
+
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' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | '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;
|
|
2288
2351
|
}
|
|
2289
2352
|
export interface PaymentMethodAttachParams {
|
|
2290
2353
|
/**
|
|
@@ -117,6 +117,10 @@ export interface PaymentRecord {
|
|
|
117
117
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
118
118
|
*/
|
|
119
119
|
description: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Summary information about disputes associated with this Payment Record.
|
|
122
|
+
*/
|
|
123
|
+
dispute_details?: PaymentRecord.DisputeDetails | null;
|
|
120
124
|
/**
|
|
121
125
|
* ID of the latest Payment Attempt Record attached to this Payment Record.
|
|
122
126
|
*/
|
|
@@ -236,16 +240,32 @@ export declare namespace PaymentRecord {
|
|
|
236
240
|
phone: string | null;
|
|
237
241
|
}
|
|
238
242
|
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
243
|
+
interface DisputeDetails {
|
|
244
|
+
/**
|
|
245
|
+
* Total amounts reinstated across all disputes, keyed by currency, with each value containing the total for that currency. Withdrawals are not subtracted from these totals.
|
|
246
|
+
*/
|
|
247
|
+
reinstated: {
|
|
248
|
+
[key: string]: DisputeDetails.Reinstated;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Total amounts withdrawn across all disputes, keyed by currency, with each value containing the total for that currency. Reinstatements are not subtracted from these totals.
|
|
252
|
+
*/
|
|
253
|
+
withdrawn: {
|
|
254
|
+
[key: string]: DisputeDetails.Withdrawn;
|
|
255
|
+
};
|
|
256
|
+
}
|
|
239
257
|
interface PaymentMethodDetails {
|
|
240
258
|
ach_credit_transfer?: PaymentMethodDetails.AchCreditTransfer;
|
|
241
259
|
ach_debit?: PaymentMethodDetails.AchDebit;
|
|
242
260
|
acss_debit?: PaymentMethodDetails.AcssDebit;
|
|
261
|
+
aeon_pay?: PaymentMethodDetails.AeonPay;
|
|
243
262
|
affirm?: PaymentMethodDetails.Affirm;
|
|
244
263
|
afterpay_clearpay?: PaymentMethodDetails.AfterpayClearpay;
|
|
245
264
|
alipay?: PaymentMethodDetails.Alipay;
|
|
246
265
|
alma?: PaymentMethodDetails.Alma;
|
|
247
266
|
amazon_pay?: PaymentMethodDetails.AmazonPay;
|
|
248
267
|
au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
|
|
268
|
+
au_pay?: PaymentMethodDetails.AuPay;
|
|
249
269
|
bacs_debit?: PaymentMethodDetails.BacsDebit;
|
|
250
270
|
bancontact?: PaymentMethodDetails.Bancontact;
|
|
251
271
|
billie?: PaymentMethodDetails.Billie;
|
|
@@ -271,6 +291,7 @@ export declare namespace PaymentRecord {
|
|
|
271
291
|
*/
|
|
272
292
|
custom?: PaymentMethodDetails.Custom;
|
|
273
293
|
customer_balance?: PaymentMethodDetails.CustomerBalance;
|
|
294
|
+
dbarai?: PaymentMethodDetails.Dbarai;
|
|
274
295
|
eps?: PaymentMethodDetails.Eps;
|
|
275
296
|
fpx?: PaymentMethodDetails.Fpx;
|
|
276
297
|
getflex?: PaymentMethodDetails.Getflex;
|
|
@@ -287,6 +308,7 @@ export declare namespace PaymentRecord {
|
|
|
287
308
|
kr_card?: PaymentMethodDetails.KrCard;
|
|
288
309
|
link?: PaymentMethodDetails.Link;
|
|
289
310
|
mb_way?: PaymentMethodDetails.MbWay;
|
|
311
|
+
merpay?: PaymentMethodDetails.Merpay;
|
|
290
312
|
mobilepay?: PaymentMethodDetails.Mobilepay;
|
|
291
313
|
momo?: PaymentMethodDetails.Momo;
|
|
292
314
|
multibanco?: PaymentMethodDetails.Multibanco;
|
|
@@ -377,6 +399,28 @@ export declare namespace PaymentRecord {
|
|
|
377
399
|
*/
|
|
378
400
|
phone: string | null;
|
|
379
401
|
}
|
|
402
|
+
namespace DisputeDetails {
|
|
403
|
+
interface Reinstated {
|
|
404
|
+
/**
|
|
405
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
406
|
+
*/
|
|
407
|
+
currency: string;
|
|
408
|
+
/**
|
|
409
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
410
|
+
*/
|
|
411
|
+
value: number;
|
|
412
|
+
}
|
|
413
|
+
interface Withdrawn {
|
|
414
|
+
/**
|
|
415
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
416
|
+
*/
|
|
417
|
+
currency: string;
|
|
418
|
+
/**
|
|
419
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
420
|
+
*/
|
|
421
|
+
value: number;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
380
424
|
namespace PaymentMethodDetails {
|
|
381
425
|
interface AchCreditTransfer {
|
|
382
426
|
/**
|
|
@@ -452,6 +496,8 @@ export declare namespace PaymentRecord {
|
|
|
452
496
|
*/
|
|
453
497
|
transit_number: string | null;
|
|
454
498
|
}
|
|
499
|
+
interface AeonPay {
|
|
500
|
+
}
|
|
455
501
|
interface Affirm {
|
|
456
502
|
/**
|
|
457
503
|
* ID of the location that this reader is assigned to.
|
|
@@ -526,6 +572,8 @@ export declare namespace PaymentRecord {
|
|
|
526
572
|
*/
|
|
527
573
|
mandate?: string;
|
|
528
574
|
}
|
|
575
|
+
interface AuPay {
|
|
576
|
+
}
|
|
529
577
|
interface BacsDebit {
|
|
530
578
|
/**
|
|
531
579
|
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
@@ -771,6 +819,7 @@ export declare namespace PaymentRecord {
|
|
|
771
819
|
* *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
772
820
|
*/
|
|
773
821
|
fingerprint: string | null;
|
|
822
|
+
fleet?: CardPresent.Fleet;
|
|
774
823
|
/**
|
|
775
824
|
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
776
825
|
*/
|
|
@@ -900,6 +949,8 @@ export declare namespace PaymentRecord {
|
|
|
900
949
|
}
|
|
901
950
|
interface CustomerBalance {
|
|
902
951
|
}
|
|
952
|
+
interface Dbarai {
|
|
953
|
+
}
|
|
903
954
|
interface Eps {
|
|
904
955
|
/**
|
|
905
956
|
* The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`
|
|
@@ -1198,6 +1249,8 @@ export declare namespace PaymentRecord {
|
|
|
1198
1249
|
}
|
|
1199
1250
|
interface MbWay {
|
|
1200
1251
|
}
|
|
1252
|
+
interface Merpay {
|
|
1253
|
+
}
|
|
1201
1254
|
interface Mobilepay {
|
|
1202
1255
|
/**
|
|
1203
1256
|
* Internal card details
|
|
@@ -1361,6 +1414,10 @@ export declare namespace PaymentRecord {
|
|
|
1361
1414
|
verified_name?: string | null;
|
|
1362
1415
|
}
|
|
1363
1416
|
interface Paypay {
|
|
1417
|
+
/**
|
|
1418
|
+
* Uniquely identifies this particular PayPay account. You can use this attribute to check whether two PayPay accounts are the same.
|
|
1419
|
+
*/
|
|
1420
|
+
fingerprint?: string;
|
|
1364
1421
|
/**
|
|
1365
1422
|
* ID of the multi-use Mandate created by, or used to make, this PayPay payment.
|
|
1366
1423
|
*/
|
|
@@ -1831,6 +1888,12 @@ export declare namespace PaymentRecord {
|
|
|
1831
1888
|
}
|
|
1832
1889
|
}
|
|
1833
1890
|
namespace CardPresent {
|
|
1891
|
+
interface Fleet {
|
|
1892
|
+
/**
|
|
1893
|
+
* Fleet prompts and values collected for this transaction.
|
|
1894
|
+
*/
|
|
1895
|
+
transaction_data: Array<Fleet.TransactionDatum>;
|
|
1896
|
+
}
|
|
1834
1897
|
interface Multicapture {
|
|
1835
1898
|
/**
|
|
1836
1899
|
* Indicates whether or not multiple captures are supported.
|
|
@@ -1898,6 +1961,26 @@ export declare namespace PaymentRecord {
|
|
|
1898
1961
|
*/
|
|
1899
1962
|
type: Wallet.Type;
|
|
1900
1963
|
}
|
|
1964
|
+
namespace Fleet {
|
|
1965
|
+
interface TransactionDatum {
|
|
1966
|
+
/**
|
|
1967
|
+
* The prompt that the Terminal SDK displays to collect this Fleet value.
|
|
1968
|
+
*/
|
|
1969
|
+
prompt: TransactionDatum.Prompt;
|
|
1970
|
+
/**
|
|
1971
|
+
* Whether the collected value is printed on the receipt.
|
|
1972
|
+
*/
|
|
1973
|
+
receipt_behavior: TransactionDatum.ReceiptBehavior;
|
|
1974
|
+
/**
|
|
1975
|
+
* The value collected for this Fleet prompt.
|
|
1976
|
+
*/
|
|
1977
|
+
value: string;
|
|
1978
|
+
}
|
|
1979
|
+
namespace TransactionDatum {
|
|
1980
|
+
type Prompt = 'additional_fleet_data_1' | 'additional_fleet_data_2' | 'driver_id' | 'employee_number' | 'entered_data_alphanumeric' | 'entered_data_numeric' | 'generic_id' | 'invoice_number' | 'odometer' | 'postal_code' | 'reefer_hours' | 'replacement_car' | 'trailer_number' | 'trip_number' | 'unit_number' | 'vehicle_id' | 'vehicle_tag' | 'work_order';
|
|
1981
|
+
type ReceiptBehavior = 'omit' | 'print';
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1901
1984
|
namespace Multicapture {
|
|
1902
1985
|
type Status = 'available' | 'unavailable';
|
|
1903
1986
|
}
|
|
@@ -2960,7 +3043,7 @@ export declare namespace PaymentRecordReportPaymentAttemptGuaranteedParams {
|
|
|
2960
3043
|
/**
|
|
2961
3044
|
* The type of the payment method details. An additional hash is included on the payment_method_details with a name matching this value. It contains additional information specific to the type.
|
|
2962
3045
|
*/
|
|
2963
|
-
type:
|
|
3046
|
+
type: PaymentMethodDetails.Type;
|
|
2964
3047
|
}
|
|
2965
3048
|
interface ProcessorDetails {
|
|
2966
3049
|
/**
|
|
@@ -2979,6 +3062,7 @@ export declare namespace PaymentRecordReportPaymentAttemptGuaranteedParams {
|
|
|
2979
3062
|
*/
|
|
2980
3063
|
checks?: Card.Checks;
|
|
2981
3064
|
}
|
|
3065
|
+
type Type = 'card' | 'us_bank_account' | OtherString;
|
|
2982
3066
|
namespace Card {
|
|
2983
3067
|
interface Checks {
|
|
2984
3068
|
/**
|
|
@@ -1076,7 +1076,7 @@ export declare namespace QuotePreviewInvoice {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
1078
|
namespace BacsDebit {
|
|
1079
|
-
type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
|
|
1079
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
1080
1080
|
}
|
|
1081
1081
|
namespace Bancontact {
|
|
1082
1082
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
@@ -1429,7 +1429,7 @@ export declare namespace QuoteCreateParams {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
interface LineItem {
|
|
1431
1431
|
/**
|
|
1432
|
-
* The discounts applied to this line item.
|
|
1432
|
+
* The discounts applied to this line item. Repeating coupons are only supported for recurring prices.
|
|
1433
1433
|
*/
|
|
1434
1434
|
discounts?: Emptyable<Array<LineItem.Discount>>;
|
|
1435
1435
|
/**
|
|
@@ -3021,7 +3021,7 @@ export declare namespace QuoteUpdateParams {
|
|
|
3021
3021
|
}
|
|
3022
3022
|
interface LineItem {
|
|
3023
3023
|
/**
|
|
3024
|
-
* The discounts applied to this line item.
|
|
3024
|
+
* The discounts applied to this line item. Repeating coupons are only supported for recurring prices.
|
|
3025
3025
|
*/
|
|
3026
3026
|
discounts?: Emptyable<Array<LineItem.Discount>>;
|
|
3027
3027
|
/**
|