Skip to content

Commit

Permalink
Update OpenAPI for f43aea9229a701233507f6c09a586501ec8449d2
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jul 6, 2022
1 parent 05d8a8e commit f987adb
Showing 1 changed file with 61 additions and 11 deletions.
72 changes: 61 additions & 11 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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": {
Expand All @@ -57679,6 +57681,7 @@
"type": "array"
},
"instructions_email": {
"description": "Address to send refund email, use customer email if not specified",
"type": "string"
},
"metadata": {
Expand All @@ -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"
Expand Down Expand Up @@ -57924,6 +57934,17 @@
"description": "<p>Returns a list of Checkout Sessions.</p>",
"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",
Expand Down Expand Up @@ -65321,7 +65342,7 @@
}
},
"post": {
"description": "<p>Updates a customer’s cash balance.</p>",
"description": "<p>Changes the settings on a customer’s cash balance.</p>",
"operationId": "PostCustomersCustomerCashBalance",
"parameters": [
{
Expand Down Expand Up @@ -65360,6 +65381,7 @@
"type": "array"
},
"settings": {
"description": "A hash of settings for this cash balance.",
"properties": {
"reconciliation_mode": {
"enum": [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -105762,6 +105794,7 @@
"type": "array"
},
"instructions_email": {
"description": "Address to send refund email, use customer email if not specified",
"type": "string"
},
"metadata": {
Expand All @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f987adb

Please sign in to comment.