The Verify Email Verification Code API can be used to verify that a verification code entered by a user matches the code that was sent to them from the send email verification code process. This step only needs to be completed once for a user account. The
isEmailNotVerified response header field will be updated (within the x-digifi-account JSON base64 string) permanently once their email is verified.
Please note the following validations:
- The accountAccessToken should be valid (real, not expired)
- One attempt only. If the first attempt fails the code will be deleted and you will need to use the Send Email Verification Code API again
- Email verification should be incomplete (not passed)
This API uses only headers (no JSON body is required).