Class VerificationSessionService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA VerificationSession object can be canceled when it is inrequires_input
status.cancel
(String session, RequestOptions options) A VerificationSession object can be canceled when it is inrequires_input
status.cancel
(String session, VerificationSessionCancelParams params) A VerificationSession object can be canceled when it is inrequires_input
status.cancel
(String session, VerificationSessionCancelParams params, RequestOptions options) A VerificationSession object can be canceled when it is inrequires_input
status.create()
Creates a VerificationSession object.create
(RequestOptions options) Creates a VerificationSession object.Creates a VerificationSession object.create
(VerificationSessionCreateParams params, RequestOptions options) Creates a VerificationSession object.list()
Returns a list of VerificationSessions.list
(RequestOptions options) Returns a list of VerificationSessions.list
(VerificationSessionListParams params) Returns a list of VerificationSessions.list
(VerificationSessionListParams params, RequestOptions options) Returns a list of VerificationSessions.Redact a VerificationSession to remove all collected information from Stripe.redact
(String session, RequestOptions options) Redact a VerificationSession to remove all collected information from Stripe.redact
(String session, VerificationSessionRedactParams params) Redact a VerificationSession to remove all collected information from Stripe.redact
(String session, VerificationSessionRedactParams params, RequestOptions options) Redact a VerificationSession to remove all collected information from Stripe.Retrieves the details of a VerificationSession that was previously created.retrieve
(String session, RequestOptions options) Retrieves the details of a VerificationSession that was previously created.retrieve
(String session, VerificationSessionRetrieveParams params) Retrieves the details of a VerificationSession that was previously created.retrieve
(String session, VerificationSessionRetrieveParams params, RequestOptions options) Retrieves the details of a VerificationSession that was previously created.Updates a VerificationSession object.update
(String session, RequestOptions options) Updates a VerificationSession object.update
(String session, VerificationSessionUpdateParams params) Updates a VerificationSession object.update
(String session, VerificationSessionUpdateParams params, RequestOptions options) Updates a VerificationSession object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
VerificationSessionService
-
-
Method Details
-
list
public StripeCollection<VerificationSession> list(VerificationSessionListParams params) throws StripeException Returns a list of VerificationSessions.- Throws:
StripeException
-
list
Returns a list of VerificationSessions.- Throws:
StripeException
-
list
Returns a list of VerificationSessions.- Throws:
StripeException
-
list
public StripeCollection<VerificationSession> list(VerificationSessionListParams params, RequestOptions options) throws StripeException Returns a list of VerificationSessions.- Throws:
StripeException
-
create
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.
- Throws:
StripeException
-
create
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.
- Throws:
StripeException
-
create
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.
- Throws:
StripeException
-
create
public VerificationSession create(VerificationSessionCreateParams params, RequestOptions options) throws StripeException 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.
- Throws:
StripeException
-
retrieve
public VerificationSession retrieve(String session, VerificationSessionRetrieveParams params) throws StripeException 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 validclient_secret
orurl
to allow re-submission.- Throws:
StripeException
-
retrieve
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 validclient_secret
orurl
to allow re-submission.- Throws:
StripeException
-
retrieve
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 validclient_secret
orurl
to allow re-submission.- Throws:
StripeException
-
retrieve
public VerificationSession retrieve(String session, VerificationSessionRetrieveParams params, RequestOptions options) throws StripeException 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 validclient_secret
orurl
to allow re-submission.- Throws:
StripeException
-
update
public VerificationSession update(String session, VerificationSessionUpdateParams params) throws StripeException Updates a VerificationSession object.When the session status is
requires_input
, you can use this method to update the verification check and options.- Throws:
StripeException
-
update
Updates a VerificationSession object.When the session status is
requires_input
, you can use this method to update the verification check and options.- Throws:
StripeException
-
update
Updates a VerificationSession object.When the session status is
requires_input
, you can use this method to update the verification check and options.- Throws:
StripeException
-
update
public VerificationSession update(String session, VerificationSessionUpdateParams params, RequestOptions options) throws StripeException Updates a VerificationSession object.When the session status is
requires_input
, you can use this method to update the verification check and options.- Throws:
StripeException
-
cancel
public VerificationSession cancel(String session, VerificationSessionCancelParams params) throws StripeException A VerificationSession object can be canceled when it is inrequires_input
status.Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.
- Throws:
StripeException
-
cancel
A VerificationSession object can be canceled when it is inrequires_input
status.Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.
- Throws:
StripeException
-
cancel
A VerificationSession object can be canceled when it is inrequires_input
status.Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.
- Throws:
StripeException
-
cancel
public VerificationSession cancel(String session, VerificationSessionCancelParams params, RequestOptions options) throws StripeException A VerificationSession object can be canceled when it is inrequires_input
status.Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.
- Throws:
StripeException
-
redact
public VerificationSession redact(String session, VerificationSessionRedactParams params) throws StripeException 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
orverified
status. Redacting a VerificationSession inrequires_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 toprocessing
; when the process is finished, it will change toredacted
and anidentity.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. Themetadata
field will also be erased. Redacted objects cannot be updated or used for any purpose.- Throws:
StripeException
-
redact
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
orverified
status. Redacting a VerificationSession inrequires_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 toprocessing
; when the process is finished, it will change toredacted
and anidentity.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. Themetadata
field will also be erased. Redacted objects cannot be updated or used for any purpose.- Throws:
StripeException
-
redact
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
orverified
status. Redacting a VerificationSession inrequires_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 toprocessing
; when the process is finished, it will change toredacted
and anidentity.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. Themetadata
field will also be erased. Redacted objects cannot be updated or used for any purpose.- Throws:
StripeException
-
redact
public VerificationSession redact(String session, VerificationSessionRedactParams params, RequestOptions options) throws StripeException 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
orverified
status. Redacting a VerificationSession inrequires_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 toprocessing
; when the process is finished, it will change toredacted
and anidentity.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. Themetadata
field will also be erased. Redacted objects cannot be updated or used for any purpose.- Throws:
StripeException
-