stripe 23.2.0-alpha.2 → 23.2.0-alpha.3
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 +25 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/StripeEventNotificationHandler.js +5 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Webhooks.js +159 -42
- package/cjs/Webhooks.js.map +1 -1
- package/cjs/crypto/CryptoProvider.d.ts +4 -0
- package/cjs/crypto/CryptoProvider.js +6 -0
- package/cjs/crypto/CryptoProvider.js.map +1 -1
- package/cjs/crypto/NodeCryptoProvider.d.ts +2 -0
- package/cjs/crypto/NodeCryptoProvider.js +6 -2
- package/cjs/crypto/NodeCryptoProvider.js.map +1 -1
- package/cjs/crypto/SubtleCryptoProvider.d.ts +2 -0
- package/cjs/crypto/SubtleCryptoProvider.js +4 -0
- package/cjs/crypto/SubtleCryptoProvider.js.map +1 -1
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/Charges.d.ts +23 -6
- package/cjs/resources/Checkout/Sessions.d.ts +6 -0
- package/cjs/resources/Checkout/Sessions.js +2 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/ConfirmationTokens.d.ts +19 -2
- package/cjs/resources/Customers.d.ts +50 -0
- package/cjs/resources/FxQuotes.d.ts +2 -2
- package/cjs/resources/Identity/VerificationReports.d.ts +32 -0
- package/cjs/resources/Mandates.d.ts +7 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +98 -1
- package/cjs/resources/PaymentIntents.d.ts +27 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/cjs/resources/PaymentMethods.d.ts +19 -2
- package/cjs/resources/PaymentRecords.d.ts +132 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +24 -0
- package/cjs/resources/Reserve/Holds.d.ts +2 -2
- package/cjs/resources/Reserve/Holds.js +2 -2
- package/cjs/resources/Reserve/Plans.d.ts +2 -2
- package/cjs/resources/Reserve/Plans.js +2 -2
- package/cjs/resources/Reserve/Releases.d.ts +2 -2
- package/cjs/resources/Reserve/Releases.js +2 -2
- package/cjs/resources/SetupAttempts.d.ts +9 -2
- package/cjs/resources/SetupIntents.d.ts +34 -0
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +21 -2
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +36 -0
- package/cjs/resources/Terminal/Readers.d.ts +20 -2
- package/cjs/resources/V2/Core/Events.d.ts +81 -5
- package/cjs/resources/V2/Core/Events.js +12 -6
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/NetworkTokens.d.ts +1 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js +1 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +119 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +44 -2
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +76 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +43 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +3 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +3 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +10 -1
- package/cjs/resources/V2/MoneyManagement/SpendingMandates.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/SpendingMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/SpendingMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +15 -8
- package/cjs/resources/V2/MoneyManagement/index.js +2 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources.js +2 -0
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +187 -0
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.js +7 -3
- package/cjs/stripe.core.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +5 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Webhooks.js +159 -42
- package/esm/Webhooks.js.map +1 -1
- package/esm/crypto/CryptoProvider.d.ts +4 -0
- package/esm/crypto/CryptoProvider.js +6 -0
- package/esm/crypto/CryptoProvider.js.map +1 -1
- package/esm/crypto/NodeCryptoProvider.d.ts +2 -0
- package/esm/crypto/NodeCryptoProvider.js +6 -2
- package/esm/crypto/NodeCryptoProvider.js.map +1 -1
- package/esm/crypto/SubtleCryptoProvider.d.ts +2 -0
- package/esm/crypto/SubtleCryptoProvider.js +4 -0
- package/esm/crypto/SubtleCryptoProvider.js.map +1 -1
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/Charges.d.ts +23 -6
- package/esm/resources/Checkout/Sessions.d.ts +6 -0
- package/esm/resources/Checkout/Sessions.js +2 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/ConfirmationTokens.d.ts +19 -2
- package/esm/resources/Customers.d.ts +50 -0
- package/esm/resources/FxQuotes.d.ts +2 -2
- package/esm/resources/Identity/VerificationReports.d.ts +32 -0
- package/esm/resources/Mandates.d.ts +7 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +98 -1
- package/esm/resources/PaymentIntents.d.ts +27 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/esm/resources/PaymentMethods.d.ts +19 -2
- package/esm/resources/PaymentRecords.d.ts +132 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +24 -0
- package/esm/resources/Reserve/Holds.d.ts +2 -2
- package/esm/resources/Reserve/Holds.js +2 -2
- package/esm/resources/Reserve/Plans.d.ts +2 -2
- package/esm/resources/Reserve/Plans.js +2 -2
- package/esm/resources/Reserve/Releases.d.ts +2 -2
- package/esm/resources/Reserve/Releases.js +2 -2
- package/esm/resources/SetupAttempts.d.ts +9 -2
- package/esm/resources/SetupIntents.d.ts +34 -0
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +21 -2
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +36 -0
- package/esm/resources/Terminal/Readers.d.ts +20 -2
- package/esm/resources/V2/Core/Events.d.ts +81 -5
- package/esm/resources/V2/Core/Events.js +12 -6
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/Vault/NetworkTokens.d.ts +1 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js +1 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +119 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +44 -2
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +76 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +43 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +3 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +3 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +10 -1
- package/esm/resources/V2/MoneyManagement/SpendingMandates.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/SpendingMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/SpendingMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +15 -8
- package/esm/resources/V2/MoneyManagement/index.js +2 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources.js +2 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.js +7 -3
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.js +7 -3
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -891,11 +891,11 @@ export declare namespace PaymentMethod {
|
|
|
891
891
|
}
|
|
892
892
|
interface Checks {
|
|
893
893
|
/**
|
|
894
|
-
* If
|
|
894
|
+
* If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
895
895
|
*/
|
|
896
896
|
address_line1_check: string | null;
|
|
897
897
|
/**
|
|
898
|
-
* If
|
|
898
|
+
* If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
899
899
|
*/
|
|
900
900
|
address_postal_code_check: string | null;
|
|
901
901
|
/**
|
|
@@ -1134,6 +1134,10 @@ export declare namespace PaymentMethod {
|
|
|
1134
1134
|
* EMV tag 8A. A code returned by the card issuer.
|
|
1135
1135
|
*/
|
|
1136
1136
|
authorization_response_code: string | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* A message from the card issuer to show to the cardholder, and where it must be shown.
|
|
1139
|
+
*/
|
|
1140
|
+
cardholder_message?: Receipt.CardholderMessage | null;
|
|
1137
1141
|
/**
|
|
1138
1142
|
* Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
|
1139
1143
|
*/
|
|
@@ -1185,6 +1189,19 @@ export declare namespace PaymentMethod {
|
|
|
1185
1189
|
}
|
|
1186
1190
|
namespace Receipt {
|
|
1187
1191
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown' | OtherString;
|
|
1192
|
+
interface CardholderMessage {
|
|
1193
|
+
/**
|
|
1194
|
+
* Where the message must be printed or displayed. An empty list means the message must not be shown.
|
|
1195
|
+
*/
|
|
1196
|
+
destinations: Array<CardholderMessage.Destination>;
|
|
1197
|
+
/**
|
|
1198
|
+
* The message from the card issuer, such as the remaining balance.
|
|
1199
|
+
*/
|
|
1200
|
+
value: string;
|
|
1201
|
+
}
|
|
1202
|
+
namespace CardholderMessage {
|
|
1203
|
+
type Destination = 'cardholder_receipt' | 'merchant_receipt' | 'point_of_sale' | OtherString;
|
|
1204
|
+
}
|
|
1188
1205
|
}
|
|
1189
1206
|
namespace Wallet {
|
|
1190
1207
|
type Type = 'apple_pay' | 'google_pay' | 'samsung_pay' | 'unknown' | OtherString;
|
|
@@ -1776,7 +1776,7 @@ export declare namespace PaymentRecord {
|
|
|
1776
1776
|
*/
|
|
1777
1777
|
address_line1_check: Checks.AddressLine1Check | null;
|
|
1778
1778
|
/**
|
|
1779
|
-
* If you provide
|
|
1779
|
+
* If you provide an address postal code, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1780
1780
|
*/
|
|
1781
1781
|
address_postal_code_check: Checks.AddressPostalCodeCheck | null;
|
|
1782
1782
|
/**
|
|
@@ -1938,6 +1938,10 @@ export declare namespace PaymentRecord {
|
|
|
1938
1938
|
* EMV tag 8A. A code returned by the card issuer.
|
|
1939
1939
|
*/
|
|
1940
1940
|
authorization_response_code: string | null;
|
|
1941
|
+
/**
|
|
1942
|
+
* A message from the card issuer to show to the cardholder, and where it must be shown.
|
|
1943
|
+
*/
|
|
1944
|
+
cardholder_message?: Receipt.CardholderMessage | null;
|
|
1941
1945
|
/**
|
|
1942
1946
|
* Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
|
1943
1947
|
*/
|
|
@@ -1989,6 +1993,19 @@ export declare namespace PaymentRecord {
|
|
|
1989
1993
|
}
|
|
1990
1994
|
namespace Receipt {
|
|
1991
1995
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown' | OtherString;
|
|
1996
|
+
interface CardholderMessage {
|
|
1997
|
+
/**
|
|
1998
|
+
* Where the message must be printed or displayed. An empty list means the message must not be shown.
|
|
1999
|
+
*/
|
|
2000
|
+
destinations: Array<CardholderMessage.Destination>;
|
|
2001
|
+
/**
|
|
2002
|
+
* The message from the card issuer, such as the remaining balance.
|
|
2003
|
+
*/
|
|
2004
|
+
value: string;
|
|
2005
|
+
}
|
|
2006
|
+
namespace CardholderMessage {
|
|
2007
|
+
type Destination = 'cardholder_receipt' | 'merchant_receipt' | 'point_of_sale' | OtherString;
|
|
2008
|
+
}
|
|
1992
2009
|
}
|
|
1993
2010
|
namespace Wallet {
|
|
1994
2011
|
type Type = 'apple_pay' | 'google_pay' | 'samsung_pay' | 'unknown' | OtherString;
|
|
@@ -2590,6 +2607,10 @@ export declare namespace PaymentRecordReportPaymentParams {
|
|
|
2590
2607
|
* Verification checks performed on the card.
|
|
2591
2608
|
*/
|
|
2592
2609
|
checks?: Card.Checks;
|
|
2610
|
+
/**
|
|
2611
|
+
* Populated if this transaction used 3D Secure authentication.
|
|
2612
|
+
*/
|
|
2613
|
+
three_d_secure?: Card.ThreeDSecure;
|
|
2593
2614
|
}
|
|
2594
2615
|
interface Custom {
|
|
2595
2616
|
/**
|
|
@@ -2623,11 +2644,45 @@ export declare namespace PaymentRecordReportPaymentParams {
|
|
|
2623
2644
|
*/
|
|
2624
2645
|
cvc_check?: Checks.CvcCheck;
|
|
2625
2646
|
}
|
|
2647
|
+
interface ThreeDSecure {
|
|
2648
|
+
/**
|
|
2649
|
+
* For authenticated transactions: Indicates how the issuing bank authenticated the customer.
|
|
2650
|
+
*/
|
|
2651
|
+
authentication_flow?: ThreeDSecure.AuthenticationFlow;
|
|
2652
|
+
/**
|
|
2653
|
+
* The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
|
|
2654
|
+
*/
|
|
2655
|
+
electronic_commerce_indicator?: ThreeDSecure.ElectronicCommerceIndicator;
|
|
2656
|
+
/**
|
|
2657
|
+
* The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
2658
|
+
*/
|
|
2659
|
+
exemption_indicator?: ThreeDSecure.ExemptionIndicator;
|
|
2660
|
+
/**
|
|
2661
|
+
* Indicates the outcome of 3D Secure authentication.
|
|
2662
|
+
*/
|
|
2663
|
+
result: ThreeDSecure.Result;
|
|
2664
|
+
/**
|
|
2665
|
+
* Additional information about why 3D Secure succeeded or failed, based on the `result`.
|
|
2666
|
+
*/
|
|
2667
|
+
result_reason?: ThreeDSecure.ResultReason;
|
|
2668
|
+
/**
|
|
2669
|
+
* The version of 3D Secure that was used.
|
|
2670
|
+
*/
|
|
2671
|
+
version: ThreeDSecure.Version;
|
|
2672
|
+
}
|
|
2626
2673
|
namespace Checks {
|
|
2627
2674
|
type AddressLine1Check = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
2628
2675
|
type AddressPostalCodeCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
2629
2676
|
type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
2630
2677
|
}
|
|
2678
|
+
namespace ThreeDSecure {
|
|
2679
|
+
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
2680
|
+
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
2681
|
+
type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
|
|
2682
|
+
type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
2683
|
+
type ResultReason = 'abandoned' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
|
|
2684
|
+
type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
|
|
2685
|
+
}
|
|
2631
2686
|
}
|
|
2632
2687
|
}
|
|
2633
2688
|
namespace ProcessorDetails {
|
|
@@ -2837,6 +2892,10 @@ export declare namespace PaymentRecordReportPaymentAttemptParams {
|
|
|
2837
2892
|
* Verification checks performed on the card.
|
|
2838
2893
|
*/
|
|
2839
2894
|
checks?: Card.Checks;
|
|
2895
|
+
/**
|
|
2896
|
+
* Populated if this transaction used 3D Secure authentication.
|
|
2897
|
+
*/
|
|
2898
|
+
three_d_secure?: Card.ThreeDSecure;
|
|
2840
2899
|
}
|
|
2841
2900
|
interface Custom {
|
|
2842
2901
|
/**
|
|
@@ -2870,11 +2929,45 @@ export declare namespace PaymentRecordReportPaymentAttemptParams {
|
|
|
2870
2929
|
*/
|
|
2871
2930
|
cvc_check?: Checks.CvcCheck;
|
|
2872
2931
|
}
|
|
2932
|
+
interface ThreeDSecure {
|
|
2933
|
+
/**
|
|
2934
|
+
* For authenticated transactions: Indicates how the issuing bank authenticated the customer.
|
|
2935
|
+
*/
|
|
2936
|
+
authentication_flow?: ThreeDSecure.AuthenticationFlow;
|
|
2937
|
+
/**
|
|
2938
|
+
* The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
|
|
2939
|
+
*/
|
|
2940
|
+
electronic_commerce_indicator?: ThreeDSecure.ElectronicCommerceIndicator;
|
|
2941
|
+
/**
|
|
2942
|
+
* The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
2943
|
+
*/
|
|
2944
|
+
exemption_indicator?: ThreeDSecure.ExemptionIndicator;
|
|
2945
|
+
/**
|
|
2946
|
+
* Indicates the outcome of 3D Secure authentication.
|
|
2947
|
+
*/
|
|
2948
|
+
result: ThreeDSecure.Result;
|
|
2949
|
+
/**
|
|
2950
|
+
* Additional information about why 3D Secure succeeded or failed, based on the `result`.
|
|
2951
|
+
*/
|
|
2952
|
+
result_reason?: ThreeDSecure.ResultReason;
|
|
2953
|
+
/**
|
|
2954
|
+
* The version of 3D Secure that was used.
|
|
2955
|
+
*/
|
|
2956
|
+
version: ThreeDSecure.Version;
|
|
2957
|
+
}
|
|
2873
2958
|
namespace Checks {
|
|
2874
2959
|
type AddressLine1Check = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
2875
2960
|
type AddressPostalCodeCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
2876
2961
|
type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
2877
2962
|
}
|
|
2963
|
+
namespace ThreeDSecure {
|
|
2964
|
+
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
2965
|
+
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
2966
|
+
type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
|
|
2967
|
+
type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
2968
|
+
type ResultReason = 'abandoned' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
|
|
2969
|
+
type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
|
|
2970
|
+
}
|
|
2878
2971
|
}
|
|
2879
2972
|
}
|
|
2880
2973
|
}
|
|
@@ -3061,6 +3154,10 @@ export declare namespace PaymentRecordReportPaymentAttemptGuaranteedParams {
|
|
|
3061
3154
|
* Verification checks performed on the card.
|
|
3062
3155
|
*/
|
|
3063
3156
|
checks?: Card.Checks;
|
|
3157
|
+
/**
|
|
3158
|
+
* Populated if this transaction used 3D Secure authentication.
|
|
3159
|
+
*/
|
|
3160
|
+
three_d_secure?: Card.ThreeDSecure;
|
|
3064
3161
|
}
|
|
3065
3162
|
type Type = 'card' | 'us_bank_account' | OtherString;
|
|
3066
3163
|
namespace Card {
|
|
@@ -3078,11 +3175,45 @@ export declare namespace PaymentRecordReportPaymentAttemptGuaranteedParams {
|
|
|
3078
3175
|
*/
|
|
3079
3176
|
cvc_check?: Checks.CvcCheck;
|
|
3080
3177
|
}
|
|
3178
|
+
interface ThreeDSecure {
|
|
3179
|
+
/**
|
|
3180
|
+
* For authenticated transactions: Indicates how the issuing bank authenticated the customer.
|
|
3181
|
+
*/
|
|
3182
|
+
authentication_flow?: ThreeDSecure.AuthenticationFlow;
|
|
3183
|
+
/**
|
|
3184
|
+
* The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
|
|
3185
|
+
*/
|
|
3186
|
+
electronic_commerce_indicator?: ThreeDSecure.ElectronicCommerceIndicator;
|
|
3187
|
+
/**
|
|
3188
|
+
* The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
3189
|
+
*/
|
|
3190
|
+
exemption_indicator?: ThreeDSecure.ExemptionIndicator;
|
|
3191
|
+
/**
|
|
3192
|
+
* Indicates the outcome of 3D Secure authentication.
|
|
3193
|
+
*/
|
|
3194
|
+
result: ThreeDSecure.Result;
|
|
3195
|
+
/**
|
|
3196
|
+
* Additional information about why 3D Secure succeeded or failed, based on the `result`.
|
|
3197
|
+
*/
|
|
3198
|
+
result_reason?: ThreeDSecure.ResultReason;
|
|
3199
|
+
/**
|
|
3200
|
+
* The version of 3D Secure that was used.
|
|
3201
|
+
*/
|
|
3202
|
+
version: ThreeDSecure.Version;
|
|
3203
|
+
}
|
|
3081
3204
|
namespace Checks {
|
|
3082
3205
|
type AddressLine1Check = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
3083
3206
|
type AddressPostalCodeCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
3084
3207
|
type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked' | OtherString;
|
|
3085
3208
|
}
|
|
3209
|
+
namespace ThreeDSecure {
|
|
3210
|
+
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
3211
|
+
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
3212
|
+
type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
|
|
3213
|
+
type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
3214
|
+
type ResultReason = 'abandoned' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
|
|
3215
|
+
type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
|
|
3216
|
+
}
|
|
3086
3217
|
}
|
|
3087
3218
|
}
|
|
3088
3219
|
namespace ProcessorDetails {
|
|
@@ -455,6 +455,14 @@ export declare namespace PaymentEvaluation {
|
|
|
455
455
|
* Creditor identifier used for the intended debit.
|
|
456
456
|
*/
|
|
457
457
|
creditor_id: string | null;
|
|
458
|
+
/**
|
|
459
|
+
* Describes the presence of the customer during the payment.
|
|
460
|
+
*/
|
|
461
|
+
customer_presence: SepaDebit.CustomerPresence | null;
|
|
462
|
+
/**
|
|
463
|
+
* Describes whether this payment is one-off or recurring.
|
|
464
|
+
*/
|
|
465
|
+
payment_type: SepaDebit.PaymentType | null;
|
|
458
466
|
}
|
|
459
467
|
interface UsBankAccount {
|
|
460
468
|
/**
|
|
@@ -470,6 +478,10 @@ export declare namespace PaymentEvaluation {
|
|
|
470
478
|
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
471
479
|
type PaymentType = 'one_off' | 'recurring' | 'setup_one_off' | 'setup_recurring' | OtherString;
|
|
472
480
|
}
|
|
481
|
+
namespace SepaDebit {
|
|
482
|
+
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
483
|
+
type PaymentType = 'one_off' | 'recurring';
|
|
484
|
+
}
|
|
473
485
|
namespace UsBankAccount {
|
|
474
486
|
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
475
487
|
type PaymentType = 'one_off' | 'recurring';
|
|
@@ -779,6 +791,14 @@ export declare namespace Radar {
|
|
|
779
791
|
* Supply the SEPA Creditor Identifier configured for the intended debit with your selected processor. Obtain it from your processor's SEPA configuration API or onboarding/support information. Do not supply a statement descriptor, IBAN, processor merchant-account ID, or mandate reference. If the creditor identifier is unknown, omit it.
|
|
780
792
|
*/
|
|
781
793
|
creditor_id?: string;
|
|
794
|
+
/**
|
|
795
|
+
* Describes the presence of the customer during the payment.
|
|
796
|
+
*/
|
|
797
|
+
customer_presence?: SepaDebit.CustomerPresence;
|
|
798
|
+
/**
|
|
799
|
+
* Describes whether this payment is one-off or recurring.
|
|
800
|
+
*/
|
|
801
|
+
payment_type?: SepaDebit.PaymentType;
|
|
782
802
|
}
|
|
783
803
|
interface UsBankAccount {
|
|
784
804
|
/**
|
|
@@ -794,6 +814,10 @@ export declare namespace Radar {
|
|
|
794
814
|
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
795
815
|
type PaymentType = 'one_off' | 'recurring' | 'setup_one_off' | 'setup_recurring' | OtherString;
|
|
796
816
|
}
|
|
817
|
+
namespace SepaDebit {
|
|
818
|
+
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
819
|
+
type PaymentType = 'one_off' | 'recurring';
|
|
820
|
+
}
|
|
797
821
|
namespace UsBankAccount {
|
|
798
822
|
type CustomerPresence = 'off_session' | 'on_session' | OtherString;
|
|
799
823
|
type PaymentType = 'one_off' | 'recurring';
|
|
@@ -5,11 +5,11 @@ import { PaginationParams, OtherString, Metadata } from '../../shared.js';
|
|
|
5
5
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
6
6
|
export declare class HoldResource extends StripeResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a list of ReserveHolds
|
|
8
|
+
* Returns a list of ReserveHolds on your account or on one of your connected accounts. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
|
|
9
9
|
*/
|
|
10
10
|
list(params?: Reserve.HoldListParams, options?: RequestOptions): ApiListPromise<Hold>;
|
|
11
11
|
/**
|
|
12
|
-
* Retrieve a ReserveHold.
|
|
12
|
+
* Retrieve a ReserveHold on your account or on one of your connected accounts.
|
|
13
13
|
*/
|
|
14
14
|
retrieve(id: string, params?: Reserve.HoldRetrieveParams, options?: RequestOptions): Promise<Response<Hold>>;
|
|
15
15
|
}
|
|
@@ -5,7 +5,7 @@ exports.HoldResource = void 0;
|
|
|
5
5
|
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
6
|
class HoldResource extends StripeResource_js_1.StripeResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a list of ReserveHolds
|
|
8
|
+
* Returns a list of ReserveHolds on your account or on one of your connected accounts. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
|
|
9
9
|
*/
|
|
10
10
|
list(params, options) {
|
|
11
11
|
return this._makeRequest('GET', '/v1/reserve/holds', params, options, {
|
|
@@ -13,7 +13,7 @@ class HoldResource extends StripeResource_js_1.StripeResource {
|
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Retrieve a ReserveHold.
|
|
16
|
+
* Retrieve a ReserveHold on your account or on one of your connected accounts.
|
|
17
17
|
*/
|
|
18
18
|
retrieve(id, params, options) {
|
|
19
19
|
return this._makeRequest('GET', `/v1/reserve/holds/${encodeURIComponent(id)}`, params, options);
|
|
@@ -3,11 +3,11 @@ import { PaginationParams, OtherString, Metadata } from '../../shared.js';
|
|
|
3
3
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
4
4
|
export declare class PlanResource extends StripeResource {
|
|
5
5
|
/**
|
|
6
|
-
* Returns a list of ReservePlans
|
|
6
|
+
* Returns a list of ReservePlans on your account or on one of your connected accounts. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
|
|
7
7
|
*/
|
|
8
8
|
list(params?: Reserve.PlanListParams, options?: RequestOptions): ApiListPromise<Plan>;
|
|
9
9
|
/**
|
|
10
|
-
* Retrieve a ReservePlan.
|
|
10
|
+
* Retrieve a ReservePlan on your account or on one of your connected accounts.
|
|
11
11
|
*/
|
|
12
12
|
retrieve(id: string, params?: Reserve.PlanRetrieveParams, options?: RequestOptions): Promise<Response<Plan>>;
|
|
13
13
|
}
|
|
@@ -5,7 +5,7 @@ exports.PlanResource = void 0;
|
|
|
5
5
|
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
6
|
class PlanResource extends StripeResource_js_1.StripeResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a list of ReservePlans
|
|
8
|
+
* Returns a list of ReservePlans on your account or on one of your connected accounts. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
|
|
9
9
|
*/
|
|
10
10
|
list(params, options) {
|
|
11
11
|
return this._makeRequest('GET', '/v1/reserve/plans', params, options, {
|
|
@@ -13,7 +13,7 @@ class PlanResource extends StripeResource_js_1.StripeResource {
|
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Retrieve a ReservePlan.
|
|
16
|
+
* Retrieve a ReservePlan on your account or on one of your connected accounts.
|
|
17
17
|
*/
|
|
18
18
|
retrieve(id, params, options) {
|
|
19
19
|
return this._makeRequest('GET', `/v1/reserve/plans/${encodeURIComponent(id)}`, params, options);
|
|
@@ -7,11 +7,11 @@ import { PaginationParams, Metadata, OtherString } from '../../shared.js';
|
|
|
7
7
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
8
8
|
export declare class ReleaseResource extends StripeResource {
|
|
9
9
|
/**
|
|
10
|
-
* Returns a list of ReserveReleases
|
|
10
|
+
* Returns a list of ReserveReleases on your account or on one of your connected accounts. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
|
|
11
11
|
*/
|
|
12
12
|
list(params?: Reserve.ReleaseListParams, options?: RequestOptions): ApiListPromise<Release>;
|
|
13
13
|
/**
|
|
14
|
-
* Retrieve a ReserveRelease.
|
|
14
|
+
* Retrieve a ReserveRelease on your account or on one of your connected accounts.
|
|
15
15
|
*/
|
|
16
16
|
retrieve(id: string, params?: Reserve.ReleaseRetrieveParams, options?: RequestOptions): Promise<Response<Release>>;
|
|
17
17
|
}
|
|
@@ -5,7 +5,7 @@ exports.ReleaseResource = void 0;
|
|
|
5
5
|
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
6
|
class ReleaseResource extends StripeResource_js_1.StripeResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a list of ReserveReleases
|
|
8
|
+
* Returns a list of ReserveReleases on your account or on one of your connected accounts. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
|
|
9
9
|
*/
|
|
10
10
|
list(params, options) {
|
|
11
11
|
return this._makeRequest('GET', '/v1/reserve/releases', params, options, {
|
|
@@ -13,7 +13,7 @@ class ReleaseResource extends StripeResource_js_1.StripeResource {
|
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Retrieve a ReserveRelease.
|
|
16
|
+
* Retrieve a ReserveRelease on your account or on one of your connected accounts.
|
|
17
17
|
*/
|
|
18
18
|
retrieve(id, params, options) {
|
|
19
19
|
return this._makeRequest('GET', `/v1/reserve/releases/${encodeURIComponent(id)}`, params, options);
|
|
@@ -113,6 +113,7 @@ export declare namespace SetupAttempt {
|
|
|
113
113
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
114
114
|
sofort?: PaymentMethodDetails.Sofort;
|
|
115
115
|
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
116
|
+
toss_pay?: PaymentMethodDetails.TossPay;
|
|
116
117
|
twint?: PaymentMethodDetails.Twint;
|
|
117
118
|
/**
|
|
118
119
|
* The type of the payment method used in the SetupIntent (e.g., `card`). An additional hash is included on `payment_method_details` with a name matching this value. It contains confirmation-specific information for the payment method.
|
|
@@ -473,6 +474,12 @@ export declare namespace SetupAttempt {
|
|
|
473
474
|
}
|
|
474
475
|
interface StripeBalance {
|
|
475
476
|
}
|
|
477
|
+
interface TossPay {
|
|
478
|
+
/**
|
|
479
|
+
* The buyer identifier provided by NICE for this Toss Pay account, when available.
|
|
480
|
+
*/
|
|
481
|
+
buyer_id: string | null;
|
|
482
|
+
}
|
|
476
483
|
interface Twint {
|
|
477
484
|
}
|
|
478
485
|
interface Upi {
|
|
@@ -485,11 +492,11 @@ export declare namespace SetupAttempt {
|
|
|
485
492
|
namespace Card {
|
|
486
493
|
interface Checks {
|
|
487
494
|
/**
|
|
488
|
-
* If
|
|
495
|
+
* If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
489
496
|
*/
|
|
490
497
|
address_line1_check: string | null;
|
|
491
498
|
/**
|
|
492
|
-
* If
|
|
499
|
+
* If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
493
500
|
*/
|
|
494
501
|
address_postal_code_check: string | null;
|
|
495
502
|
/**
|
|
@@ -526,6 +526,7 @@ export declare namespace SetupIntent {
|
|
|
526
526
|
interface AmazonPay {
|
|
527
527
|
}
|
|
528
528
|
interface BacsDebit {
|
|
529
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
529
530
|
mandate_options?: BacsDebit.MandateOptions;
|
|
530
531
|
verification_method?: BacsDebit.VerificationMethod;
|
|
531
532
|
}
|
|
@@ -640,6 +641,9 @@ export declare namespace SetupIntent {
|
|
|
640
641
|
}
|
|
641
642
|
}
|
|
642
643
|
namespace BacsDebit {
|
|
644
|
+
interface FinancialConnections {
|
|
645
|
+
return_url?: string;
|
|
646
|
+
}
|
|
643
647
|
interface MandateOptions {
|
|
644
648
|
/**
|
|
645
649
|
* 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'.
|
|
@@ -1931,6 +1935,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1931
1935
|
interface AmazonPay {
|
|
1932
1936
|
}
|
|
1933
1937
|
interface BacsDebit {
|
|
1938
|
+
/**
|
|
1939
|
+
* Additional fields for Financial Connections session creation.
|
|
1940
|
+
*/
|
|
1941
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
1934
1942
|
/**
|
|
1935
1943
|
* Additional fields for Mandate creation
|
|
1936
1944
|
*/
|
|
@@ -2099,6 +2107,12 @@ export declare namespace SetupIntentCreateParams {
|
|
|
2099
2107
|
}
|
|
2100
2108
|
}
|
|
2101
2109
|
namespace BacsDebit {
|
|
2110
|
+
interface FinancialConnections {
|
|
2111
|
+
/**
|
|
2112
|
+
* 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.
|
|
2113
|
+
*/
|
|
2114
|
+
return_url?: string;
|
|
2115
|
+
}
|
|
2102
2116
|
interface MandateOptions {
|
|
2103
2117
|
/**
|
|
2104
2118
|
* 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'.
|
|
@@ -3428,6 +3442,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3428
3442
|
interface AmazonPay {
|
|
3429
3443
|
}
|
|
3430
3444
|
interface BacsDebit {
|
|
3445
|
+
/**
|
|
3446
|
+
* Additional fields for Financial Connections session creation.
|
|
3447
|
+
*/
|
|
3448
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
3431
3449
|
/**
|
|
3432
3450
|
* Additional fields for Mandate creation
|
|
3433
3451
|
*/
|
|
@@ -3596,6 +3614,12 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3596
3614
|
}
|
|
3597
3615
|
}
|
|
3598
3616
|
namespace BacsDebit {
|
|
3617
|
+
interface FinancialConnections {
|
|
3618
|
+
/**
|
|
3619
|
+
* 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.
|
|
3620
|
+
*/
|
|
3621
|
+
return_url?: string;
|
|
3622
|
+
}
|
|
3599
3623
|
interface MandateOptions {
|
|
3600
3624
|
/**
|
|
3601
3625
|
* 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'.
|
|
@@ -4986,6 +5010,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4986
5010
|
interface AmazonPay {
|
|
4987
5011
|
}
|
|
4988
5012
|
interface BacsDebit {
|
|
5013
|
+
/**
|
|
5014
|
+
* Additional fields for Financial Connections session creation.
|
|
5015
|
+
*/
|
|
5016
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
4989
5017
|
/**
|
|
4990
5018
|
* Additional fields for Mandate creation
|
|
4991
5019
|
*/
|
|
@@ -5154,6 +5182,12 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
5154
5182
|
}
|
|
5155
5183
|
}
|
|
5156
5184
|
namespace BacsDebit {
|
|
5185
|
+
interface FinancialConnections {
|
|
5186
|
+
/**
|
|
5187
|
+
* 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.
|
|
5188
|
+
*/
|
|
5189
|
+
return_url?: string;
|
|
5190
|
+
}
|
|
5157
5191
|
interface MandateOptions {
|
|
5158
5192
|
/**
|
|
5159
5193
|
* 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'.
|
|
@@ -40,6 +40,10 @@ export interface GrantedToken {
|
|
|
40
40
|
* Details of the PaymentMethod that was shared via this token.
|
|
41
41
|
*/
|
|
42
42
|
payment_method_details: GrantedToken.PaymentMethodDetails | null;
|
|
43
|
+
/**
|
|
44
|
+
* Referral fees may be charged when a SharedPaymentGrantedToken is used. This behavior is controlled by the issuer of the token. This field provides details about the referral fee rate.
|
|
45
|
+
*/
|
|
46
|
+
referral_fee_details?: GrantedToken.ReferralFeeDetails | null;
|
|
43
47
|
/**
|
|
44
48
|
* Risk details of the SharedPaymentGrantedToken.
|
|
45
49
|
*/
|
|
@@ -81,6 +85,9 @@ export declare namespace GrantedToken {
|
|
|
81
85
|
*/
|
|
82
86
|
type: PaymentMethodDetails.Type;
|
|
83
87
|
}
|
|
88
|
+
interface ReferralFeeDetails {
|
|
89
|
+
rate: ReferralFeeDetails.Rate;
|
|
90
|
+
}
|
|
84
91
|
interface RiskDetails {
|
|
85
92
|
/**
|
|
86
93
|
* Risk insights for this token, including scores and recommended actions for each risk type.
|
|
@@ -221,11 +228,11 @@ export declare namespace GrantedToken {
|
|
|
221
228
|
namespace Card {
|
|
222
229
|
interface Checks {
|
|
223
230
|
/**
|
|
224
|
-
* If
|
|
231
|
+
* If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
225
232
|
*/
|
|
226
233
|
address_line1_check: string | null;
|
|
227
234
|
/**
|
|
228
|
-
* If
|
|
235
|
+
* If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
229
236
|
*/
|
|
230
237
|
address_postal_code_check: string | null;
|
|
231
238
|
/**
|
|
@@ -327,6 +334,18 @@ export declare namespace GrantedToken {
|
|
|
327
334
|
}
|
|
328
335
|
}
|
|
329
336
|
}
|
|
337
|
+
namespace ReferralFeeDetails {
|
|
338
|
+
interface Rate {
|
|
339
|
+
/**
|
|
340
|
+
* The percentage of the payment amount which will be calculated as a fee.
|
|
341
|
+
*/
|
|
342
|
+
percentage: number | null;
|
|
343
|
+
/**
|
|
344
|
+
* The type of fee rate.
|
|
345
|
+
*/
|
|
346
|
+
type: 'percentage';
|
|
347
|
+
}
|
|
348
|
+
}
|
|
330
349
|
namespace RiskDetails {
|
|
331
350
|
interface Insights {
|
|
332
351
|
/**
|
|
@@ -48,6 +48,10 @@ export interface IssuedToken {
|
|
|
48
48
|
* ID of an existing PaymentMethod.
|
|
49
49
|
*/
|
|
50
50
|
payment_method: string;
|
|
51
|
+
/**
|
|
52
|
+
* Referral fee details of the SharedPaymentIssuedToken.
|
|
53
|
+
*/
|
|
54
|
+
referral_fee_details?: IssuedToken.ReferralFeeDetails | null;
|
|
51
55
|
/**
|
|
52
56
|
* If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
|
53
57
|
*/
|
|
@@ -103,6 +107,20 @@ export declare namespace IssuedToken {
|
|
|
103
107
|
*/
|
|
104
108
|
use_stripe_sdk: NextAction.UseStripeSdk | null;
|
|
105
109
|
}
|
|
110
|
+
interface ReferralFeeDetails {
|
|
111
|
+
/**
|
|
112
|
+
* The Customer to be invoiced for fees assessed.
|
|
113
|
+
*/
|
|
114
|
+
customer: string;
|
|
115
|
+
/**
|
|
116
|
+
* The account to be invoiced for fees assessed.
|
|
117
|
+
*/
|
|
118
|
+
customer_account: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* The percentage of the payment charged as a referral fee.
|
|
121
|
+
*/
|
|
122
|
+
referral_fee_percent: number;
|
|
123
|
+
}
|
|
106
124
|
interface RiskDetails {
|
|
107
125
|
/**
|
|
108
126
|
* Risk insights for this token, including scores and recommended actions for each risk type.
|
|
@@ -290,6 +308,10 @@ export declare namespace SharedPayment {
|
|
|
290
308
|
* Specifies which fields in the response should be expanded.
|
|
291
309
|
*/
|
|
292
310
|
expand?: Array<string>;
|
|
311
|
+
/**
|
|
312
|
+
* Referral fee details for this SharedPaymentToken.
|
|
313
|
+
*/
|
|
314
|
+
referral_fee_details?: IssuedTokenCreateParams.ReferralFeeDetails;
|
|
293
315
|
/**
|
|
294
316
|
* If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
|
295
317
|
*/
|
|
@@ -342,6 +364,20 @@ export declare namespace SharedPayment {
|
|
|
342
364
|
*/
|
|
343
365
|
recurring_interval?: UsageLimits.RecurringInterval;
|
|
344
366
|
}
|
|
367
|
+
interface ReferralFeeDetails {
|
|
368
|
+
/**
|
|
369
|
+
* The Customer to be invoiced for fees assessed.
|
|
370
|
+
*/
|
|
371
|
+
customer?: string;
|
|
372
|
+
/**
|
|
373
|
+
* The account with a Customer configuration to be invoiced for fees assessed.
|
|
374
|
+
*/
|
|
375
|
+
customer_account?: string;
|
|
376
|
+
/**
|
|
377
|
+
* The percentage of the payment to charge as a referral fee, from 0 through 50 with at most two decimal places.
|
|
378
|
+
*/
|
|
379
|
+
referral_fee_percent: number;
|
|
380
|
+
}
|
|
345
381
|
namespace UsageLimits {
|
|
346
382
|
interface Recurring {
|
|
347
383
|
/**
|