expiresAt in the response — if the code has expired before the customer submits it, call this endpoint again to send a new one.
Endpoint
Authentication
All requests must include a Bearer token in theAuthorization header.
Path parameters
The ID of the customer to send the verification code to.
Request parameters
The contact channel to send the OTP to.Accepted values:
"email" | "phone"Response fields
The ID of the customer the OTP was sent to.
ISO 8601 timestamp indicating when the OTP expires. Send a new code if the customer has not verified before this time.