diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index c3b520d074c..26b2775e450 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -aa10ab9548143dbe396ae1e91e443c64473cbdc2 \ No newline at end of file +d4c29f2350721870596931042bd8edf49187fe0c \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 733547a80f0..14a4abeb1cf 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2294 \ No newline at end of file +v2314 \ No newline at end of file diff --git a/README.md b/README.md index 1a309e2a2ad..a2bb975dee4 100644 --- a/README.md +++ b/README.md @@ -335,6 +335,9 @@ New features and bug fixes are released on the latest major version of the Strip ## Development +> [!WARNING] +> External contributions to this repo from first-time contributors are currently on hiatus. If you'd like to see a change made to the package, please open an issue. + [Contribution guidelines for this project](CONTRIBUTING.md) JDK 17 is required to build the Stripe Java library. By default, tests use the same Java runtime as the build. diff --git a/src/main/java/com/stripe/model/AccountSession.java b/src/main/java/com/stripe/model/AccountSession.java index dacdf73ae6f..d5afc1e73c1 100644 --- a/src/main/java/com/stripe/model/AccountSession.java +++ b/src/main/java/com/stripe/model/AccountSession.java @@ -498,6 +498,14 @@ public static class Features extends StripeObject { @SerializedName("bill_management") Boolean billManagement; + /** + * Whether Stripe user authentication is disabled. This value can only be {@code true} for + * accounts where {@code controller.requirement_collection} is {@code application} for the + * account. This is {@code false} by default. + */ + @SerializedName("disable_stripe_user_authentication") + Boolean disableStripeUserAuthentication; + /** * Whether to enable the send money feature that grants access to bill creation and payment. */ diff --git a/src/main/java/com/stripe/model/Charge.java b/src/main/java/com/stripe/model/Charge.java index ded0550724e..937038a25fe 100644 --- a/src/main/java/com/stripe/model/Charge.java +++ b/src/main/java/com/stripe/model/Charge.java @@ -1343,6 +1343,9 @@ public static class PaymentMethodDetails extends StripeObject { @SerializedName("swish") Swish swish; + @SerializedName("tamara") + Tamara tamara; + @SerializedName("twint") Twint twint; @@ -2077,11 +2080,12 @@ public static class Card extends StripeObject { @EqualsAndHashCode(callSuper = false) public static class AccountFunding extends StripeObject { /** - * The transaction type of the card transaction. One of {@code account_funding} or {@code - * purchase}. + * Indicates whether or not this charge is a funding transaction. + * + *
One of {@code disabled}, or {@code enabled}. */ - @SerializedName("processed_transaction_type") - String processedTransactionType; + @SerializedName("status") + String status; } /** @@ -4456,6 +4460,19 @@ public static class Swish extends StripeObject { String verifiedPhoneLast4; } + /** + * For more details about Tamara, please refer to the API + * Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Tamara extends StripeObject { + /** The Tamara transaction ID associated with this payment. */ + @SerializedName("transaction_id") + String transactionId; + } + /** * For more details about Twint, please refer to the API * Reference. diff --git a/src/main/java/com/stripe/model/ConfirmationToken.java b/src/main/java/com/stripe/model/ConfirmationToken.java index 705a8b20d5a..d44bf3db279 100644 --- a/src/main/java/com/stripe/model/ConfirmationToken.java +++ b/src/main/java/com/stripe/model/ConfirmationToken.java @@ -470,6 +470,9 @@ public static class PaymentMethodPreview extends StripeObject { @SerializedName("swish") Swish swish; + @SerializedName("tamara") + Tamara tamara; + @SerializedName("twint") Twint twint; @@ -490,8 +493,8 @@ public static class PaymentMethodPreview extends StripeObject { * paypal}, {@code paypay}, {@code payto}, {@code pix}, {@code promptpay}, {@code qris}, {@code * rechnung}, {@code revolut_pay}, {@code samsung_pay}, {@code satispay}, {@code scalapay}, * {@code sepa_debit}, {@code shopeepay}, {@code sofort}, {@code stripe_balance}, {@code - * sunbit}, {@code swish}, {@code twint}, {@code upi}, {@code us_bank_account}, {@code - * wechat_pay}, or {@code zip}. + * sunbit}, {@code swish}, {@code tamara}, {@code twint}, {@code upi}, {@code us_bank_account}, + * {@code wechat_pay}, or {@code zip}. */ @SerializedName("type") String type; @@ -1805,10 +1808,6 @@ public static class GiftCard extends StripeObject { @SerializedName("fingerprint") String fingerprint; - /** The first six digits of the gift card number. */ - @SerializedName("first6") - String first6; - /** The last four digits of the gift card number. */ @SerializedName("last4") String last4; @@ -2597,6 +2596,15 @@ public static class Sunbit extends StripeObject {} @EqualsAndHashCode(callSuper = false) public static class Swish extends StripeObject {} + /** + * For more details about Tamara, please refer to the API + * Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Tamara extends StripeObject {} + /** * For more details about Twint, please refer to the API * Reference. diff --git a/src/main/java/com/stripe/model/Event.java b/src/main/java/com/stripe/model/Event.java index 3e3b998b83f..a6942b25135 100644 --- a/src/main/java/com/stripe/model/Event.java +++ b/src/main/java/com/stripe/model/Event.java @@ -113,14 +113,15 @@ public class Event extends ApiResource implements HasId { * account.external_account.updated}, {@code account.updated}, {@code account_notice.created}, * {@code account_notice.updated}, {@code application_fee.created}, {@code * application_fee.refund.updated}, {@code application_fee.refunded}, {@code balance.available}, - * {@code balance_settings.updated}, {@code billing.alert.triggered}, {@code - * billing.credit_grant.created}, {@code billing_portal.configuration.created}, {@code - * billing_portal.configuration.updated}, {@code billing_portal.session.created}, {@code - * capability.updated}, {@code capital.financing_offer.accepted}, {@code - * capital.financing_offer.accepted_other_offer}, {@code capital.financing_offer.canceled}, {@code - * capital.financing_offer.created}, {@code capital.financing_offer.expired}, {@code - * capital.financing_offer.fully_repaid}, {@code capital.financing_offer.paid_out}, {@code - * capital.financing_offer.rejected}, {@code capital.financing_offer.replacement_created}, {@code + * {@code balance_settings.updated}, {@code billing.alert.recovered}, {@code + * billing.alert.triggered}, {@code billing.credit_grant.created}, {@code + * billing_portal.configuration.created}, {@code billing_portal.configuration.updated}, {@code + * billing_portal.session.created}, {@code capability.updated}, {@code + * capital.financing_offer.accepted}, {@code capital.financing_offer.accepted_other_offer}, {@code + * capital.financing_offer.canceled}, {@code capital.financing_offer.created}, {@code + * capital.financing_offer.expired}, {@code capital.financing_offer.fully_repaid}, {@code + * capital.financing_offer.paid_out}, {@code capital.financing_offer.rejected}, {@code + * capital.financing_offer.replacement_created}, {@code * capital.financing_summary.line_of_credit_update}, {@code * capital.financing_transaction.created}, {@code cash_balance.funds_available}, {@code * charge.captured}, {@code charge.dispute.closed}, {@code charge.dispute.created}, {@code @@ -184,8 +185,8 @@ public class Event extends ApiResource implements HasId { * {@code issuing_transaction.created}, {@code * issuing_transaction.purchase_details_receipt_updated}, {@code issuing_transaction.updated}, * {@code mandate.updated}, {@code payment_intent.amount_capturable_updated}, {@code - * payment_intent.canceled}, {@code payment_intent.created}, {@code - * payment_intent.partially_funded}, {@code payment_intent.payment_failed}, {@code + * payment_intent.canceled}, {@code payment_intent.created}, {@code payment_intent.expired}, + * {@code payment_intent.partially_funded}, {@code payment_intent.payment_failed}, {@code * payment_intent.processing}, {@code payment_intent.requires_action}, {@code * payment_intent.succeeded}, {@code payment_link.created}, {@code payment_link.updated}, {@code * payment_method.attached}, {@code payment_method.automatically_updated}, {@code @@ -242,7 +243,6 @@ public class Event extends ApiResource implements HasId { * treasury.outbound_transfer.tracking_details_updated}, {@code treasury.received_credit.created}, * {@code treasury.received_credit.failed}, {@code treasury.received_credit.succeeded}, {@code * treasury.received_debit.created}, {@code invoice_payment.detached}, {@code - * billing.alert.recovered}, {@code payment_intent.expired}, {@code * billing.credit_balance_transaction.created}, {@code billing.credit_grant.updated}, {@code * billing.meter.created}, {@code billing.meter.deactivated}, {@code billing.meter.reactivated}, * or {@code billing.meter.updated}. diff --git a/src/main/java/com/stripe/model/GiftCard.java b/src/main/java/com/stripe/model/GiftCard.java index 820f6b6dc12..84a882c6151 100644 --- a/src/main/java/com/stripe/model/GiftCard.java +++ b/src/main/java/com/stripe/model/GiftCard.java @@ -42,6 +42,13 @@ public class GiftCard extends ApiResource implements HasId { @SerializedName("exp_year") Long expYear; + /** + * Uniquely identifies this particular gift card number. You can use this attribute to check + * whether two gift cards are the same. + */ + @SerializedName("fingerprint") + String fingerprint; + /** Unique identifier for the object. */ @Getter(onMethod_ = {@Override}) @SerializedName("id") diff --git a/src/main/java/com/stripe/model/Mandate.java b/src/main/java/com/stripe/model/Mandate.java index ebb61c2a636..7fb37acb947 100644 --- a/src/main/java/com/stripe/model/Mandate.java +++ b/src/main/java/com/stripe/model/Mandate.java @@ -261,6 +261,9 @@ public static class PaymentMethodDetails extends StripeObject { @SerializedName("bacs_debit") BacsDebit bacsDebit; + @SerializedName("blik") + Blik blik; + @SerializedName("card") Card card; @@ -420,6 +423,27 @@ public static class BacsDebit extends StripeObject { String url; } + /** + * For more details about Blik, please refer to the API + * Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Blik extends StripeObject { + /** Date at which the mandate expires. */ + @SerializedName("expires_after") + Long expiresAfter; + + /** + * Type of the mandate. + * + *
One of {@code off_session}, or {@code on_session}. + */ + @SerializedName("type") + String type; + } + /** * For more details about Card, please refer to the API * Reference. diff --git a/src/main/java/com/stripe/model/Order.java b/src/main/java/com/stripe/model/Order.java index e0f707d77bb..e88b25f1367 100644 --- a/src/main/java/com/stripe/model/Order.java +++ b/src/main/java/com/stripe/model/Order.java @@ -1524,10 +1524,17 @@ public static class WechatPay extends StripeObject { @SerializedName("app_id") String appId; + /** + * The unique buyer ID for the app ID registered with WeChat Pay. Only required when + * client is mini_program. + */ + @SerializedName("buyer_id") + String buyerId; + /** * The client type that the end customer will pay from * - *
One of {@code android}, {@code ios}, or {@code web}. + *
One of {@code android}, {@code ios}, {@code mini_program}, or {@code web}. */ @SerializedName("client") String client; diff --git a/src/main/java/com/stripe/model/PaymentAttemptRecord.java b/src/main/java/com/stripe/model/PaymentAttemptRecord.java index e6b73f27c12..e9ee1067585 100644 --- a/src/main/java/com/stripe/model/PaymentAttemptRecord.java +++ b/src/main/java/com/stripe/model/PaymentAttemptRecord.java @@ -949,6 +949,9 @@ public static class PaymentMethodDetails extends StripeObject { @SerializedName("swish") Swish swish; + @SerializedName("tamara") + Tamara tamara; + @SerializedName("twint") Twint twint; @@ -3801,6 +3804,19 @@ public static class Swish extends StripeObject { String verifiedPhoneLast4; } + /** + * For more details about Tamara, please refer to the API + * Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Tamara extends StripeObject { + /** The Tamara transaction ID associated with this payment. */ + @SerializedName("transaction_id") + String transactionId; + } + /** * For more details about Twint, please refer to the API * Reference. diff --git a/src/main/java/com/stripe/model/PaymentIntent.java b/src/main/java/com/stripe/model/PaymentIntent.java index 0d5699c4eb6..769532b31ae 100644 --- a/src/main/java/com/stripe/model/PaymentIntent.java +++ b/src/main/java/com/stripe/model/PaymentIntent.java @@ -1961,6 +1961,9 @@ public static class AdvancedFeatureDetails extends StripeObject { @SerializedName("decremental_authorization") DecrementalAuthorization decrementalAuthorization; + @SerializedName("forced_capture") + ForcedCapture forcedCapture; + @SerializedName("incremental_authorization") IncrementalAuthorization incrementalAuthorization; @@ -1987,6 +1990,27 @@ public static class DecrementalAuthorization extends StripeObject { String status; } + /** + * For more details about ForcedCapture, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class ForcedCapture extends StripeObject { + /** Timestamp at which the forced capture window expires. */ + @SerializedName("expires_at") + Long expiresAt; + + /** + * Indicates whether forced capture is supported. + * + *
One of {@code available}, or {@code unavailable}. + */ + @SerializedName("status") + String status; + } + /** * For more details about IncrementalAuthorization, please refer to the API Reference. @@ -2454,6 +2478,9 @@ public static class NextAction extends StripeObject { @SerializedName("wechat_pay_display_qr_code") WechatPayDisplayQrCode wechatPayDisplayQrCode; + @SerializedName("wechat_pay_handle_app_redirect") + WechatPayHandleAppRedirect wechatPayHandleAppRedirect; + @SerializedName("wechat_pay_redirect_to_android_app") WechatPayRedirectToAndroidApp wechatPayRedirectToAndroidApp; @@ -2620,6 +2647,12 @@ public static class DepositAddresses extends StripeObject { @SerializedName("base") Base base; + @SerializedName("ethereum") + Ethereum ethereum; + + @SerializedName("polygon") + Polygon polygon; + @SerializedName("solana") Solana solana; @@ -2663,9 +2696,105 @@ public static class SupportedToken extends StripeObject { String tokenContractAddress; /** - * The supported token currency. Supported token currencies include: {@code usdc}. + * The supported token currency. * - *
Equal to {@code usdc}. + *
One of {@code usdc}, {@code usdg}, or {@code usdp}. + */ + @SerializedName("token_currency") + String tokenCurrency; + } + } + + /** + * For more details about Ethereum, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Ethereum extends StripeObject { + /** Address of the deposit address. */ + @SerializedName("address") + String address; + + /** The wallet address that should receive refunds for deposits on this network. */ + @SerializedName("refund_address") + String refundAddress; + + /** The token currencies supported on this network. */ + @SerializedName("supported_tokens") + List< + PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Ethereum + .SupportedToken> + supportedTokens; + + /** + * For more details about SupportedToken, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class SupportedToken extends StripeObject { + /** + * The on-chain contract address for the supported token currency on this specific + * network. + */ + @SerializedName("token_contract_address") + String tokenContractAddress; + + /** + * The supported token currency. + * + *
One of {@code usdc}, {@code usdg}, or {@code usdp}. + */ + @SerializedName("token_currency") + String tokenCurrency; + } + } + + /** + * For more details about Polygon, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Polygon extends StripeObject { + /** Address of the deposit address. */ + @SerializedName("address") + String address; + + /** The wallet address that should receive refunds for deposits on this network. */ + @SerializedName("refund_address") + String refundAddress; + + /** The token currencies supported on this network. */ + @SerializedName("supported_tokens") + List< + PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Polygon + .SupportedToken> + supportedTokens; + + /** + * For more details about SupportedToken, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class SupportedToken extends StripeObject { + /** + * The on-chain contract address for the supported token currency on this specific + * network. + */ + @SerializedName("token_contract_address") + String tokenContractAddress; + + /** + * The supported token currency. + * + *
One of {@code usdc}, {@code usdg}, or {@code usdp}. */ @SerializedName("token_currency") String tokenCurrency; @@ -2709,9 +2838,9 @@ public static class SupportedToken extends StripeObject { String tokenContractAddress; /** - * The supported token currency. Supported token currencies include: {@code usdc}. + * The supported token currency. * - *
Equal to {@code usdc}. + *
One of {@code usdc}, {@code usdg}, or {@code usdp}. */ @SerializedName("token_currency") String tokenCurrency; @@ -2755,9 +2884,9 @@ public static class SupportedToken extends StripeObject { String tokenContractAddress; /** - * The supported token currency. Supported token currencies include: {@code usdc}. + * The supported token currency. * - *
Equal to {@code usdc}. + *
One of {@code usdc}, {@code usdg}, or {@code usdp}. */ @SerializedName("token_currency") String tokenCurrency; @@ -3501,6 +3630,19 @@ public static class WechatPayDisplayQrCode extends StripeObject { String imageUrlSvg; } + /** + * For more details about WechatPayHandleAppRedirect, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class WechatPayHandleAppRedirect extends StripeObject { + /** Session ID of the WeChat Pay signing session. */ + @SerializedName("session_id") + String sessionId; + } + /** * For more details about WechatPayRedirectToAndroidApp, please refer to the API Reference. @@ -5082,6 +5224,13 @@ public static class MoneyServices extends StripeObject { @SerializedName("account_funding") AccountFunding accountFunding; + /** ID of the Account representing the beneficiary in this account funding transaction. */ + @SerializedName("beneficiary_account") + String beneficiaryAccount; + + @SerializedName("beneficiary_details") + BeneficiaryDetails beneficiaryDetails; + /** * The type of money services transaction. * @@ -5098,13 +5247,6 @@ public static class MoneyServices extends StripeObject { @Setter @EqualsAndHashCode(callSuper = false) public static class AccountFunding extends StripeObject { - /** ID of the Account representing the beneficiary in this account funding transaction. */ - @SerializedName("beneficiary_account") - String beneficiaryAccount; - - @SerializedName("beneficiary_details") - BeneficiaryDetails beneficiaryDetails; - /** ID of the Account representing the sender in this account funding transaction. */ @SerializedName("sender_account") String senderAccount; @@ -5113,16 +5255,16 @@ public static class AccountFunding extends StripeObject { SenderDetails senderDetails; /** - * For more details about BeneficiaryDetails, please refer to the API Reference. */ @Getter @Setter @EqualsAndHashCode(callSuper = false) - public static class BeneficiaryDetails extends StripeObject { + public static class SenderDetails extends StripeObject { @SerializedName("address") - com.stripe.model.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding - .BeneficiaryDetails.Address + com.stripe.model.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding.SenderDetails + .Address address; @SerializedName("date_of_birth") @@ -5132,14 +5274,18 @@ public static class BeneficiaryDetails extends StripeObject { @SerializedName("email") String email; - /** Full name. */ - @SerializedName("name") - String name; + /** Given name (first name). */ + @SerializedName("given_name") + String givenName; /** Phone number. */ @SerializedName("phone") String phone; + /** Surname (last name). */ + @SerializedName("surname") + String surname; + /** * For more details about Address, please refer to the API Reference. @@ -5197,91 +5343,94 @@ public static class DateOfBirth extends StripeObject { Long year; } } + } + + /** + * For more details about BeneficiaryDetails, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class BeneficiaryDetails extends StripeObject { + @SerializedName("address") + com.stripe.model.PaymentIntent.PaymentDetails.MoneyServices.BeneficiaryDetails.Address + address; + + @SerializedName("date_of_birth") + DateOfBirth dateOfBirth; + + /** Email address. */ + @SerializedName("email") + String email; + + /** Given name (first name). */ + @SerializedName("given_name") + String givenName; + + /** Phone number. */ + @SerializedName("phone") + String phone; + + /** Surname (last name). */ + @SerializedName("surname") + String surname; /** - * For more details about SenderDetails, please refer to the API Reference. */ @Getter @Setter @EqualsAndHashCode(callSuper = false) - public static class SenderDetails extends StripeObject { - @SerializedName("address") - com.stripe.model.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding.SenderDetails - .Address - address; - - @SerializedName("date_of_birth") - DateOfBirth dateOfBirth; - - /** Email address. */ - @SerializedName("email") - String email; - - /** Full name. */ - @SerializedName("name") - String name; - - /** Phone number. */ - @SerializedName("phone") - String phone; + public static class Address extends StripeObject { + /** City, district, suburb, town, or village. */ + @SerializedName("city") + String city; /** - * For more details about Address, please refer to the API Reference. + * Two-letter country code (ISO + * 3166-1 alpha-2). */ - @Getter - @Setter - @EqualsAndHashCode(callSuper = false) - public static class Address extends StripeObject { - /** City, district, suburb, town, or village. */ - @SerializedName("city") - String city; - - /** - * Two-letter country code (ISO 3166-1 alpha-2). - */ - @SerializedName("country") - String country; + @SerializedName("country") + String country; - /** Address line 1 (e.g., street, PO Box, or company name). */ - @SerializedName("line1") - String line1; + /** Address line 1 (e.g., street, PO Box, or company name). */ + @SerializedName("line1") + String line1; - /** Address line 2 (e.g., apartment, suite, unit, or building). */ - @SerializedName("line2") - String line2; + /** Address line 2 (e.g., apartment, suite, unit, or building). */ + @SerializedName("line2") + String line2; - /** ZIP or postal code. */ - @SerializedName("postal_code") - String postalCode; + /** ZIP or postal code. */ + @SerializedName("postal_code") + String postalCode; - /** State, county, province, or region. */ - @SerializedName("state") - String state; - } + /** State, county, province, or region. */ + @SerializedName("state") + String state; + } - /** - * For more details about DateOfBirth, please refer to the API Reference. - */ - @Getter - @Setter - @EqualsAndHashCode(callSuper = false) - public static class DateOfBirth extends StripeObject { - /** Day of birth, between 1 and 31. */ - @SerializedName("day") - Long day; + /** + * For more details about DateOfBirth, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class DateOfBirth extends StripeObject { + /** Day of birth, between 1 and 31. */ + @SerializedName("day") + Long day; - /** Month of birth, between 1 and 12. */ - @SerializedName("month") - Long month; + /** Month of birth, between 1 and 12. */ + @SerializedName("month") + Long month; - /** Four-digit year of birth. */ - @SerializedName("year") - Long year; - } + /** Four-digit year of birth. */ + @SerializedName("year") + Long year; } } } @@ -6112,7 +6261,7 @@ public static class Card extends StripeObject { /** * Controls when the funds will be captured from the customer's account. * - *
Equal to {@code manual}. + *
One of {@code automatic_delayed}, or {@code manual}. */ @SerializedName("capture_method") String captureMethod; @@ -6528,7 +6677,7 @@ public static class CardPresent extends StripeObject { /** * Controls when the funds will be captured from the customer's account. * - *
One of {@code manual}, or {@code manual_preferred}. + *
One of {@code automatic_delayed}, {@code manual}, or {@code manual_preferred}. */ @SerializedName("capture_method") String captureMethod; @@ -6703,6 +6852,9 @@ public static class Crypto extends StripeObject { @SerializedName("setup_future_usage") String setupFutureUsage; + @SerializedName("transaction_verification_options") + TransactionVerificationOptions transactionVerificationOptions; + /** * For more details about DepositOptions, please refer to the API Reference. @@ -6726,6 +6878,28 @@ public static class DepositOptions extends StripeObject { @SerializedName("static_address") Boolean staticAddress; } + + /** + * For more details about TransactionVerificationOptions, please refer to the API Reference. + */ + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class TransactionVerificationOptions extends StripeObject { + /** + * The network on which the transaction was submitted. + * + *
One of {@code base}, {@code ethereum}, {@code polygon}, {@code solana}, or {@code + * tempo}. + */ + @SerializedName("network") + String network; + + /** The hash of the onchain transaction to verify. */ + @SerializedName("transaction_hash") + String transactionHash; + } } /** @@ -8651,10 +8825,17 @@ public static class WechatPay extends StripeObject { @SerializedName("app_id") String appId; + /** + * The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is + * mini_program. + */ + @SerializedName("buyer_id") + String buyerId; + /** * The client type that the end customer will pay from * - *
One of {@code android}, {@code ios}, or {@code web}. + *
One of {@code android}, {@code ios}, {@code mini_program}, or {@code web}. */ @SerializedName("client") String client; diff --git a/src/main/java/com/stripe/model/PaymentMethod.java b/src/main/java/com/stripe/model/PaymentMethod.java index 44749a73cc5..34a89293e6b 100644 --- a/src/main/java/com/stripe/model/PaymentMethod.java +++ b/src/main/java/com/stripe/model/PaymentMethod.java @@ -290,6 +290,9 @@ public class PaymentMethod extends ApiResource implements HasId, MetadataStore
API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Tamara extends StripeObject {}
+
/**
* For more details about Twint, please refer to the API
* Reference.
@@ -3162,6 +3170,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(stripeBalance, responseGetter);
trySetResponseGetter(sunbit, responseGetter);
trySetResponseGetter(swish, responseGetter);
+ trySetResponseGetter(tamara, responseGetter);
trySetResponseGetter(twint, responseGetter);
trySetResponseGetter(upi, responseGetter);
trySetResponseGetter(usBankAccount, responseGetter);
diff --git a/src/main/java/com/stripe/model/PaymentRecord.java b/src/main/java/com/stripe/model/PaymentRecord.java
index b319eab9acd..5a08e959e35 100644
--- a/src/main/java/com/stripe/model/PaymentRecord.java
+++ b/src/main/java/com/stripe/model/PaymentRecord.java
@@ -927,6 +927,9 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("swish")
Swish swish;
+ @SerializedName("tamara")
+ Tamara tamara;
+
@SerializedName("twint")
Twint twint;
@@ -3778,6 +3781,19 @@ public static class Swish extends StripeObject {
String verifiedPhoneLast4;
}
+ /**
+ * For more details about Tamara, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Tamara extends StripeObject {
+ /** The Tamara transaction ID associated with this payment. */
+ @SerializedName("transaction_id")
+ String transactionId;
+ }
+
/**
* For more details about Twint, please refer to the API
* Reference.
diff --git a/src/main/java/com/stripe/model/Product.java b/src/main/java/com/stripe/model/Product.java
index 5e3caa077d1..1cf6339c8f0 100644
--- a/src/main/java/com/stripe/model/Product.java
+++ b/src/main/java/com/stripe/model/Product.java
@@ -87,6 +87,9 @@ public class Product extends ApiResource implements HasId, MetadataStore One of {@code eligible}, or {@code ineligible}.
+ */
+ @SerializedName("eligibility")
+ String eligibility;
+
+ /**
+ * The reasons this product is ineligible for use with Managed Payments, if any. This field
+ * isn't present if the product is eligible.
+ */
+ @SerializedName("ineligibility_reasons")
+ List One of {@code ineligible_tax_code}, or {@code no_tax_code_specified}.
+ */
+ @SerializedName("code")
+ String code;
+
+ /**
+ * A human-readable description of the reason this product can't be used with Managed
+ * Payments.
+ */
+ @SerializedName("message")
+ String message;
+ }
+ }
+
/**
* For more details about MarketingFeature, please refer to the API Reference.
@@ -595,6 +648,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
super.setResponseGetter(responseGetter);
trySetResponseGetter(defaultPrice, responseGetter);
trySetResponseGetter(identifiers, responseGetter);
+ trySetResponseGetter(managedPayments, responseGetter);
trySetResponseGetter(packageDimensions, responseGetter);
trySetResponseGetter(taxCode, responseGetter);
trySetResponseGetter(taxDetails, responseGetter);
diff --git a/src/main/java/com/stripe/model/SetupIntent.java b/src/main/java/com/stripe/model/SetupIntent.java
index 7cc3c61ddd8..fd667b6aeff 100644
--- a/src/main/java/com/stripe/model/SetupIntent.java
+++ b/src/main/java/com/stripe/model/SetupIntent.java
@@ -930,6 +930,9 @@ public static class NextAction extends StripeObject {
@SerializedName("verify_with_microdeposits")
VerifyWithMicrodeposits verifyWithMicrodeposits;
+ @SerializedName("wechat_pay_handle_app_redirect")
+ WechatPayHandleAppRedirect wechatPayHandleAppRedirect;
+
/**
* For more details about BlikAuthorize, please refer to the API Reference.
@@ -1105,6 +1108,19 @@ public static class VerifyWithMicrodeposits extends StripeObject {
@SerializedName("microdeposit_type")
String microdepositType;
}
+
+ /**
+ * For more details about WechatPayHandleAppRedirect, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class WechatPayHandleAppRedirect extends StripeObject {
+ /** Session ID of the WeChat Pay signing session. */
+ @SerializedName("session_id")
+ String sessionId;
+ }
}
/**
diff --git a/src/main/java/com/stripe/model/checkout/Session.java b/src/main/java/com/stripe/model/checkout/Session.java
index a0b5d26c531..9a2faadb211 100644
--- a/src/main/java/com/stripe/model/checkout/Session.java
+++ b/src/main/java/com/stripe/model/checkout/Session.java
@@ -1758,18 +1758,6 @@ public static class Boleto extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Card extends StripeObject {
- /**
- * The brand of the card, accounting for customer's brand choice on dual-branded cards.
- *
- * One of {@code accel}, {@code amex}, {@code carnet}, {@code cartes_bancaires}, {@code
- * conecs}, {@code diners}, {@code discover}, {@code eftpos_au}, {@code elo}, {@code
- * girocard}, {@code interac}, {@code jaywan}, {@code jcb}, {@code link}, {@code maestro},
- * {@code mastercard}, {@code nyce}, {@code pulse}, {@code rupay}, {@code star}, {@code
- * unionpay}, {@code unknown}, or {@code visa}.
- */
- @SerializedName("brand")
- String brand;
-
/**
* Two-letter ISO code representing the country of the card. You could use this attribute to
* get a sense of the international breakdown of cards you've collected.
diff --git a/src/main/java/com/stripe/model/issuing/Authorization.java b/src/main/java/com/stripe/model/issuing/Authorization.java
index 049fc178117..4d2cee97c85 100644
--- a/src/main/java/com/stripe/model/issuing/Authorization.java
+++ b/src/main/java/com/stripe/model/issuing/Authorization.java
@@ -121,6 +121,10 @@ public class Authorization extends ApiResource
@SerializedName("currency")
String currency;
+ /** Enriched merchant data for this authorization. */
+ @SerializedName("enriched_merchant_data")
+ EnrichedMerchantData enrichedMerchantData;
+
/** Fleet-specific information for authorizations using Fleet cards. */
@SerializedName("fleet")
Fleet fleet;
@@ -663,17 +667,24 @@ public static class BalanceResponse extends StripeObject {
String accountType;
/**
- * The remaining balance in the cardholder's account after the authorization, in the smallest
- * currency unit.
+ * The available balance or credit limit in the cardholder's account after the authorization, in
+ * the smallest currency unit.
*/
- @SerializedName("amount")
- Long amount;
+ @SerializedName("available_balance")
+ Long availableBalance;
/**
- * The currency of the remaining balance in the cardholder's account after the authorization.
+ * The currency of the remaining balances in the cardholder's account after the authorization.
*/
@SerializedName("currency")
String currency;
+
+ /**
+ * The current ledger balance or remaining credit amount in the cardholder's account after the
+ * authorization, in the smallest currency unit.
+ */
+ @SerializedName("current_balance")
+ Long currentBalance;
}
/**
@@ -847,6 +858,308 @@ public static class Fee extends StripeObject {
}
}
+ /**
+ * For more details about EnrichedMerchantData, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class EnrichedMerchantData extends StripeObject {
+ /**
+ * Additional details about the seller (grocery store, e-commerce website, and so on) where the
+ * card authorization happened.
+ */
+ @SerializedName("merchant")
+ Merchant merchant;
+
+ /** An array of third parties involved in the card authorization, when applicable. */
+ @SerializedName("third_parties")
+ List One of {@code accessories}, {@code accounting_and_bookkeeping}, {@code acupuncture},
+ * {@code administrative_services}, {@code adult_entertainment}, {@code adult_retail},
+ * {@code advertising_and_marketing}, {@code advertising_technology}, {@code
+ * agricultural_technology}, {@code agriculture_and_forestry}, {@code
+ * airlines_and_aviation}, {@code alternative_medicine}, {@code alternative_rentals}, {@code
+ * anesthesiologists}, {@code antiques}, {@code aquatic_transportation}, {@code
+ * arcades_and_amusement_parks}, {@code art_dealers_and_galleries}, {@code
+ * arts_and_hobbies}, {@code atms}, {@code auctions}, {@code auto_parts_and_supplies},
+ * {@code auto_smog_checks}, {@code auto_tires}, {@code auto_transmission}, {@code
+ * automotive_dealerships}, {@code automotive_retail}, {@code automotive_services}, {@code
+ * bakeries}, {@code banking_and_finance}, {@code bars}, {@code beauty_spas_and_salons},
+ * {@code beer_wine_and_spirits}, {@code benefits}, {@code bicycles}, {@code
+ * billiards_and_pool}, {@code biotechnology}, {@code blood_banks_and_centers}, {@code
+ * boat_dealers}, {@code bookstores}, {@code bowling}, {@code
+ * breweries_distilleries_and_wineries}, {@code business_brokers_and_franchises}, {@code
+ * business_services}, {@code butchers}, {@code buy_now_pay_later}, {@code cafes}, {@code
+ * candy_shops}, {@code cannabis_dispensary}, {@code car_appraisers}, {@code
+ * car_wash_and_detail}, {@code cardiologists}, {@code cards_and_stationery}, {@code
+ * casinos_and_gambling}, {@code catering}, {@code charity}, {@code childcare}, {@code
+ * children_s_clothing}, {@code children_s_retail}, {@code chiropractors}, {@code
+ * circuses_and_carnivals}, {@code cleaning}, {@code clothing_and_accessories}, {@code
+ * clothing_services}, {@code commercial_supplies}, {@code communication_software}, {@code
+ * computers_and_electronics}, {@code construction_and_home_improvement}, {@code
+ * construction_supplies}, {@code contractors}, {@code convenience_stores}, {@code
+ * cosmetics}, {@code costumes}, {@code counseling_and_therapy}, {@code couriers}, {@code
+ * coworking_spaces}, {@code creative}, {@code creative_software}, {@code credit_reporting},
+ * {@code crm}, {@code crowdfunding}, {@code cryptocurrency}, {@code
+ * dance_halls_and_saloons}, {@code delivery_services}, {@code dentists}, {@code
+ * department_stores}, {@code dermatologists}, {@code design_technology}, {@code
+ * developer_tools}, {@code digital_money_movement}, {@code discount_stores}, {@code
+ * education}, {@code educational_technology}, {@code electric_vehicle_charging}, {@code
+ * emergency_services}, {@code employment_services}, {@code enterprise_software}, {@code
+ * entertainment}, {@code ents}, {@code environmental_technology}, {@code
+ * equipment_rentals}, {@code events_and_event_planning}, {@code eyewear}, {@code
+ * fairgrounds_and_rodeos}, {@code family_medicine}, {@code fast_food}, {@code fertility},
+ * {@code financial_management_software}, {@code financial_planning_and_investments}, {@code
+ * financial_technology}, {@code fishmongers}, {@code flea_markets}, {@code fleet}, {@code
+ * florists}, {@code food_and_drink}, {@code food_delivery_services}, {@code food_trucks},
+ * {@code fuel_dealers}, {@code funeral_services}, {@code furniture}, {@code gas_stations},
+ * {@code gastroenterologists}, {@code general_goods}, {@code general_surgery}, {@code
+ * gift_and_novelty}, {@code government}, {@code grocery_delivery_services}, {@code
+ * gyms_health_and_fitness_centers}, {@code hair_removal}, {@code hair_salons_and_barbers},
+ * {@code hardware}, {@code hardware_and_home_improvement}, {@code
+ * hospitals_clinics_and_medical_centers}, {@code household_services}, {@code hr_platform},
+ * {@code immigration}, {@code import_and_export}, {@code industrial_and_energy}, {@code
+ * inflight_internet_and_entertainment}, {@code insurance}, {@code internal_medicine},
+ * {@code internet}, {@code jewelry_and_watches}, {@code landmarks}, {@code
+ * laundry_and_garment_services}, {@code lawn_and_garden}, {@code legal_services}, {@code
+ * legal_technology}, {@code lending}, {@code lingerie}, {@code lodging}, {@code luggage},
+ * {@code maintenance_and_repair}, {@code manicures_and_pedicures}, {@code manufacturing},
+ * {@code marina}, {@code marine_supplies}, {@code marketing_software}, {@code
+ * massage_clinics_and_therapists}, {@code media}, {@code medical_and_healthcare_services},
+ * {@code medical_supplies_and_labs}, {@code men_s_clothing}, {@code
+ * mental_health_professionals}, {@code mobile_applications}, {@code
+ * motorcycle_moped_and_scooter_repair}, {@code museums}, {@code musical_instruments},
+ * {@code neurologists}, {@code news_and_magazines}, {@code newsstands}, {@code
+ * nutritionists}, {@code obstetricians_and_gynecologists}, {@code office_supplies}, {@code
+ * oil_and_gas}, {@code oncologists}, {@code online_marketplace}, {@code ophthalmologists},
+ * {@code optometrists}, {@code organizations}, {@code orthopedic_surgeons}, {@code other},
+ * {@code outlets}, {@code packaging}, {@code paper}, {@code parking}, {@code
+ * parks_and_outdoors}, {@code party_centers}, {@code pathologists}, {@code pawn_shops},
+ * {@code pediatricians}, {@code pet_grooming}, {@code pet_services}, {@code pets}, {@code
+ * pharmacies}, {@code photography}, {@code physical_therapy}, {@code piercings}, {@code
+ * plastic_surgeons}, {@code podiatrists}, {@code pregnancy_and_sexual_health}, {@code
+ * professional_services}, {@code property_management}, {@code psychiatrists}, {@code
+ * psychics_and_astrologers}, {@code psychologists}, {@code public_services}, {@code
+ * public_transportation}, {@code publishing_software}, {@code radiologists}, {@code rails},
+ * {@code real_estate}, {@code recreation}, {@code religious}, {@code renewable_energy},
+ * {@code respiratory}, {@code restaurants}, {@code retail}, {@code ride_shares}, {@code
+ * sales_enablement_software}, {@code security_and_privacy}, {@code security_and_safety},
+ * {@code services}, {@code shipping_and_freight}, {@code shoes}, {@code skin_care}, {@code
+ * social_clubs}, {@code software}, {@code software_engineering}, {@code spas}, {@code
+ * specialist_physicans}, {@code specialty_clothing_and_accessories}, {@code
+ * specialty_foods}, {@code specialty_groceries}, {@code specialty_retail}, {@code
+ * sporting_goods}, {@code storage}, {@code streaming_services}, {@code
+ * supermarkets_and_grocery_stores}, {@code swimwear}, {@code tailors}, {@code
+ * tanning_salons}, {@code tattoos}, {@code taxes}, {@code taxi_and_limousines}, {@code
+ * technology}, {@code telecommunications}, {@code television}, {@code textiles}, {@code
+ * theater_and_cinema}, {@code tickets_and_reservations}, {@code
+ * tobacco_smoke_and_vape_shops}, {@code tolls_and_fees}, {@code
+ * tourist_information_and_services}, {@code towing_and_roadside_assistance}, {@code
+ * toy_stores}, {@code transportation}, {@code travel}, {@code travel_services}, {@code
+ * travel_software}, {@code urologists}, {@code utilities}, {@code vehicle_rentals}, {@code
+ * vending_machine}, {@code venues}, {@code veterinarians}, {@code video_games}, {@code
+ * vintage_and_thrift}, {@code warehouses_and_wholesale_stores}, {@code
+ * water_and_waste_management_services}, {@code web_infrastructure}, {@code
+ * wedding_and_bridal}, {@code women_s_clothing}, or {@code zoos_and_aquariums}.
+ */
+ @SerializedName("id")
+ String id;
+
+ /** Increasingly specific textual representations of the seller's category. */
+ @SerializedName("names")
+ List One of {@code buy_now_pay_later}, {@code delivery_service}, {@code marketplace}, {@code
+ * other}, {@code payment_processor}, or {@code platform}.
+ */
+ @SerializedName("type")
+ String type;
+
+ /**
+ * For more details about Spade, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Spade extends StripeObject {
+ /** Unified identifier for the third party. */
+ @SerializedName("third_party_id")
+ String thirdPartyId;
+ }
+ }
+ }
+
/**
* For more details about Fleet, please refer to the API
* Reference.
@@ -2094,6 +2407,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(balanceResponse, responseGetter);
trySetResponseGetter(card, responseGetter);
trySetResponseGetter(cardholder, responseGetter);
+ trySetResponseGetter(enrichedMerchantData, responseGetter);
trySetResponseGetter(fleet, responseGetter);
trySetResponseGetter(fuel, responseGetter);
trySetResponseGetter(merchantData, responseGetter);
diff --git a/src/main/java/com/stripe/model/radar/CustomerEvaluation.java b/src/main/java/com/stripe/model/radar/CustomerEvaluation.java
index 173e3a66337..fdd25c26fa5 100644
--- a/src/main/java/com/stripe/model/radar/CustomerEvaluation.java
+++ b/src/main/java/com/stripe/model/radar/CustomerEvaluation.java
@@ -12,6 +12,7 @@
import com.stripe.net.RequestOptions;
import com.stripe.net.StripeResponseGetter;
import com.stripe.param.radar.CustomerEvaluationCreateParams;
+import com.stripe.param.radar.CustomerEvaluationRetrieveParams;
import com.stripe.param.radar.CustomerEvaluationUpdateParams;
import java.math.BigDecimal;
import java.util.List;
@@ -108,6 +109,47 @@ public static CustomerEvaluation create(
return getGlobalResponseGetter().request(request, CustomerEvaluation.class);
}
+ /** Retrieves an {@code CustomerEvaluation} object. */
+ public static CustomerEvaluation retrieve(String customerEvaluation) throws StripeException {
+ return retrieve(customerEvaluation, (Map One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -294,6 +341,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SpendCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -313,6 +367,44 @@ public static class SpendCard extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -366,6 +458,13 @@ public static class CrossRiverBank extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class ChargeCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -385,6 +484,44 @@ public static class ChargeCard extends StripeObject {
.ChargeCard.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -420,6 +557,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PrepaidCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -439,6 +583,44 @@ public static class PrepaidCard extends StripeObject {
.PrepaidCard.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -474,6 +656,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SpendCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -493,6 +682,44 @@ public static class SpendCard extends StripeObject {
.SpendCard.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -538,6 +765,13 @@ public static class FifthThird extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class ChargeCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -557,6 +791,44 @@ public static class ChargeCard extends StripeObject {
.ChargeCard.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -608,6 +880,13 @@ public static class Lead extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PrepaidCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -627,6 +906,44 @@ public static class PrepaidCard extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -676,6 +993,13 @@ public static class Stripe extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class ChargeCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -695,6 +1019,44 @@ public static class ChargeCard extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -730,6 +1092,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PrepaidCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -749,6 +1118,44 @@ public static class PrepaidCard extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -812,6 +1219,13 @@ public static class Celtic extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class RevolvingCreditCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -831,6 +1245,44 @@ public static class RevolvingCreditCard extends StripeObject {
.RevolvingCreditCard.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -876,6 +1328,13 @@ public static class CrossRiverBank extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PrepaidCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -895,6 +1354,44 @@ public static class PrepaidCard extends StripeObject {
.PrepaidCard.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -944,6 +1441,13 @@ public static class Lead extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class DebitCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -963,6 +1467,44 @@ public static class DebitCard extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -998,6 +1540,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PrepaidCard extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1017,6 +1566,44 @@ public static class PrepaidCard extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1268,6 +1855,13 @@ public static class Capabilities extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AutomaticIndirectTax extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1285,16 +1879,53 @@ public static class AutomaticIndirectTax extends StripeObject {
statusDetails;
/**
- * For more details about StatusDetail, please refer to the API Reference.
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
- public static class StatusDetail extends StripeObject {
- /**
- * Machine-readable code explaining the reason for the Capability to be in its current
- * status.
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
+ /**
+ * For more details about StatusDetail, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class StatusDetail extends StripeObject {
+ /**
+ * Machine-readable code explaining the reason for the Capability to be in its current
+ * status.
*
* One of {@code determining_status}, {@code requirements_past_due}, {@code
* requirements_pending_verification}, {@code restricted_other}, {@code
@@ -1672,6 +2303,13 @@ public static class Capabilities extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AchDebitPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1688,6 +2326,43 @@ public static class AchDebitPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1723,6 +2398,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AcssDebitPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1739,6 +2421,43 @@ public static class AcssDebitPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1774,6 +2493,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AffirmPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1790,6 +2516,43 @@ public static class AffirmPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1825,6 +2588,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AfterpayClearpayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1841,6 +2611,43 @@ public static class AfterpayClearpayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1876,6 +2683,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AlmaPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1891,6 +2705,43 @@ public static class AlmaPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1926,6 +2777,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AmazonPayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1942,6 +2800,43 @@ public static class AmazonPayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -1977,6 +2872,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AuBecsDebitPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -1993,6 +2895,43 @@ public static class AuBecsDebitPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2028,6 +2967,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BacsDebitPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2044,6 +2990,43 @@ public static class BacsDebitPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2079,6 +3062,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BancontactPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2095,6 +3085,43 @@ public static class BancontactPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2130,6 +3157,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BlikPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2145,6 +3179,43 @@ public static class BlikPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2180,6 +3251,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BoletoPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2197,18 +3275,55 @@ public static class BoletoPayments extends StripeObject {
statusDetails;
/**
- * For more details about StatusDetail, please refer to the API Reference.
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
- public static class StatusDetail extends StripeObject {
- /**
- * Machine-readable code explaining the reason for the Capability to be in its current
- * status.
- *
- * One of {@code determining_status}, {@code requirements_past_due}, {@code
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
+ /**
+ * For more details about StatusDetail, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class StatusDetail extends StripeObject {
+ /**
+ * Machine-readable code explaining the reason for the Capability to be in its current
+ * status.
+ *
+ * One of {@code determining_status}, {@code requirements_past_due}, {@code
* requirements_pending_verification}, {@code restricted_other}, {@code
* unsupported_business}, {@code unsupported_country}, or {@code
* unsupported_entity_type}.
@@ -2231,6 +3346,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CardPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2246,6 +3368,43 @@ public static class CardPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2281,6 +3440,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CartesBancairesPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2297,6 +3463,43 @@ public static class CartesBancairesPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2332,6 +3535,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CashappPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2348,6 +3558,43 @@ public static class CashappPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2383,6 +3630,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class EpsPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2398,6 +3652,43 @@ public static class EpsPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2433,6 +3724,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FpxPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2448,6 +3746,43 @@ public static class FpxPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2483,6 +3818,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class GbBankTransferPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2499,6 +3841,43 @@ public static class GbBankTransferPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2534,6 +3913,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class GrabpayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2550,6 +3936,43 @@ public static class GrabpayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2585,6 +4008,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class IdealPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2601,6 +4031,43 @@ public static class IdealPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2636,6 +4103,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class JcbPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2651,6 +4125,43 @@ public static class JcbPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2686,6 +4197,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class JpBankTransferPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2702,6 +4220,43 @@ public static class JpBankTransferPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2737,6 +4292,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class KakaoPayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2753,6 +4315,43 @@ public static class KakaoPayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2788,6 +4387,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class KlarnaPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2796,13 +4402,50 @@ public static class KlarnaPayments extends StripeObject {
@SerializedName("status")
String status;
- /**
- * Additional details about the capability's status. This value is empty when {@code
- * status} is {@code active}.
- */
- @SerializedName("status_details")
- List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
/**
* For more details about StatusDetail, please refer to the
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2890,6 +4577,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class KrCardPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2906,6 +4600,43 @@ public static class KrCardPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2941,6 +4672,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class LinkPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -2956,6 +4694,43 @@ public static class LinkPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -2991,6 +4766,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class MobilepayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3007,6 +4789,43 @@ public static class MobilepayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3042,6 +4861,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class MultibancoPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3058,6 +4884,43 @@ public static class MultibancoPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3093,6 +4956,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class MxBankTransferPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3109,6 +4979,43 @@ public static class MxBankTransferPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3144,6 +5051,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class NaverPayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3160,6 +5074,43 @@ public static class NaverPayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3195,6 +5146,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class OxxoPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3210,6 +5168,43 @@ public static class OxxoPayments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3245,6 +5240,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class P24Payments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3260,6 +5262,43 @@ public static class P24Payments extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3295,6 +5334,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PayByBankPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3311,6 +5357,43 @@ public static class PayByBankPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3346,6 +5429,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PaycoPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3354,13 +5444,50 @@ public static class PaycoPayments extends StripeObject {
@SerializedName("status")
String status;
- /**
- * Additional details about the capability's status. This value is empty when {@code
- * status} is {@code active}.
- */
- @SerializedName("status_details")
- List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
/**
* For more details about StatusDetail, please refer to the
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3448,6 +5619,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PromptpayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3464,6 +5642,43 @@ public static class PromptpayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3499,6 +5714,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class RevolutPayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3515,6 +5737,43 @@ public static class RevolutPayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3550,6 +5809,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SamsungPayPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3566,6 +5832,43 @@ public static class SamsungPayPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3601,6 +5904,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SepaBankTransferPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3617,6 +5927,43 @@ public static class SepaBankTransferPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3652,6 +5999,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SepaDebitPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3668,6 +6022,43 @@ public static class SepaDebitPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3712,6 +6103,13 @@ public static class StripeBalance extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Payouts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3729,6 +6127,44 @@ public static class Payouts extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3765,6 +6201,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SwishPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3781,6 +6224,43 @@ public static class SwishPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3816,6 +6296,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class TwintPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3832,6 +6319,43 @@ public static class TwintPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3867,6 +6391,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class UsBankTransferPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3883,6 +6414,43 @@ public static class UsBankTransferPayments extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -3918,6 +6486,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class ZipPayments extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -3926,12 +6501,49 @@ public static class ZipPayments extends StripeObject {
@SerializedName("status")
String status;
- /**
- * Additional details about the capability's status. This value is empty when {@code
- * status} is {@code active}.
- */
- @SerializedName("status_details")
- List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
/**
* For more details about StatusDetail, please refer to the
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4407,6 +7064,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Local extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4424,6 +7088,44 @@ public static class Local extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4459,6 +7161,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Wire extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4476,6 +7185,44 @@ public static class Wire extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4512,6 +7259,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Cards extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4527,6 +7281,43 @@ public static class Cards extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4562,6 +7353,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CryptoWallets extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4578,6 +7376,43 @@ public static class CryptoWallets extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4613,6 +7448,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PaperChecks extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4628,6 +7470,43 @@ public static class PaperChecks extends StripeObject {
@SerializedName("status_details")
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4678,6 +7557,13 @@ public static class StripeBalance extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Payouts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4695,6 +7581,44 @@ public static class Payouts extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4732,6 +7656,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class StripeTransfers extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4751,6 +7682,44 @@ public static class StripeTransfers extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -4979,6 +7948,13 @@ public static class HoldsCurrencies extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Usd extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -4998,6 +7974,44 @@ public static class Usd extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5054,6 +8068,13 @@ public static class FinancialAddresses extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BankAccounts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5073,6 +8094,44 @@ public static class BankAccounts extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5108,6 +8167,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CryptoWallets extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5127,6 +8193,44 @@ public static class CryptoWallets extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5184,6 +8288,13 @@ public static class HoldsCurrencies extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Eur extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5193,13 +8304,51 @@ public static class Eur extends StripeObject {
@SerializedName("status")
String status;
- /**
- * Additional details about the capability's status. This value is empty when {@code
- * status} is {@code active}.
- */
- @SerializedName("status_details")
- List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
/**
* For more details about StatusDetail, please refer to the
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5288,6 +8482,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Usd extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5305,6 +8506,44 @@ public static class Usd extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5340,6 +8579,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Usdc extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5357,6 +8603,44 @@ public static class Usdc extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5406,6 +8690,13 @@ public static class InboundTransfers extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BankAccounts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5425,6 +8716,44 @@ public static class BankAccounts extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5498,6 +8827,13 @@ public static class OutboundPayments extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BankAccounts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5517,6 +8853,44 @@ public static class BankAccounts extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5552,6 +8926,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Cards extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5569,6 +8950,44 @@ public static class Cards extends StripeObject {
List One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5606,6 +9025,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CryptoWallets extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5625,6 +9051,44 @@ public static class CryptoWallets extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5663,6 +9127,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FinancialAccounts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5682,6 +9153,44 @@ public static class FinancialAccounts extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5717,6 +9226,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PaperChecks extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5736,6 +9252,44 @@ public static class PaperChecks extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5801,6 +9355,13 @@ public static class OutboundTransfers extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BankAccounts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5820,6 +9381,44 @@ public static class BankAccounts extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5857,6 +9456,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class CryptoWallets extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5876,6 +9482,44 @@ public static class CryptoWallets extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
@@ -5914,6 +9558,13 @@ public static class StatusDetail extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FinancialAccounts extends StripeObject {
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @SerializedName("protections")
+ Protections protections;
+
/**
* The status of the Capability.
*
@@ -5933,6 +9584,44 @@ public static class FinancialAccounts extends StripeObject {
.StatusDetail>
statusDetails;
+ /**
+ * Protections applied to this capability, keyed by protection type (e.g.
+ * "psp_migration").
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Protections extends StripeObject {
+ /** Protection details for PSP migration. */
+ @SerializedName("psp_migration")
+ PspMigration pspMigration;
+
+ /** Protection details for PSP migration. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class PspMigration extends StripeObject {
+ /** The time until which the protection will expire, as a Unix timestamp. */
+ @SerializedName("expires_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long expiresAt;
+
+ /** The time at which the protection was requested, as a Unix timestamp. */
+ @SerializedName("requested_at")
+ @JsonAdapter(StringInt64TypeAdapter.class)
+ Long requestedAt;
+
+ /**
+ * The current status of the protection.
+ *
+ * One of {@code active}, {@code disrupted}, {@code expired}, or {@code
+ * inactive}.
+ */
+ @SerializedName("status")
+ String status;
+ }
+ }
+
/**
* For more details about StatusDetail, please refer to the API Reference.
diff --git a/src/main/java/com/stripe/param/ConfirmationTokenCreateParams.java b/src/main/java/com/stripe/param/ConfirmationTokenCreateParams.java
index f24c2706eec..42fbb368720 100644
--- a/src/main/java/com/stripe/param/ConfirmationTokenCreateParams.java
+++ b/src/main/java/com/stripe/param/ConfirmationTokenCreateParams.java
@@ -653,6 +653,13 @@ public static class PaymentMethodData {
@SerializedName("swish")
Swish swish;
+ /**
+ * If this is a {@code tamara} PaymentMethod, this hash contains details about the Tamara
+ * payment method.
+ */
+ @SerializedName("tamara")
+ Tamara tamara;
+
/**
* If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
*/
@@ -759,6 +766,7 @@ private PaymentMethodData(
StripeBalance stripeBalance,
Sunbit sunbit,
Swish swish,
+ Tamara tamara,
Twint twint,
Type type,
Upi upi,
@@ -828,6 +836,7 @@ private PaymentMethodData(
this.stripeBalance = stripeBalance;
this.sunbit = sunbit;
this.swish = swish;
+ this.tamara = tamara;
this.twint = twint;
this.type = type;
this.upi = upi;
@@ -967,6 +976,8 @@ public static class Builder {
private Swish swish;
+ private Tamara tamara;
+
private Twint twint;
private Type type;
@@ -1045,6 +1056,7 @@ public ConfirmationTokenCreateParams.PaymentMethodData build() {
this.stripeBalance,
this.sunbit,
this.swish,
+ this.tamara,
this.twint,
this.type,
this.upi,
@@ -1679,6 +1691,15 @@ public Builder setSwish(ConfirmationTokenCreateParams.PaymentMethodData.Swish sw
return this;
}
+ /**
+ * If this is a {@code tamara} PaymentMethod, this hash contains details about the Tamara
+ * payment method.
+ */
+ public Builder setTamara(ConfirmationTokenCreateParams.PaymentMethodData.Tamara tamara) {
+ this.tamara = tamara;
+ return this;
+ }
+
/**
* If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment
* method.
@@ -6530,6 +6551,64 @@ public Builder putAllExtraParam(Map If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the
+ * Customer after the PaymentIntent is confirmed and the customer completes any required
+ * actions. If you don't provide a Customer, you can still attach the payment method to a
+ * Customer after the transaction completes.
+ *
+ * If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
+ * and attaches a generated_card
+ * payment method representing the card to the Customer instead.
+ *
+ * When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
+ * with regional legislation and network rules, such as SCA.
+ *
+ * If you've already set {@code setup_future_usage} and you're performing a request using a
+ * publishable key, you can only update the value from {@code on_session} to {@code
+ * off_session}.
+ */
+ @SerializedName("setup_future_usage")
+ SetupFutureUsage setupFutureUsage;
+
+ /**
+ * Specific configuration for this PaymentIntent when the mode is {@code
+ * transaction_verification}.
+ */
+ @SerializedName("transaction_verification_options")
+ TransactionVerificationOptions transactionVerificationOptions;
+
+ private Crypto(
+ DepositOptions depositOptions,
+ Map If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to
+ * the Customer after the PaymentIntent is confirmed and the customer completes any required
+ * actions. If you don't provide a Customer, you can still attach the payment method to a
+ * Customer after the transaction completes.
+ *
+ * If the payment method is {@code card_present} and isn't a digital wallet, Stripe
+ * creates and attaches a generated_card
+ * payment method representing the card to the Customer instead.
+ *
+ * When processing card payments, Stripe uses {@code setup_future_usage} to help you
+ * comply with regional legislation and network rules, such as SCA.
+ *
+ * If you've already set {@code setup_future_usage} and you're performing a request using
+ * a publishable key, you can only update the value from {@code on_session} to {@code
+ * off_session}.
+ */
+ public Builder setSetupFutureUsage(
+ PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.SetupFutureUsage
+ setupFutureUsage) {
this.setupFutureUsage = setupFutureUsage;
return this;
}
- }
-
- public enum CaptureMethod implements ApiRequestParams.EnumParam {
- @SerializedName("manual")
- MANUAL("manual");
-
- @Getter(onMethod_ = {@Override})
- private final String value;
-
- CaptureMethod(String value) {
- this.value = value;
- }
- }
-
- public enum SetupFutureUsage implements ApiRequestParams.EnumParam {
- @SerializedName("none")
- NONE("none"),
-
- @SerializedName("off_session")
- OFF_SESSION("off_session"),
-
- @SerializedName("on_session")
- ON_SESSION("on_session");
-
- @Getter(onMethod_ = {@Override})
- private final String value;
-
- SetupFutureUsage(String value) {
- this.value = value;
- }
- }
- }
-
- @Getter
- @EqualsAndHashCode(callSuper = false)
- public static class Crypto {
- /** Specific configuration for this PaymentIntent when the mode is {@code deposit}. */
- @SerializedName("deposit_options")
- DepositOptions depositOptions;
-
- /**
- * Map of extra parameters for custom features not available in this client library. The
- * content in this map is not serialized under this field's {@code @SerializedName} value.
- * Instead, each key/value pair is serialized as if the key is a root-level field (serialized)
- * name in this param object. Effectively, this map is flattened to its parent instance.
- */
- @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
- Map If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the
- * Customer after the PaymentIntent is confirmed and the customer completes any required
- * actions. If you don't provide a Customer, you can still attach the payment method to a
- * Customer after the transaction completes.
- *
- * If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
- * and attaches a generated_card
- * payment method representing the card to the Customer instead.
- *
- * When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
- * with regional legislation and network rules, such as SCA.
- *
- * If you've already set {@code setup_future_usage} and you're performing a request using a
- * publishable key, you can only update the value from {@code on_session} to {@code
- * off_session}.
- */
- @SerializedName("setup_future_usage")
- SetupFutureUsage setupFutureUsage;
-
- private Crypto(
- DepositOptions depositOptions,
- Map If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to
- * the Customer after the PaymentIntent is confirmed and the customer completes any required
- * actions. If you don't provide a Customer, you can still attach the payment method to a
- * Customer after the transaction completes.
- *
- * If the payment method is {@code card_present} and isn't a digital wallet, Stripe
- * creates and attaches a generated_card
- * payment method representing the card to the Customer instead.
- *
- * When processing card payments, Stripe uses {@code setup_future_usage} to help you
- * comply with regional legislation and network rules, such as SCA.
- *
- * If you've already set {@code setup_future_usage} and you're performing a request using
- * a publishable key, you can only update the value from {@code on_session} to {@code
- * off_session}.
- */
- public Builder setSetupFutureUsage(
- PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.SetupFutureUsage
- setupFutureUsage) {
- this.setupFutureUsage = setupFutureUsage;
+ public Builder setTransactionVerificationOptions(
+ PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions
+ transactionVerificationOptions) {
+ this.transactionVerificationOptions = transactionVerificationOptions;
return this;
}
}
@@ -32490,6 +32060,131 @@ public enum Network implements ApiRequestParams.EnumParam {
@SerializedName("base")
BASE("base"),
+ @SerializedName("ethereum")
+ ETHEREUM("ethereum"),
+
+ @SerializedName("polygon")
+ POLYGON("polygon"),
+
+ @SerializedName("solana")
+ SOLANA("solana"),
+
+ @SerializedName("tempo")
+ TEMPO("tempo");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Network(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ public static class TransactionVerificationOptions {
+ /**
+ * Map of extra parameters for custom features not available in this client library. The
+ * content in this map is not serialized under this field's {@code @SerializedName} value.
+ * Instead, each key/value pair is serialized as if the key is a root-level field
+ * (serialized) name in this param object. Effectively, this map is flattened to its parent
+ * instance.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map