diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 426d5c5a1..714ead978 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v173
\ No newline at end of file
+v174
\ No newline at end of file
diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php
index 845e4a764..b252d41b9 100644
--- a/lib/Checkout/Session.php
+++ b/lib/Checkout/Session.php
@@ -54,10 +54,10 @@
* @property \Stripe\StripeObject $phone_number_collection
* @property null|string $recovered_from The ID of the original expired Checkout Session that triggered the recovery flow.
* @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup
mode.
- * @property null|\Stripe\StripeObject $shipping Shipping information for this Checkout Session.
* @property null|\Stripe\StripeObject $shipping_address_collection When set, provides configuration for Checkout to collect a shipping address from a customer.
+ * @property null|\Stripe\StripeObject $shipping_cost The details of the customer cost of shipping, including the customer chosen ShippingRate.
+ * @property null|\Stripe\StripeObject $shipping_details Shipping information for this Checkout Session.
* @property \Stripe\StripeObject[] $shipping_options The shipping rate options applied to this Session.
- * @property null|string|\Stripe\ShippingRate $shipping_rate The ID of the ShippingRate for Checkout Sessions in payment
mode.
* @property null|string $status The status of the Checkout Session, one of open
, complete
, or expired
.
* @property null|string $submit_type Describes the type of transaction being performed by Checkout in order to customize relevant text on the page, such as the submit button. submit_type
can only be specified on Checkout Sessions in payment
mode, but not Checkout Sessions in subscription
or setup
mode.
* @property null|string|\Stripe\Subscription $subscription The ID of the subscription for Checkout Sessions in subscription
mode.
diff --git a/lib/Customer.php b/lib/Customer.php
index da59509c8..efbf083fd 100644
--- a/lib/Customer.php
+++ b/lib/Customer.php
@@ -19,7 +19,6 @@
* @property null|\Stripe\CashBalance $cash_balance The current funds being held by Stripe on behalf of the customer. These funds can be applied towards payment intents with source "cash_balance".The settings[reconciliation_mode] field describes whether these funds are applied to such payment intents manually or automatically.
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
* @property null|string $currency Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes.
- * @property null|string $default_currency The default three-letter ISO code for the currency that the customer will be charged in for billing purposes.
* @property null|string|\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source $default_source
ID of the default payment source for the customer.
If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.
* @property null|bool $delinquentWhen the customer's latest invoice is billed by charging automatically, delinquent
is true
if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, delinquent
is true
if the invoice isn't paid by its due date.
If an invoice is marked uncollectible by dunning, delinquent
doesn't get reset to false
.
/v1/payment_methods/:id/attach
endpoint does not ensure that future
- * payments can be made with the attached PaymentMethod. See /v1/payment_methods/:id/attach
+ * endpoint without first using a SetupIntent or PaymentIntent with
+ * setup_future_usage
does not optimize the PaymentMethod for future
+ * use, which makes later declines and payment friction more likely. See Optimizing cards for future
* payments for more information about setting up future payments.
*
diff --git a/lib/Util/ApiVersion.php b/lib/Util/ApiVersion.php
index 178b8d4ba..7cd0170ae 100644
--- a/lib/Util/ApiVersion.php
+++ b/lib/Util/ApiVersion.php
@@ -6,5 +6,5 @@
class ApiVersion
{
- const CURRENT = '2020-08-27';
+ const CURRENT = '2022-08-01';
}