class Stripe::IdentityApi
- Stripe::IdentityApi
- Reference
- Object
Defined in:
stripe/api/identity_api.crConstant Summary
-
GET_IDENTITY_VERIFICATION_REPORTS_MAX_LENGTH_FOR_CLIENT_REFERENCE_ID =
5000
-
GET_IDENTITY_VERIFICATION_REPORTS_MAX_LENGTH_FOR_ENDING_BEFORE =
5000
-
GET_IDENTITY_VERIFICATION_REPORTS_MAX_LENGTH_FOR_STARTING_AFTER =
5000
-
GET_IDENTITY_VERIFICATION_REPORTS_MAX_LENGTH_FOR_VERIFICATION_SESSION =
5000
-
GET_IDENTITY_VERIFICATION_REPORTS_REPORT_MAX_LENGTH_FOR_REPORT =
5000
-
GET_IDENTITY_VERIFICATION_REPORTS_VALID_VALUES_FOR__TYPE =
String.static_array("document", "id_number")
-
GET_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_CLIENT_REFERENCE_ID =
5000
-
GET_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_ENDING_BEFORE =
5000
-
GET_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_RELATED_CUSTOMER =
5000
-
GET_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_STARTING_AFTER =
5000
-
GET_IDENTITY_VERIFICATION_SESSIONS_SESSION_MAX_LENGTH_FOR_SESSION =
5000
-
GET_IDENTITY_VERIFICATION_SESSIONS_VALID_VALUES_FOR_STATUS =
String.static_array("canceled", "processing", "requires_input", "verified")
-
POST_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_CLIENT_REFERENCE_ID =
5000
-
POST_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_RELATED_CUSTOMER =
5000
-
POST_IDENTITY_VERIFICATION_SESSIONS_MAX_LENGTH_FOR_VERIFICATION_FLOW =
5000
-
POST_IDENTITY_VERIFICATION_SESSIONS_SESSION_CANCEL_MAX_LENGTH_FOR_SESSION =
5000
-
POST_IDENTITY_VERIFICATION_SESSIONS_SESSION_MAX_LENGTH_FOR_SESSION =
5000
-
POST_IDENTITY_VERIFICATION_SESSIONS_SESSION_REDACT_MAX_LENGTH_FOR_SESSION =
5000
-
POST_IDENTITY_VERIFICATION_SESSIONS_SESSION_VALID_VALUES_FOR__TYPE =
String.static_array("document", "id_number")
-
POST_IDENTITY_VERIFICATION_SESSIONS_VALID_VALUES_FOR__TYPE =
String.static_array("document", "id_number")
Constructors
Instance Method Summary
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_get_identity_verification_reports(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, verification_session : String | Nil = nil, _type : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_get_identity_verification_reports_report(*, report : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_get_identity_verification_sessions(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, related_customer : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_get_identity_verification_sessions_session(*, session : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_post_identity_verification_sessions(*, client_reference_id : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, related_customer : String | Nil = nil, return_url : String | Nil = nil, _type : String | Nil = nil, verification_flow : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_post_identity_verification_sessions_session(*, session : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, _type : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_post_identity_verification_sessions_session_cancel(*, session : String | Nil = nil, expand : Array(String) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_post_identity_verification_sessions_session_redact(*, session : String | Nil = nil, expand : Array(String) | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#get_identity_verification_reports(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, verification_session : String | Nil = nil, _type : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::GelatoVerificationReportList
List all verification reports.
@optional @param ending_before [String?] A cursor for use in pagination. -
#get_identity_verification_reports(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, verification_session : String | Nil = nil, _type : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>List all verification reports.</p> @optional @param ending_before [String?] A cursor for use in pagination.
-
#get_identity_verification_reports_report(*, report : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::IdentityVerificationReport
Retrieves an existing VerificationReport
@required @param report [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. -
#get_identity_verification_reports_report(*, report : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Retrieves an existing VerificationReport</p> @required @param report [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
-
#get_identity_verification_reports_report_with_http_info(*, report : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::IdentityVerificationReport, Int32, Hash(String, Array(String) | String))
<p>Retrieves an existing VerificationReport</p> @required @param report [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
-
#get_identity_verification_reports_with_http_info(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, verification_session : String | Nil = nil, _type : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::GelatoVerificationReportList, Int32, Hash(String, Array(String) | String))
<p>List all verification reports.</p> @optional @param ending_before [String?] A cursor for use in pagination.
-
#get_identity_verification_sessions(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, related_customer : String | Nil = nil) : Stripe::GelatoVerificationSessionList
Returns a list of VerificationSessions
@optional @param ending_before [String?] A cursor for use in pagination. -
#get_identity_verification_sessions(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, related_customer : String | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Returns a list of VerificationSessions</p> @optional @param ending_before [String?] A cursor for use in pagination.
-
#get_identity_verification_sessions_session(*, session : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::IdentityVerificationSession
Retrieves the details of a VerificationSession that was previously created.
When the session status is
@required @param session [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.requires_input
, you can use this method to retrieve a validclient_secret
orurl
to allow re-submission. -
#get_identity_verification_sessions_session(*, session : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Retrieves the details of a VerificationSession that was previously created.</p> <p>When the session status is <code>requires_input</code>, you can use this method to retrieve a valid <code>client_secret</code> or <code>url</code> to allow re-submission.</p> @required @param session [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
-
#get_identity_verification_sessions_session_with_http_info(*, session : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::IdentityVerificationSession, Int32, Hash(String, Array(String) | String))
<p>Retrieves the details of a VerificationSession that was previously created.</p> <p>When the session status is <code>requires_input</code>, you can use this method to retrieve a valid <code>client_secret</code> or <code>url</code> to allow re-submission.</p> @required @param session [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
-
#get_identity_verification_sessions_with_http_info(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, client_reference_id : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, related_customer : String | Nil = nil) : Tuple(Stripe::GelatoVerificationSessionList, Int32, Hash(String, Array(String) | String))
<p>Returns a list of VerificationSessions</p> @optional @param ending_before [String?] A cursor for use in pagination.
-
#post_identity_verification_sessions(*, client_reference_id : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, related_customer : String | Nil = nil, return_url : String | Nil = nil, _type : String | Nil = nil, verification_flow : String | Nil = nil) : Stripe::IdentityVerificationSession
Creates a VerificationSession object.
After the VerificationSession is created, display a verification modal using the session
client_secret
or send your users to the session’surl
.If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.
Related guide: Verify your users’ identity documents
@optional @param client_reference_id [String?] A string to reference this user. -
#post_identity_verification_sessions(*, client_reference_id : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, related_customer : String | Nil = nil, return_url : String | Nil = nil, _type : String | Nil = nil, verification_flow : String | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Creates a VerificationSession object.</p> <p>After the VerificationSession is created, display a verification modal using the session <code>client_secret</code> or send your users to the session’s <code>url</code>.</p> <p>If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.</p> <p>Related guide: <a href="/docs/identity/verify-identity-documents">Verify your users’ identity documents</a></p> @optional @param client_reference_id [String?] A string to reference this user.
-
#post_identity_verification_sessions_session(*, session : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, _type : String | Nil = nil) : Stripe::IdentityVerificationSession
Updates a VerificationSession object.
When the session status is
@required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded.requires_input
, you can use this method to update the verification check and options. -
#post_identity_verification_sessions_session(*, session : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, _type : String | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Updates a VerificationSession object.</p> <p>When the session status is <code>requires_input</code>, you can use this method to update the verification check and options.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded.
-
#post_identity_verification_sessions_session_cancel(*, session : String | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::IdentityVerificationSession
A VerificationSession object can be canceled when it is in
requires_input
status.Once canceled, future submission attempts are disabled.
-
#post_identity_verification_sessions_session_cancel(*, session : String | Nil = nil, expand : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p> <p>Once canceled, future submission attempts are disabled.
-
#post_identity_verification_sessions_session_cancel_with_http_info(*, session : String | Nil = nil, expand : Array(String) | Nil = nil) : Tuple(Stripe::IdentityVerificationSession, Int32, Hash(String, Array(String) | String))
<p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p> <p>Once canceled, future submission attempts are disabled.
-
#post_identity_verification_sessions_session_redact(*, session : String | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::IdentityVerificationSession
Redact a VerificationSession to remove all collected information from Stripe.
-
#post_identity_verification_sessions_session_redact(*, session : String | Nil = nil, expand : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Redact a VerificationSession to remove all collected information from Stripe.
-
#post_identity_verification_sessions_session_redact_with_http_info(*, session : String | Nil = nil, expand : Array(String) | Nil = nil) : Tuple(Stripe::IdentityVerificationSession, Int32, Hash(String, Array(String) | String))
<p>Redact a VerificationSession to remove all collected information from Stripe.
-
#post_identity_verification_sessions_session_with_http_info(*, session : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, _type : String | Nil = nil) : Tuple(Stripe::IdentityVerificationSession, Int32, Hash(String, Array(String) | String))
<p>Updates a VerificationSession object.</p> <p>When the session status is <code>requires_input</code>, you can use this method to update the verification check and options.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded.
-
#post_identity_verification_sessions_with_http_info(*, client_reference_id : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, options : Stripe::SessionOptionsParam | Nil = nil, provided_details : Stripe::ProvidedDetailsParam | Nil = nil, related_customer : String | Nil = nil, return_url : String | Nil = nil, _type : String | Nil = nil, verification_flow : String | Nil = nil) : Tuple(Stripe::IdentityVerificationSession, Int32, Hash(String, Array(String) | String))
<p>Creates a VerificationSession object.</p> <p>After the VerificationSession is created, display a verification modal using the session <code>client_secret</code> or send your users to the session’s <code>url</code>.</p> <p>If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.</p> <p>Related guide: <a href="/docs/identity/verify-identity-documents">Verify your users’ identity documents</a></p> @optional @param client_reference_id [String?] A string to reference this user.
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
List all verification reports.
@optional @param ending_before [String?] 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. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param client_reference_id [String?] 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. @optional @param verification_session [String?] Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID. @optional @param _type [String?] Only return VerificationReports of this type @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return VerificationReports that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::GelatoVerificationReportList]<p>List all verification reports.</p>
@optional @param ending_before [String?] 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.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param client_reference_id [String?] 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.
@optional @param verification_session [String?] Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.
@optional @param _type [String?] Only return VerificationReports of this type
@optional @param created [Stripe::GetAccountsCreatedParameter?] Only return VerificationReports that were created during the given date interval.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return nil
Retrieves an existing VerificationReport
@required @param report [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::IdentityVerificationReport]<p>Retrieves an existing VerificationReport</p> @required @param report [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil
<p>Retrieves an existing VerificationReport</p> @required @param report [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::IdentityVerificationReport, Integer, Hash)] Stripe::IdentityVerificationReport, response status code and response headers
<p>List all verification reports.</p>
@optional @param ending_before [String?] 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.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param client_reference_id [String?] 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.
@optional @param verification_session [String?] Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.
@optional @param _type [String?] Only return VerificationReports of this type
@optional @param created [Stripe::GetAccountsCreatedParameter?] Only return VerificationReports that were created during the given date interval.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return [Tuple(Stripe::GelatoVerificationReportList, Integer, Hash)] Stripe::GelatoVerificationReportList, response status code and response headers
Retrieves the details of a VerificationSession that was previously created.
When the session status is requires_input
, you can use this method to retrieve a valid client_secret
or url
to allow re-submission.
<p>Retrieves the details of a VerificationSession that was previously created.</p> <p>When the session status is <code>requires_input</code>, you can use this method to retrieve a valid <code>client_secret</code> or <code>url</code> to allow re-submission.</p> @required @param session [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil
<p>Retrieves the details of a VerificationSession that was previously created.</p> <p>When the session status is <code>requires_input</code>, you can use this method to retrieve a valid <code>client_secret</code> or <code>url</code> to allow re-submission.</p> @required @param session [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::IdentityVerificationSession, Integer, Hash)] Stripe::IdentityVerificationSession, response status code and response headers
Updates a VerificationSession object.
When the session status is requires_input
, you can use this method to update the verification check and options.
<p>Updates a VerificationSession object.</p> <p>When the session status is <code>requires_input</code>, you can use this method to update the verification check and options.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param options [Stripe::SessionOptionsParam?] @optional @param provided_details [Stripe::ProvidedDetailsParam?] @optional @param _type [String?] The type of verification check to be performed. @return nil
A VerificationSession object can be canceled when it is in requires_input
status.
Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.
@required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::IdentityVerificationSession]<p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p> <p>Once canceled, future submission attempts are disabled. This cannot be undone. <a href="/docs/identity/verification-sessions#cancel">Learn more</a>.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil
<p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p> <p>Once canceled, future submission attempts are disabled. This cannot be undone. <a href="/docs/identity/verification-sessions#cancel">Learn more</a>.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::IdentityVerificationSession, Integer, Hash)] Stripe::IdentityVerificationSession, response status code and response headers
Redact a VerificationSession to remove all collected information from Stripe. This will redact the VerificationSession and all objects related to it, including VerificationReports, Events, request logs, etc.
A VerificationSession object can be redacted when it is in requires_input
or verified
status. Redacting a VerificationSession in requires_action
state will automatically cancel it.
The redaction process may take up to four days. When the redaction process is in progress, the VerificationSession’s redaction.status
field will be set to processing
; when the process is finished, it will change to redacted
and an identity.verification_session.redacted
event will be emitted.
Redaction is irreversible. Redacted objects are still accessible in the Stripe API, but all the fields that contain personal data will be replaced by the string [redacted]
or a similar placeholder. The metadata
field will also be erased. Redacted objects cannot be updated or used for any purpose.
<p>Redact a VerificationSession to remove all collected information from Stripe. This will redact the VerificationSession and all objects related to it, including VerificationReports, Events, request logs, etc.</p> <p>A VerificationSession object can be redacted when it is in <code>requires_input</code> or <code>verified</code> <a href="/docs/identity/how-sessions-work">status</a>. Redacting a VerificationSession in <code>requires_action</code> state will automatically cancel it.</p> <p>The redaction process may take up to four days. When the redaction process is in progress, the VerificationSession’s <code>redaction.status</code> field will be set to <code>processing</code>; when the process is finished, it will change to <code>redacted</code> and an <code>identity.verification_session.redacted</code> event will be emitted.</p> <p>Redaction is irreversible. Redacted objects are still accessible in the Stripe API, but all the fields that contain personal data will be replaced by the string <code>[redacted]</code> or a similar placeholder. The <code>metadata</code> field will also be erased. Redacted objects cannot be updated or used for any purpose.</p> <p><a href="/docs/identity/verification-sessions#redact">Learn more</a>.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil
<p>Redact a VerificationSession to remove all collected information from Stripe. This will redact the VerificationSession and all objects related to it, including VerificationReports, Events, request logs, etc.</p> <p>A VerificationSession object can be redacted when it is in <code>requires_input</code> or <code>verified</code> <a href="/docs/identity/how-sessions-work">status</a>. Redacting a VerificationSession in <code>requires_action</code> state will automatically cancel it.</p> <p>The redaction process may take up to four days. When the redaction process is in progress, the VerificationSession’s <code>redaction.status</code> field will be set to <code>processing</code>; when the process is finished, it will change to <code>redacted</code> and an <code>identity.verification_session.redacted</code> event will be emitted.</p> <p>Redaction is irreversible. Redacted objects are still accessible in the Stripe API, but all the fields that contain personal data will be replaced by the string <code>[redacted]</code> or a similar placeholder. The <code>metadata</code> field will also be erased. Redacted objects cannot be updated or used for any purpose.</p> <p><a href="/docs/identity/verification-sessions#redact">Learn more</a>.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::IdentityVerificationSession, Integer, Hash)] Stripe::IdentityVerificationSession, response status code and response headers
<p>Updates a VerificationSession object.</p> <p>When the session status is <code>requires_input</code>, you can use this method to update the verification check and options.</p> @required @param session [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param options [Stripe::SessionOptionsParam?] @optional @param provided_details [Stripe::ProvidedDetailsParam?] @optional @param _type [String?] The type of verification check to be performed. @return [Tuple(Stripe::IdentityVerificationSession, Integer, Hash)] Stripe::IdentityVerificationSession, response status code and response headers