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 Feb 22, 2024
1 parent 081a4d1 commit 295cd3c
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 0 deletions.
41 changes: 41 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -18876,6 +18876,12 @@
"identity.verification_report": {
"description": "A VerificationReport is the result of an attempt to collect and verify data from a user.\nThe collection of verification checks performed is determined from the `type` and `options`\nparameters used. You can find the result of each verification check performed in the\nappropriate sub-resource: `document`, `id_number`, `selfie`.\n\nEach VerificationReport contains a copy of any data collected by the user as well as\nreference IDs which can be used to access collected images through the [FileUpload](https://stripe.com/docs/api/files)\nAPI. To configure and create VerificationReports, use the\n[VerificationSession](https://stripe.com/docs/api/identity/verification_sessions) API.\n\nRelated guides: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results).",
"properties": {
"client_reference_id": {
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"created": {
"description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
"format": "unix-time",
Expand Down Expand Up @@ -18926,6 +18932,7 @@
}
},
"required": [
"client_reference_id",
"created",
"id",
"livemode",
Expand Down Expand Up @@ -18966,6 +18973,12 @@
"identity.verification_session": {
"description": "A VerificationSession guides you through the process of collecting and verifying the identities\nof your users. It contains details about the type of verification, such as what [verification\ncheck](/docs/identity/verification-checks) to perform. Only create one VerificationSession for\neach verification in your system.\n\nA VerificationSession transitions through [multiple\nstatuses](/docs/identity/how-sessions-work) throughout its lifetime as it progresses through\nthe verification flow. The VerificationSession contains the user's verified data after\nverification checks are complete.\n\nRelated guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions)",
"properties": {
"client_reference_id": {
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"client_secret": {
"description": "The short-lived client secret used by Stripe.js to [show a verification modal](https://stripe.com/docs/js/identity/modal) inside your app. This client secret expires after 24 hours and can only be used once. Don’t store it, log it, embed it in a URL, or expose it to anyone other than the user. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs on [passing the client secret to the frontend](https://stripe.com/docs/identity/verification-sessions#client-secret) to learn more.",
"maxLength": 5000,
Expand Down Expand Up @@ -19085,6 +19098,7 @@
}
},
"required": [
"client_reference_id",
"client_secret",
"created",
"id",
Expand Down Expand Up @@ -98827,6 +98841,17 @@
"description": "<p>List all verification reports.</p>",
"operationId": "GetIdentityVerificationReports",
"parameters": [
{
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"in": "query",
"name": "client_reference_id",
"required": false,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "form"
},
{
"description": "Only return VerificationReports that were created during the given date interval.",
"explode": true,
Expand Down Expand Up @@ -99084,6 +99109,17 @@
"description": "<p>Returns a list of VerificationSessions</p>",
"operationId": "GetIdentityVerificationSessions",
"parameters": [
{
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"in": "query",
"name": "client_reference_id",
"required": false,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "form"
},
{
"description": "Only return VerificationSessions that were created during the given date interval.",
"explode": true,
Expand Down Expand Up @@ -99280,6 +99316,11 @@
"schema": {
"additionalProperties": false,
"properties": {
"client_reference_id": {
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"maxLength": 5000,
"type": "string"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down
47 changes: 47 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17257,6 +17257,14 @@ components:
Related guides: [Accessing verification
results](https://stripe.com/docs/identity/verification-sessions#results).
properties:
client_reference_id:
description: >-
A string to reference this user. This can be a customer ID, a
session ID, or similar, and can be used to reconcile this
verification with your internal systems.
maxLength: 5000
nullable: true
type: string
created:
description: >-
Time at which the object was created. Measured in seconds since the
Expand Down Expand Up @@ -17300,6 +17308,7 @@ components:
nullable: true
type: string
required:
- client_reference_id
- created
- id
- livemode
Expand Down Expand Up @@ -17356,6 +17365,14 @@ components:
Related guide: [The Verification Sessions
API](https://stripe.com/docs/identity/verification-sessions)
properties:
client_reference_id:
description: >-
A string to reference this user. This can be a customer ID, a
session ID, or similar, and can be used to reconcile this
verification with your internal systems.
maxLength: 5000
nullable: true
type: string
client_secret:
description: >-
The short-lived client secret used by Stripe.js to [show a
Expand Down Expand Up @@ -17472,6 +17489,7 @@ components:
description: The user’s verified data.
nullable: true
required:
- client_reference_id
- client_secret
- created
- id
Expand Down Expand Up @@ -89230,6 +89248,17 @@ paths:
description: <p>List all verification reports.</p>
operationId: GetIdentityVerificationReports
parameters:
- description: >-
A string to reference this user. This can be a customer ID, a
session ID, or similar, and can be used to reconcile this
verification with your internal systems.
in: query
name: client_reference_id
required: false
schema:
maxLength: 5000
type: string
style: form
- description: >-
Only return VerificationReports that were created during the given
date interval.
Expand Down Expand Up @@ -89426,6 +89455,17 @@ paths:
description: <p>Returns a list of VerificationSessions</p>
operationId: GetIdentityVerificationSessions
parameters:
- description: >-
A string to reference this user. This can be a customer ID, a
session ID, or similar, and can be used to reconcile this
verification with your internal systems.
in: query
name: client_reference_id
required: false
schema:
maxLength: 5000
type: string
style: form
- description: >-
Only return VerificationSessions that were created during the given
date interval.
Expand Down Expand Up @@ -89600,6 +89640,13 @@ paths:
schema:
additionalProperties: false
properties:
client_reference_id:
description: >-
A string to reference this user. This can be a customer ID,
a session ID, or similar, and can be used to reconcile this
verification with your internal systems.
maxLength: 5000
type: string
expand:
description: Specifies which fields in the response should be expanded.
items:
Expand Down
39 changes: 39 additions & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -12162,6 +12162,12 @@
"identity.verification_report": {
"description": "A VerificationReport is the result of an attempt to collect and verify data from a user.\nThe collection of verification checks performed is determined from the `type` and `options`\nparameters used. You can find the result of each verification check performed in the\nappropriate sub-resource: `document`, `id_number`, `selfie`.\n\nEach VerificationReport contains a copy of any data collected by the user as well as\nreference IDs which can be used to access collected images through the [FileUpload](https://stripe.com/docs/api/files)\nAPI. To configure and create VerificationReports, use the\n[VerificationSession](https://stripe.com/docs/api/identity/verification_sessions) API.\n\nRelated guides: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results).",
"properties": {
"client_reference_id": {
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"created": {
"description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
"format": "unix-time",
Expand Down Expand Up @@ -12230,6 +12236,12 @@
"identity.verification_session": {
"description": "A VerificationSession guides you through the process of collecting and verifying the identities\nof your users. It contains details about the type of verification, such as what [verification\ncheck](/docs/identity/verification-checks) to perform. Only create one VerificationSession for\neach verification in your system.\n\nA VerificationSession transitions through [multiple\nstatuses](/docs/identity/how-sessions-work) throughout its lifetime as it progresses through\nthe verification flow. The VerificationSession contains the user's verified data after\nverification checks are complete.\n\nRelated guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions)",
"properties": {
"client_reference_id": {
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"client_secret": {
"description": "The short-lived client secret used by Stripe.js to [show a verification modal](https://stripe.com/docs/js/identity/modal) inside your app. This client secret expires after 24 hours and can only be used once. Don’t store it, log it, embed it in a URL, or expose it to anyone other than the user. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs on [passing the client secret to the frontend](https://stripe.com/docs/identity/verification-sessions#client-secret) to learn more.",
"maxLength": 5000,
Expand Down Expand Up @@ -76996,6 +77008,17 @@
"description": "<p>List all verification reports.</p>",
"operationId": "GetIdentityVerificationReports",
"parameters": [
{
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"in": "query",
"name": "client_reference_id",
"required": false,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "form"
},
{
"description": "Only return VerificationReports that were created during the given date interval.",
"explode": true,
Expand Down Expand Up @@ -77249,6 +77272,17 @@
"description": "<p>Returns a list of VerificationSessions</p>",
"operationId": "GetIdentityVerificationSessions",
"parameters": [
{
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"in": "query",
"name": "client_reference_id",
"required": false,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "form"
},
{
"description": "Only return VerificationSessions that were created during the given date interval.",
"explode": true,
Expand Down Expand Up @@ -77441,6 +77475,11 @@
"schema": {
"additionalProperties": false,
"properties": {
"client_reference_id": {
"description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.",
"maxLength": 5000,
"type": "string"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down
Loading

0 comments on commit 295cd3c

Please sign in to comment.