Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 3, 2023
1 parent b8b31dc commit 3e39087
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1494,15 +1494,15 @@
}
},
"account_session": {
"description": "An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded UIs.\n\nWe recommend that you create an AccountSession each time you need to display an embedded UI\nto your user. Do not save AccountSessions to your database as they expire relatively\nquickly, and cannot be used more than once.\n\nRelated guide: [Connect embedded UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis).",
"description": "An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded components.\n\nWe recommend that you create an AccountSession each time you need to display an embedded component\nto your user. Do not save AccountSessions to your database as they expire relatively\nquickly, and cannot be used more than once.\n\nRelated guide: [Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components).",
"properties": {
"account": {
"description": "The ID of the account the AccountSession was created for",
"maxLength": 5000,
"type": "string"
},
"client_secret": {
"description": "The client secret of this AccountSession. Used on the client to set up secure access to the given `account`.\n\nThe client secret can be used to provide access to `account` from your frontend. It should not be stored, logged, or exposed to anyone other than the connected account. Make sure that you have TLS enabled on any page that includes the client secret.\n\nRefer to our docs to [setup Connect embedded UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis) and learn about how `client_secret` should be handled.",
"description": "The client secret of this AccountSession. Used on the client to set up secure access to the given `account`.\n\nThe client secret can be used to provide access to `account` from your frontend. It should not be stored, logged, or exposed to anyone other than the connected account. Make sure that you have TLS enabled on any page that includes the client secret.\n\nRefer to our docs to [setup Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components) and learn about how `client_secret` should be handled.",
"maxLength": 5000,
"type": "string"
},
Expand Down
8 changes: 4 additions & 4 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1488,11 +1488,11 @@ components:
account_session:
description: >-
An AccountSession allows a Connect platform to grant access to a
connected account in Connect embedded UIs.
connected account in Connect embedded components.


We recommend that you create an AccountSession each time you need to
display an embedded UI
display an embedded component

to your user. Do not save AccountSessions to your database as they
expire relatively
Expand All @@ -1501,7 +1501,7 @@ components:


Related guide: [Connect embedded
UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis).
components](https://stripe.com/docs/connect/get-started-connect-embedded-components).
properties:
account:
description: The ID of the account the AccountSession was created for
Expand All @@ -1520,7 +1520,7 @@ components:


Refer to our docs to [setup Connect embedded
UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis)
components](https://stripe.com/docs/connect/get-started-connect-embedded-components)
and learn about how `client_secret` should be handled.
maxLength: 5000
type: string
Expand Down

0 comments on commit 3e39087

Please sign in to comment.