Authenticate
"Authenticate" means "Let the user enter their 2FA code to Stripe, and tell me if they authenticated correctly"
Request
POST to the following URL
Include:
The `client_secret` you received in step 1 (lookup).
The `email` of the consumer.
The six-digit code they have entered.
Response
If six-digit code is correct
We'll return a user object along with `authenticationSuccessful: true`
If you've been pre-approved, and if the user has such information saved, the user object may be enhanced with additional information:
If the six-digit code is not correct:
We'll return `authenticationSuccessful: false`
along with an an error message.
Last updated