Email verification

Overview

Email verification confirms that a customer owns the email address on their account. It is a two-step flow: request a verification email, then verify the token from the link.


How It Works

  1. Request - Send the authenticated customer a one-time verification link by email.
  2. Customer clicks the link - The link carries a verification token.
  3. Verify - Submit the token to mark the email confirmed.

Example: After signup, prompt the customer to verify their email; once they click the link, your front end posts the token to confirm it.


API Endpoints

MethodEndpointDescription
GET/api/v1/sdk/customer/email/verifyRequest email verification
POST/api/v1/sdk/customer/email/verifyVerify email

Important Behaviors

  • Authentication: Requesting a verification email requires a bearer token; verifying the token is public (the token identifies the customer).
  • Pending memberships: Verifying an email activates any memberships that were pending email confirmation.
  • Already verified: Requesting verification for an already-verified email returns 404.
  • Throttled: Verification-email requests are rate-limited per customer.