diff --git a/openapi/spec3.json b/openapi/spec3.json index e48656a3..0a3a1961 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -3952,7 +3952,7 @@ "additionalProperties": { "type": "integer" }, - "description": "A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0.", + "description": "A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).", "nullable": true, "type": "object" }, @@ -42545,10 +42545,6 @@ "type": "string" }, "type": "array" - }, - "redirect_url": { - "description": "Where to redirect the user after they log out of their dashboard.", - "type": "string" } }, "required": [ @@ -49656,10 +49652,6 @@ "type": "string" }, "type": "array" - }, - "redirect_url": { - "description": "Where to redirect the user after they log out of their dashboard.", - "type": "string" } }, "type": "object" @@ -57668,8 +57660,18 @@ "additionalProperties": false, "properties": { "amount": { + "description": "A positive integer representing how much to refund.", "type": "integer" }, + "currency": { + "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", + "type": "string" + }, + "customer": { + "description": "Customer whose customer balance to refund from.", + "maxLength": 5000, + "type": "string" + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "items": { @@ -57679,6 +57681,7 @@ "type": "array" }, "instructions_email": { + "description": "Address to send refund email, use customer email if not specified", "type": "string" }, "metadata": { @@ -57698,6 +57701,13 @@ ], "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`." }, + "origin": { + "description": "Origin of the refund", + "enum": [ + "customer_balance" + ], + "type": "string" + }, "payment_intent": { "maxLength": 5000, "type": "string" @@ -57924,6 +57934,17 @@ "description": "

Returns a list of Checkout Sessions.

", "operationId": "GetCheckoutSessions", "parameters": [ + { + "description": "Only return the Checkout Sessions for the Customer specified.", + "in": "query", + "name": "customer", + "required": false, + "schema": { + "maxLength": 5000, + "type": "string" + }, + "style": "form" + }, { "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", "in": "query", @@ -65321,7 +65342,7 @@ } }, "post": { - "description": "

Updates a customer’s cash balance.

", + "description": "

Changes the settings on a customer’s cash balance.

", "operationId": "PostCustomersCustomerCashBalance", "parameters": [ { @@ -65360,6 +65381,7 @@ "type": "array" }, "settings": { + "description": "A hash of settings for this cash balance.", "properties": { "reconciliation_mode": { "enum": [ @@ -96568,7 +96590,7 @@ "type": "array" }, "submit_type": { - "description": "Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button.", + "description": "Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://stripe.com/docs/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).", "enum": [ "auto", "book", @@ -105747,12 +105769,22 @@ "additionalProperties": false, "properties": { "amount": { + "description": "A positive integer representing how much to refund.", "type": "integer" }, "charge": { "maxLength": 5000, "type": "string" }, + "currency": { + "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", + "type": "string" + }, + "customer": { + "description": "Customer whose customer balance to refund from.", + "maxLength": 5000, + "type": "string" + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "items": { @@ -105762,6 +105794,7 @@ "type": "array" }, "instructions_email": { + "description": "Address to send refund email, use customer email if not specified", "type": "string" }, "metadata": { @@ -105781,6 +105814,13 @@ ], "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`." }, + "origin": { + "description": "Origin of the refund", + "enum": [ + "customer_balance" + ], + "type": "string" + }, "payment_intent": { "maxLength": 5000, "type": "string" @@ -130437,6 +130477,11 @@ "customer.tax_id.updated", "customer.updated", "file.created", + "financial_connections.account.created", + "financial_connections.account.deactivated", + "financial_connections.account.disconnected", + "financial_connections.account.reactivated", + "financial_connections.account.refreshed_balance", "identity.verification_session.canceled", "identity.verification_session.created", "identity.verification_session.processing", @@ -130895,6 +130940,11 @@ "customer.tax_id.updated", "customer.updated", "file.created", + "financial_connections.account.created", + "financial_connections.account.deactivated", + "financial_connections.account.disconnected", + "financial_connections.account.reactivated", + "financial_connections.account.refreshed_balance", "identity.verification_session.canceled", "identity.verification_session.created", "identity.verification_session.processing",