stripe 22.4.0-alpha.1 → 22.4.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 +106 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/apiVersion.d.ts +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/Accounts.d.ts +2 -2
- package/cjs/resources/BalanceTransactions.d.ts +5 -5
- package/cjs/resources/BalanceTransactions.js +2 -2
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +5 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +5 -0
- package/cjs/resources/Cards.d.ts +13 -0
- package/cjs/resources/Charges.d.ts +43 -2
- package/cjs/resources/Checkout/Sessions.d.ts +199 -4
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/ConfirmationTokens.d.ts +12 -0
- package/cjs/resources/CreditNotes.d.ts +5 -3
- package/cjs/resources/CreditNotes.js +2 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +29 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +79 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +413 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +60 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +34 -0
- package/cjs/resources/Crypto/index.js +17 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/Customers.d.ts +13 -0
- package/cjs/resources/Disputes.d.ts +28 -1
- package/cjs/resources/Events.d.ts +2 -2
- package/cjs/resources/FinancialConnections/Accounts.d.ts +19 -0
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +14 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +3 -2
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/GiftCardOperations.d.ts +1 -7
- package/cjs/resources/Identity/VerificationSessions.d.ts +1 -1
- package/cjs/resources/Invoices.d.ts +63 -8
- package/cjs/resources/Issuing/Authorizations.d.ts +21 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +13 -0
- package/cjs/resources/Issuing/Cards.d.ts +17 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/Tokens.d.ts +4 -0
- package/cjs/resources/Issuing/Transactions.d.ts +17 -0
- package/cjs/resources/Orders.d.ts +3 -3
- package/cjs/resources/PaymentAttemptRecords.d.ts +69 -10
- package/cjs/resources/PaymentIntents.d.ts +212 -9
- package/cjs/resources/PaymentLinks.d.ts +3 -0
- package/cjs/resources/PaymentMethods.d.ts +26 -1
- package/cjs/resources/PaymentRecords.d.ts +69 -10
- package/cjs/resources/QuotePreviewInvoices.d.ts +2 -2
- package/cjs/resources/Radar/ValueListItems.d.ts +30 -0
- package/cjs/resources/Reserve/Holds.d.ts +14 -0
- package/cjs/resources/SetupAttempts.d.ts +8 -1
- package/cjs/resources/SetupIntents.d.ts +17 -4
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +12 -0
- package/cjs/resources/Sources.d.ts +13 -0
- package/cjs/resources/Subscriptions.d.ts +72 -6
- package/cjs/resources/Subscriptions.js +1 -1
- package/cjs/resources/TaxFunds.d.ts +48 -0
- package/cjs/resources/Terminal/Readers.d.ts +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Topups.d.ts +18 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +28 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +39 -3
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +18 -2
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +18 -2
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +1 -0
- package/cjs/resources.js +13 -5
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +290 -3
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +3 -0
- package/cjs/stripe.core.js +41 -39
- package/cjs/stripe.core.js.map +1 -1
- package/esm/apiVersion.d.ts +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/Accounts.d.ts +2 -2
- package/esm/resources/BalanceTransactions.d.ts +5 -5
- package/esm/resources/BalanceTransactions.js +2 -2
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +5 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +5 -0
- package/esm/resources/Cards.d.ts +13 -0
- package/esm/resources/Charges.d.ts +43 -2
- package/esm/resources/Checkout/Sessions.d.ts +199 -4
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/ConfirmationTokens.d.ts +12 -0
- package/esm/resources/CreditNotes.d.ts +5 -3
- package/esm/resources/CreditNotes.js +2 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +29 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +79 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +413 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +60 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +34 -0
- package/esm/resources/Crypto/index.js +13 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/Customers.d.ts +13 -0
- package/esm/resources/Disputes.d.ts +28 -1
- package/esm/resources/Events.d.ts +2 -2
- package/esm/resources/FinancialConnections/Accounts.d.ts +19 -0
- package/esm/resources/FinancialConnections/Authorizations.d.ts +14 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +3 -2
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/GiftCardOperations.d.ts +1 -7
- package/esm/resources/Identity/VerificationSessions.d.ts +1 -1
- package/esm/resources/Invoices.d.ts +63 -8
- package/esm/resources/Issuing/Authorizations.d.ts +21 -0
- package/esm/resources/Issuing/Cardholders.d.ts +13 -0
- package/esm/resources/Issuing/Cards.d.ts +17 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/Tokens.d.ts +4 -0
- package/esm/resources/Issuing/Transactions.d.ts +17 -0
- package/esm/resources/Orders.d.ts +3 -3
- package/esm/resources/PaymentAttemptRecords.d.ts +69 -10
- package/esm/resources/PaymentIntents.d.ts +212 -9
- package/esm/resources/PaymentLinks.d.ts +3 -0
- package/esm/resources/PaymentMethods.d.ts +26 -1
- package/esm/resources/PaymentRecords.d.ts +69 -10
- package/esm/resources/QuotePreviewInvoices.d.ts +2 -2
- package/esm/resources/Radar/ValueListItems.d.ts +30 -0
- package/esm/resources/Reserve/Holds.d.ts +14 -0
- package/esm/resources/SetupAttempts.d.ts +8 -1
- package/esm/resources/SetupIntents.d.ts +17 -4
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +12 -0
- package/esm/resources/Sources.d.ts +13 -0
- package/esm/resources/Subscriptions.d.ts +72 -6
- package/esm/resources/Subscriptions.js +1 -1
- package/esm/resources/TaxFunds.d.ts +48 -0
- package/esm/resources/Terminal/Readers.d.ts +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Topups.d.ts +18 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +28 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +39 -3
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +18 -2
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +18 -2
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +1 -0
- package/esm/resources.js +8 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +3 -0
- package/esm/stripe.core.js +3 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +3 -0
- package/esm/stripe.esm.node.js +3 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 22.4.0-alpha.2 - 2026-07-01
|
|
4
|
+
This release changes the pinned API version to 2026-07-01.preview.
|
|
5
|
+
|
|
6
|
+
* [#2774](https://github.com/stripe/stripe-node/pull/2774) Update generated code for private-preview
|
|
7
|
+
* Add support for new resources `Crypto.CustomerConsumerWallet`, `Crypto.CustomerPaymentToken`, `Crypto.Customer`, `Crypto.OnrampSession`, and `Crypto.OnrampTransactionLimits`
|
|
8
|
+
* Add support for `list` and `retrieve` methods on resource `Crypto.Customer`
|
|
9
|
+
* Add support for `checkout`, `create`, `list`, `quote`, and `retrieve` methods on resource `Crypto.OnrampSession`
|
|
10
|
+
* Add support for `retrieve` method on resource `Crypto.OnrampTransactionLimits`
|
|
11
|
+
* Add support for `redaction` on `Card`, `Charge`, `Checkout.Session`, `Customer`, `Issuing.Authorization`, `Issuing.Card`, `Issuing.Cardholder`, `Issuing.Dispute`, `Issuing.Transaction`, `PaymentIntent`, `PaymentMethod`, `SetupIntent`, `Source`, and `Token`
|
|
12
|
+
* ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type`
|
|
13
|
+
* Change `Billing.CreditGrant.priority` to be required
|
|
14
|
+
* Add support for `disclaimer_variant` on `Capital.FinancingOffer` and `Capital.FinancingSummary.details`
|
|
15
|
+
* Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, `PaymentRecord.payment_method_details.bizum`, `SharedPayment.GrantedToken.payment_method_details.bizum`, and `SharedPayment.GrantedToken.payment_method_details.blik`
|
|
16
|
+
* Add support for `electronic_commerce_indicator` and `transaction_link_id` on `Charge.payment_method_details.card`
|
|
17
|
+
* Add support for `amount_received` and `amount_requested` on `Charge.payment_method_details.crypto`, `PaymentAttemptRecord.payment_method_details.crypto`, and `PaymentRecord.payment_method_details.crypto`
|
|
18
|
+
* ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
|
|
19
|
+
* ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
|
|
20
|
+
* Add support for `fingerprint` on `Charge.payment_method_details.gift_card`, `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentAttemptRecord.payment_method_details.gift_card`, `PaymentMethod.pix`, `PaymentRecord.payment_method_details.gift_card`, `SetupAttempt.payment_method_details.pix`, and `SharedPayment.GrantedToken.payment_method_details.pix`
|
|
21
|
+
* Add support for `address_collection_precision` on `Checkout.SessionCreateParams.automatic_tax`
|
|
22
|
+
* Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
23
|
+
* Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data`
|
|
24
|
+
* Add support for `subscription` on `Checkout.Session.items[]`
|
|
25
|
+
* Add support for `wechat_pay` on `Checkout.Session.payment_method_options`
|
|
26
|
+
* Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence`
|
|
27
|
+
* ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types`
|
|
28
|
+
* Add support for `active` on `FinancialConnections.Account.status_details` and `FinancialConnections.Authorization.status_details`
|
|
29
|
+
* Change type of `FinancialConnections.SessionCreateParams.limits.accounts` from `longInteger` to `emptyable(longInteger)`
|
|
30
|
+
* ⚠️ Remove support for `deactivation` on `GiftCardOperation`
|
|
31
|
+
* ⚠️ Remove support for value `deactivation` from enum `GiftCardOperation.type`
|
|
32
|
+
* ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status`
|
|
33
|
+
* Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
|
|
34
|
+
* Add support for `pause` on `InvoiceCreatePreviewParams.subscription_details`
|
|
35
|
+
* ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types`, `QuotePreviewInvoice.payment_settings.payment_method_types`, and `Subscription.payment_settings.payment_method_types`
|
|
36
|
+
* Add support for `merchant_amount_exchange_rate` on `Issuing.Authorization` and `Issuing.Transaction`
|
|
37
|
+
* Add support for `device_id` on `Issuing.Authorization.token_details.network_data.device` and `Issuing.Token.network_data.device`
|
|
38
|
+
* Add support for `program` on `Issuing.Card`
|
|
39
|
+
* Add support for `payment_method_details` on `PaymentAttemptRecordReportFailedParams` and `PaymentRecordReportPaymentAttemptFailedParams`
|
|
40
|
+
* Add support for `reason` on `PaymentAttemptRecordReportRefundParams` and `PaymentRecordReportRefundParams`
|
|
41
|
+
* ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
|
|
42
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional
|
|
43
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional
|
|
44
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional
|
|
45
|
+
* Add support for `amount_reconciliation` on `PaymentIntent.payment_method_options.crypto`, `PaymentIntentConfirmParams.payment_method_options.crypto`, `PaymentIntentCreateParams.payment_method_options.crypto`, and `PaymentIntentUpdateParams.payment_method_options.crypto`
|
|
46
|
+
* Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay`
|
|
47
|
+
* Add support for `release_details` on `Reserve.Hold`
|
|
48
|
+
* Add support for `satispay` on `SetupAttempt.payment_method_details`
|
|
49
|
+
* Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
|
|
50
|
+
* Add support for `payment_method_options` and `payment_method` on `TopupCreateParams`
|
|
51
|
+
* ⚠️ Remove support for value `invoice_payment.detached` from enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointUpdateParams.enabled_events`
|
|
52
|
+
* Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version`
|
|
53
|
+
* Add support for `connect_permissions` and `permissions` on `V2.Iam.ApiKeyCreateParams`, `V2.Iam.ApiKeyUpdateParams`, and `V2.Iam.ApiKey`
|
|
54
|
+
* Add support for `credit` on `V2.MoneyManagement.FinancialAccount`
|
|
55
|
+
* ⚠️ Add support for new value `credit` on enum `V2.MoneyManagement.FinancialAccount.type`
|
|
56
|
+
* Add support for new value `currency_required` on enum `V2.MoneyManagement.PayoutIntent.next_action.handle_failure.failure_reason`
|
|
57
|
+
* Add support for new values `issuing_authorization`, `issuing_transaction`, and `platform_funded_credit_transaction` on enums `V2.MoneyManagement.Transaction.category` and `V2.MoneyManagement.TransactionEntry.transaction_details.category`
|
|
58
|
+
* Add support for `account`, `issuing_authorization`, `issuing_dispute`, and `issuing_transaction` on `V2.MoneyManagement.Transaction.flow` and `V2.MoneyManagement.TransactionEntry.transaction_details.flow`
|
|
59
|
+
* Add support for new values `issuing_authorization`, `issuing_dispute`, and `issuing_transaction` on enums `V2.MoneyManagement.Transaction.flow.type` and `V2.MoneyManagement.TransactionEntry.transaction_details.flow.type`
|
|
60
|
+
* Add support for new value `credit` on enum `V2.MoneyManagement.FinancialAccountListParams.types`
|
|
61
|
+
* Change type of `V2.MoneyManagement.FinancialAccountCreateParams.type` from `literal('storage')` to `enum('credit'|'storage')`
|
|
62
|
+
* Add support for `expires_at` on `V2.Iam.ApiKeyCreateParams`
|
|
63
|
+
* Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `QuotePreviewInvoice.last_finalization_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error`
|
|
64
|
+
|
|
3
65
|
## 22.4.0-alpha.1 - 2026-06-24
|
|
4
66
|
This release changes the pinned API version to 2026-06-24.preview.
|
|
5
67
|
|
|
@@ -75,6 +137,50 @@ This release changes the pinned API version to 2026-06-24.preview.
|
|
|
75
137
|
* Add support for error codes `us_bank_account_microdeposits_cannot_be_confirmed` and `us_bank_account_microdeposits_cannot_be_sent` on `ControlledByAlternateResourceError`
|
|
76
138
|
* Add support for error code `payout_intent_not_cancelable` on `NotCancelableError`
|
|
77
139
|
|
|
140
|
+
## 22.3.0 - 2026-06-24
|
|
141
|
+
This release changes the pinned API version to 2026-06-24.dahlia.
|
|
142
|
+
|
|
143
|
+
* [#2748](https://github.com/stripe/stripe-node/pull/2748) Update generated code
|
|
144
|
+
* Add support for `release_details` on `Reserve.Hold`
|
|
145
|
+
* ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type`
|
|
146
|
+
* Change `Billing.CreditGrant.priority` to be required
|
|
147
|
+
* Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, and `PaymentRecord.payment_method_details.bizum`
|
|
148
|
+
* Add support for `transaction_link_id` on `Charge.payment_method_details.card`
|
|
149
|
+
* ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
|
|
150
|
+
* ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
|
|
151
|
+
* Add support for `fingerprint` on `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentMethod.pix`, and `SetupAttempt.payment_method_details.pix`
|
|
152
|
+
* Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
153
|
+
* Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data`
|
|
154
|
+
* Add support for `wechat_pay` on `Checkout.Session.payment_method_options`
|
|
155
|
+
* Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence`
|
|
156
|
+
* ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types`
|
|
157
|
+
* Add support for `status_details` on `FinancialConnections.Account`
|
|
158
|
+
* ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status`
|
|
159
|
+
* Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
|
|
160
|
+
* ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
|
|
161
|
+
* ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
|
|
162
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional
|
|
163
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional
|
|
164
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional
|
|
165
|
+
* Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay`
|
|
166
|
+
* Change `PaymentRecordReportRefundParams.refunded` to be optional
|
|
167
|
+
* Add support for `satispay` on `SetupAttempt.payment_method_details`
|
|
168
|
+
* Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
|
|
169
|
+
* Add support for `payment_method_options` and `payment_method` on `TopupCreateParams`
|
|
170
|
+
* Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version`
|
|
171
|
+
* Add support for `mode` on `V2.Commerce.ProductCatalogImport`
|
|
172
|
+
* ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type`
|
|
173
|
+
* Add support for `sunbit_payments` on `V2.Core.Account.configuration.merchant.capabilities`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities`, and `V2.Core.AccountUpdateParams.configuration.merchant.capabilities`
|
|
174
|
+
* Add support for `crypto_money_manager` and `money_manager` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
|
|
175
|
+
* ⚠️ Remove support for `crypto_storer` and `storer` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
|
|
176
|
+
* Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImportCreateParams.feed_type`
|
|
177
|
+
* ⚠️ Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability`
|
|
178
|
+
* Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error`
|
|
179
|
+
* [#2765](https://github.com/stripe/stripe-node/pull/2765) fix: CJS companion namespace access for resource types at all depths
|
|
180
|
+
|
|
181
|
+
- Fixes TypeScript type access for nested namespaces in CJS mode (e.g. `Stripe.Price.Recurring`, `Stripe.Subscription.BillingMode`)
|
|
182
|
+
- Fixes TypeScript type access for nested resource types e.g. `Stripe.Billing.Alert.Status`, `Stripe.Terminal.Configuration.Tipping` in both ESM and CJS modes.
|
|
183
|
+
|
|
78
184
|
## 22.3.0-alpha.4 - 2026-06-17
|
|
79
185
|
* [#2751](https://github.com/stripe/stripe-node/pull/2751) Update generated code for private-preview
|
|
80
186
|
* Add support for `retrieve` method on resource `Radar.CustomerEvaluation`
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2342
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.4.0-alpha.
|
|
1
|
+
22.4.0-alpha.2
|
package/cjs/apiVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ApiVersion = "2026-
|
|
1
|
+
export declare const ApiVersion = "2026-07-01.preview";
|
package/cjs/apiVersion.js
CHANGED
|
@@ -2082,7 +2082,7 @@ export declare namespace AccountCreateParams {
|
|
|
2082
2082
|
*/
|
|
2083
2083
|
company_license?: Documents.CompanyLicense;
|
|
2084
2084
|
/**
|
|
2085
|
-
* One or more documents showing the company's
|
|
2085
|
+
* One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles of association).
|
|
2086
2086
|
*/
|
|
2087
2087
|
company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation;
|
|
2088
2088
|
/**
|
|
@@ -4007,7 +4007,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4007
4007
|
*/
|
|
4008
4008
|
company_license?: Documents.CompanyLicense;
|
|
4009
4009
|
/**
|
|
4010
|
-
* One or more documents showing the company's
|
|
4010
|
+
* One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles of association).
|
|
4011
4011
|
*/
|
|
4012
4012
|
company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation;
|
|
4013
4013
|
/**
|
|
@@ -4,9 +4,9 @@ import { PaginationParams, RangeQueryParam } from '../shared.js';
|
|
|
4
4
|
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
5
5
|
export declare class BalanceTransactionResource extends StripeResource {
|
|
6
6
|
/**
|
|
7
|
-
* Returns a list of transactions that have contributed to the Stripe account balance (
|
|
7
|
+
* Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* The previous name of this endpoint was “Balance history,” and it used the path /v1/balance/history.
|
|
10
10
|
*/
|
|
11
11
|
list(params?: BalanceTransactionListParams, options?: RequestOptions): ApiListPromise<BalanceTransaction>;
|
|
12
12
|
/**
|
|
@@ -78,7 +78,7 @@ export interface BalanceTransaction {
|
|
|
78
78
|
*/
|
|
79
79
|
status: string;
|
|
80
80
|
/**
|
|
81
|
-
* Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
|
|
81
|
+
* Transaction type: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
|
|
82
82
|
*/
|
|
83
83
|
type: BalanceTransaction.Type;
|
|
84
84
|
}
|
|
@@ -106,7 +106,7 @@ export declare namespace BalanceTransaction {
|
|
|
106
106
|
*/
|
|
107
107
|
type: string;
|
|
108
108
|
}
|
|
109
|
-
type Type = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'fee_credit_funding' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'refund' | 'refund_failure' | 'reserve_hold' | 'reserve_release' | 'reserve_transaction' | 'reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
|
|
109
|
+
type Type = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'fee_credit_funding' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'refund' | 'refund_failure' | 'reserve_hold' | 'reserve_release' | 'reserve_transaction' | 'reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'tax_fund' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
|
|
110
110
|
}
|
|
111
111
|
export interface BalanceTransactionRetrieveParams {
|
|
112
112
|
/**
|
|
@@ -136,7 +136,7 @@ export interface BalanceTransactionListParams extends PaginationParams {
|
|
|
136
136
|
*/
|
|
137
137
|
source?: string;
|
|
138
138
|
/**
|
|
139
|
-
* Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.
|
|
139
|
+
* Only returns transactions of the given type. One of: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.
|
|
140
140
|
*/
|
|
141
141
|
type?: string;
|
|
142
142
|
}
|
|
@@ -5,9 +5,9 @@ exports.BalanceTransactionResource = void 0;
|
|
|
5
5
|
const StripeResource_js_1 = require("../StripeResource.js");
|
|
6
6
|
class BalanceTransactionResource extends StripeResource_js_1.StripeResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a list of transactions that have contributed to the Stripe account balance (
|
|
8
|
+
* Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* The previous name of this endpoint was “Balance history,” and it used the path /v1/balance/history.
|
|
11
11
|
*/
|
|
12
12
|
list(params, options) {
|
|
13
13
|
return this._makeRequest('GET', '/v1/balance_transactions', params, options, {
|
|
@@ -240,7 +240,7 @@ export declare namespace Billing {
|
|
|
240
240
|
*/
|
|
241
241
|
price_type?: 'metered';
|
|
242
242
|
/**
|
|
243
|
-
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
|
|
243
|
+
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. Limit 20 prices.
|
|
244
244
|
*/
|
|
245
245
|
prices?: Array<ApplicabilityScope.Price>;
|
|
246
246
|
}
|
|
@@ -79,7 +79,7 @@ export interface CreditGrant {
|
|
|
79
79
|
/**
|
|
80
80
|
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
|
|
81
81
|
*/
|
|
82
|
-
priority
|
|
82
|
+
priority: number | null;
|
|
83
83
|
/**
|
|
84
84
|
* ID of the test clock this credit grant belongs to.
|
|
85
85
|
*/
|
|
@@ -301,7 +301,7 @@ export declare namespace Billing {
|
|
|
301
301
|
*/
|
|
302
302
|
price_type?: 'metered';
|
|
303
303
|
/**
|
|
304
|
-
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
|
|
304
|
+
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. Limit 20 prices.
|
|
305
305
|
*/
|
|
306
306
|
prices?: Array<Scope.Price>;
|
|
307
307
|
}
|
|
@@ -44,6 +44,10 @@ export interface FinancingOffer {
|
|
|
44
44
|
* Time at which the offer was created. Given in seconds since unix epoch.
|
|
45
45
|
*/
|
|
46
46
|
created: number;
|
|
47
|
+
/**
|
|
48
|
+
* The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [marketing docs](https://docs.stripe.com/capital/marketing).
|
|
49
|
+
*/
|
|
50
|
+
disclaimer_variant?: FinancingOffer.DisclaimerVariant;
|
|
47
51
|
/**
|
|
48
52
|
* Time at which the offer expires. Given in seconds since unix epoch.
|
|
49
53
|
*/
|
|
@@ -111,6 +115,7 @@ export declare namespace FinancingOffer {
|
|
|
111
115
|
*/
|
|
112
116
|
withhold_rate: number;
|
|
113
117
|
}
|
|
118
|
+
type DisclaimerVariant = 'celtic_us_loan' | 'fundbox_au_financing' | 'youlend_de_financing' | 'youlend_fr_financing' | 'youlend_uk_mca' | 'youlend_us_mca';
|
|
114
119
|
type FinancingType = 'cash_advance' | 'flex_loan';
|
|
115
120
|
interface OfferedTerms {
|
|
116
121
|
/**
|
|
@@ -46,6 +46,10 @@ export declare namespace FinancingSummary {
|
|
|
46
46
|
* The chronologically current repayment interval for the financing offer.
|
|
47
47
|
*/
|
|
48
48
|
current_repayment_interval: Details.CurrentRepaymentInterval | null;
|
|
49
|
+
/**
|
|
50
|
+
* The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [regulatory compliance docs](https://docs.stripe.com/capital/regulatory-compliance).
|
|
51
|
+
*/
|
|
52
|
+
disclaimer_variant?: Details.DisclaimerVariant;
|
|
49
53
|
/**
|
|
50
54
|
* Fixed fee amount, in minor units. For example, 100 USD is represented as 10000.
|
|
51
55
|
*/
|
|
@@ -84,6 +88,7 @@ export declare namespace FinancingSummary {
|
|
|
84
88
|
*/
|
|
85
89
|
remaining_amount: number;
|
|
86
90
|
}
|
|
91
|
+
type DisclaimerVariant = 'celtic_us_loan' | 'fundbox_au_financing' | 'youlend_de_financing' | 'youlend_fr_financing' | 'youlend_uk_mca' | 'youlend_us_mca';
|
|
87
92
|
}
|
|
88
93
|
}
|
|
89
94
|
export declare namespace Capital {
|
package/cjs/resources/Cards.d.ts
CHANGED
|
@@ -131,6 +131,10 @@ export interface Card {
|
|
|
131
131
|
*/
|
|
132
132
|
name: string | null;
|
|
133
133
|
networks?: Card.Networks;
|
|
134
|
+
/**
|
|
135
|
+
* Redaction status of this card. If not null, this card is associated to a redaction job.
|
|
136
|
+
*/
|
|
137
|
+
redaction?: Card.Redaction | null;
|
|
134
138
|
/**
|
|
135
139
|
* Status of a card based on the card issuer.
|
|
136
140
|
*/
|
|
@@ -181,5 +185,14 @@ export declare namespace Card {
|
|
|
181
185
|
*/
|
|
182
186
|
preferred: string | null;
|
|
183
187
|
}
|
|
188
|
+
interface Redaction {
|
|
189
|
+
/**
|
|
190
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
191
|
+
*/
|
|
192
|
+
status: Redaction.Status;
|
|
193
|
+
}
|
|
184
194
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
195
|
+
namespace Redaction {
|
|
196
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
197
|
+
}
|
|
185
198
|
}
|
|
@@ -189,6 +189,10 @@ export interface Charge {
|
|
|
189
189
|
* This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
|
190
190
|
*/
|
|
191
191
|
receipt_url: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
194
|
+
*/
|
|
195
|
+
redaction?: Charge.Redaction | null;
|
|
192
196
|
/**
|
|
193
197
|
* Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
194
198
|
*/
|
|
@@ -417,6 +421,12 @@ export declare namespace Charge {
|
|
|
417
421
|
*/
|
|
418
422
|
session?: string;
|
|
419
423
|
}
|
|
424
|
+
interface Redaction {
|
|
425
|
+
/**
|
|
426
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
427
|
+
*/
|
|
428
|
+
status: Redaction.Status;
|
|
429
|
+
}
|
|
420
430
|
interface Shipping {
|
|
421
431
|
address?: Address;
|
|
422
432
|
/**
|
|
@@ -688,6 +698,10 @@ export declare namespace Charge {
|
|
|
688
698
|
transaction_id: string | null;
|
|
689
699
|
}
|
|
690
700
|
interface Bizum {
|
|
701
|
+
/**
|
|
702
|
+
* A unique identifier for the buyer as determined by the local payment processor.
|
|
703
|
+
*/
|
|
704
|
+
buyer_id: string | null;
|
|
691
705
|
/**
|
|
692
706
|
* The Bizum transaction ID associated with this payment.
|
|
693
707
|
*/
|
|
@@ -741,6 +755,10 @@ export declare namespace Charge {
|
|
|
741
755
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
742
756
|
*/
|
|
743
757
|
description?: string | null;
|
|
758
|
+
/**
|
|
759
|
+
* The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. The response value is the source of truth; it may differ from the request value if the network downgraded the transaction.
|
|
760
|
+
*/
|
|
761
|
+
electronic_commerce_indicator?: string | null;
|
|
744
762
|
/**
|
|
745
763
|
* Two-digit number representing the card's expiration month.
|
|
746
764
|
*/
|
|
@@ -818,6 +836,10 @@ export declare namespace Charge {
|
|
|
818
836
|
* Populated if this transaction used 3D Secure authentication.
|
|
819
837
|
*/
|
|
820
838
|
three_d_secure: Card.ThreeDSecure | null;
|
|
839
|
+
/**
|
|
840
|
+
* Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
841
|
+
*/
|
|
842
|
+
transaction_link_id: string | null;
|
|
821
843
|
/**
|
|
822
844
|
* If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
823
845
|
*/
|
|
@@ -956,6 +978,14 @@ export declare namespace Charge {
|
|
|
956
978
|
transaction_id: string | null;
|
|
957
979
|
}
|
|
958
980
|
interface Crypto {
|
|
981
|
+
/**
|
|
982
|
+
* The amount received for the crypto payment.
|
|
983
|
+
*/
|
|
984
|
+
amount_received?: number;
|
|
985
|
+
/**
|
|
986
|
+
* The amount requested for the crypto payment.
|
|
987
|
+
*/
|
|
988
|
+
amount_requested?: number;
|
|
959
989
|
/**
|
|
960
990
|
* The wallet address of the customer.
|
|
961
991
|
*/
|
|
@@ -1015,6 +1045,10 @@ export declare namespace Charge {
|
|
|
1015
1045
|
* The expiration year of the gift card.
|
|
1016
1046
|
*/
|
|
1017
1047
|
exp_year: number | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Uniquely identifies this particular gift card number. You can use this attribute to check whether two transactions were made using the same gift card.
|
|
1050
|
+
*/
|
|
1051
|
+
fingerprint: string | null;
|
|
1018
1052
|
/**
|
|
1019
1053
|
* The first six digits of the gift card number.
|
|
1020
1054
|
*/
|
|
@@ -1447,6 +1481,10 @@ export declare namespace Charge {
|
|
|
1447
1481
|
* Unique transaction id generated by BCB
|
|
1448
1482
|
*/
|
|
1449
1483
|
bank_transaction_id?: string | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
|
|
1486
|
+
*/
|
|
1487
|
+
fingerprint?: string | null;
|
|
1450
1488
|
/**
|
|
1451
1489
|
* ID of the multi use Mandate generated by the PaymentIntent
|
|
1452
1490
|
*/
|
|
@@ -2077,8 +2115,8 @@ export declare namespace Charge {
|
|
|
2077
2115
|
}
|
|
2078
2116
|
}
|
|
2079
2117
|
namespace Crypto {
|
|
2080
|
-
type Network = 'base' | 'ethereum' | 'polygon' | 'solana' | 'tempo';
|
|
2081
|
-
type TokenCurrency = 'phantom_cash' | 'usdc' | 'usdg' | 'usdp' | 'usdt';
|
|
2118
|
+
type Network = 'base' | 'ethereum' | 'polygon' | 'solana' | 'sui' | 'tempo';
|
|
2119
|
+
type TokenCurrency = 'phantom_cash' | 'usdc' | 'usdg' | 'usdp' | 'usdsui' | 'usdt';
|
|
2082
2120
|
}
|
|
2083
2121
|
namespace Eps {
|
|
2084
2122
|
type Bank = '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_bank_burgenland_aktiengesellschaft' | 'hypo_noe_lb_fur_niederosterreich_u_wien' | 'hypo_oberosterreich_salzburg_steiermark' | 'hypo_tirol_bank_ag' | 'hypo_vorarlberg_bank_ag' | 'marchfelder_bank' | 'oberbank_ag' | 'raiffeisen_bankengruppe_osterreich' | 'schoellerbank_ag' | 'sparda_bank_wien' | 'volksbank_gruppe' | 'volkskreditbank_ag' | 'vr_bank_braunau';
|
|
@@ -2273,6 +2311,9 @@ export declare namespace Charge {
|
|
|
2273
2311
|
type AccountType = 'checking' | 'savings';
|
|
2274
2312
|
}
|
|
2275
2313
|
}
|
|
2314
|
+
namespace Redaction {
|
|
2315
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
2316
|
+
}
|
|
2276
2317
|
}
|
|
2277
2318
|
export interface ChargeCreateParams {
|
|
2278
2319
|
/**
|