v1

latestOpenAPI 3.0.02026-07-224537337.5 KB

Verify Verification Code

Verify an OTP code for customer's contact information.

post/v2/customer/{id}/otp-verify

Path parameters

idstring required
Example:customer_f31121c389624d3697cbf3ea8830b7a4

Customer ID

Request body

type'phone' | 'email' required

Type of verification code

codestring required

Verification code

Example request

{
  "type": "email",
  "code": "123456"
}

Response

customerIdstring required

Customer ID

verifiedAtstring required

ISO 8601 formatted date and time of the verification code verification

Example response

{
  "customerId": "customer_f31121c389624d3697cbf3ea8830b7a4",
  "verifiedAt": "2026-03-09T20:46:31.305Z"
}