diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1199cd331..c85d9ad92 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## 13.4.0 - 2023-11-21
+* [#1608](https://github.com/stripe/stripe-php/pull/1608) Update generated code
+ Add support for `transferred_to_balance` to `CustomerCashBalanceTransaction`
+* [#1605](https://github.com/stripe/stripe-php/pull/1605) Update generated code
+ * Add support for `network_data` on `Issuing.Transaction`
+
## 13.4.0-beta.1 - 2023-11-10
* [#1600](https://github.com/stripe/stripe-php/pull/1600) Update generated code for beta
* Add support for new value `quote.reestimate_failed` on enum `Event.type`
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 341fbefcb..1418e2ae4 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v655
\ No newline at end of file
+v680
\ No newline at end of file
diff --git a/lib/CustomerCashBalanceTransaction.php b/lib/CustomerCashBalanceTransaction.php
index 00ec89ad4..b430b0136 100644
--- a/lib/CustomerCashBalanceTransaction.php
+++ b/lib/CustomerCashBalanceTransaction.php
@@ -22,6 +22,7 @@
* @property bool $livemode Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
* @property int $net_amount The amount by which the cash balance changed, represented in the smallest currency unit. A positive value represents funds being added to the cash balance, a negative value represents funds being removed from the cash balance.
* @property null|\Stripe\StripeObject $refunded_from_payment
+ * @property null|\Stripe\StripeObject $transferred_to_balance
* @property string $type The type of the cash balance transaction. New types may be added in future. See Customer Balance to learn more about these types.
* @property null|\Stripe\StripeObject $unapplied_from_payment
*/
diff --git a/lib/CustomerSession.php b/lib/CustomerSession.php
index 6635238fb..3d0038989 100644
--- a/lib/CustomerSession.php
+++ b/lib/CustomerSession.php
@@ -10,6 +10,8 @@
*
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property string $client_secret
The client secret of this customer session. Used on the client to set up secure access to the given customer
.
The client secret can be used to provide access to customer
from your frontend. It should not be stored, logged, or exposed to anyone other than the relevant customer. Make sure that you have TLS enabled on any page that includes the client secret.
true
if the object exists in live mode or the value false
if the object exists in test mode.
diff --git a/lib/Event.php b/lib/Event.php
index 264bf0a8a..5654ed37d 100644
--- a/lib/Event.php
+++ b/lib/Event.php
@@ -26,8 +26,8 @@
* Event
objects directly to an endpoint on your server. You can manage
* webhooks in your
* account settings. Learn how
- * to [listen for events]
- * (/docs/webhooks) so that your integration can automatically trigger reactions.
+ * to listen for events
+ * so that your integration can automatically trigger reactions.
*
* When using Connect, you can also receive event notifications
* that occur in connected accounts. For these events, there's an
diff --git a/lib/Issuing/Authorization.php b/lib/Issuing/Authorization.php
index 4beadbdf3..7fa73ffb3 100644
--- a/lib/Issuing/Authorization.php
+++ b/lib/Issuing/Authorization.php
@@ -13,7 +13,7 @@
*
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
- * @property int $amount The total amount that was authorized or rejected. This amount is in the card's currency and in the smallest currency unit.
+ * @property int $amount The total amount that was authorized or rejected. This amount is in currency
and in the smallest currency unit. amount
should be the same as merchant_amount
, unless currency
and merchant_currency
are different.
* @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in currency
and in the smallest currency unit.
* @property bool $approved Whether the authorization has been approved.
* @property string $authorization_method How the card details were provided.
@@ -21,10 +21,10 @@
* @property \Stripe\Issuing\Card $card You can create physical or virtual cards that are issued to cardholders.
* @property null|string|\Stripe\Issuing\Cardholder $cardholder The cardholder to whom this authorization belongs.
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
- * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency.
+ * @property string $currency The currency of the cardholder. This currency can be different from the currency presented at authorization and the merchant_currency
field on this authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency.
* @property bool $livemode Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
- * @property int $merchant_amount The total amount that was authorized or rejected. This amount is in the merchant_currency
and in the smallest currency unit.
- * @property string $merchant_currency The currency that was presented to the cardholder for the authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency.
+ * @property int $merchant_amount The total amount that was authorized or rejected. This amount is in the merchant_currency
and in the smallest currency unit. merchant_amount
should be the same as amount
, unless merchant_currency
and currency
are different.
+ * @property string $merchant_currency The local currency that was presented to the cardholder for the authorization. This currency can be different from the cardholder currency and the currency
field on this authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency.
* @property \Stripe\StripeObject $merchant_data
* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property null|\Stripe\StripeObject $network_data Details about the authorization, such as identifiers, set by the card network.
diff --git a/lib/Refund.php b/lib/Refund.php
index abe603f4e..2fd33949a 100644
--- a/lib/Refund.php
+++ b/lib/Refund.php
@@ -28,7 +28,7 @@
* @property null|string $reason Reason for the refund, which is either user-provided (duplicate
, fraudulent
, or requested_by_customer
) or generated by Stripe internally (expired_uncaptured_charge
).
* @property null|string $receipt_number This is the transaction number that appears on email receipts sent for this refund.
* @property null|string|\Stripe\TransferReversal $source_transfer_reversal The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account.
- * @property null|string $status Status of the refund. For credit card refunds, this can be pending
, succeeded
, or failed
. For other types of refunds, it can be pending
, requires_action
, succeeded
, failed
, or canceled
. Learn more about failed refunds.
+ * @property null|string $status Status of the refund. This can be pending
, requires_action
, succeeded
, failed
, or canceled
. Learn more about failed refunds.
* @property null|string|\Stripe\TransferReversal $transfer_reversal This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter.
*/
class Refund extends ApiResource
diff --git a/lib/Service/PriceService.php b/lib/Service/PriceService.php
index ef2b938d4..9117fb08e 100644
--- a/lib/Service/PriceService.php
+++ b/lib/Service/PriceService.php
@@ -7,7 +7,9 @@
class PriceService extends \Stripe\Service\AbstractService
{
/**
- * Returns a list of your prices.
+ * Returns a list of your active prices, excluding inline prices.
+ * For the list of inactive prices, set active
to false.
*
* @param null|array $params
* @param null|array|\Stripe\Util\RequestOptions $opts
diff --git a/lib/Topup.php b/lib/Topup.php
index 81385f5ef..32ad57fad 100644
--- a/lib/Topup.php
+++ b/lib/Topup.php
@@ -23,7 +23,7 @@
* @property null|string $failure_message Message to user further explaining reason for top-up failure if available.
* @property bool $livemode Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- * @property null|\Stripe\Source $source For most Stripe users, the source of every top-up is a bank account. This hash is then the source object describing that bank account.
+ * @property null|\Stripe\Source $source The source field is deprecated. It might not always be present in the API response.
* @property null|string $statement_descriptor Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter.
* @property string $status The status of the top-up is either canceled
, failed
, pending
, reversed
, or succeeded
.
* @property null|string $transfer_group A string that identifies this top-up as part of a group.