API Voice OTP
Dịch vụ gọi thoại đến khách hàng để cung cấp mật khẩu sử dụng một lần. Với mục đích xác thực giao dịch trực tuyến.
const ACCESS_TOKEN = jwt.sign({ apiKey: API_KEY, otpCode: OTP_CODE }, API_SECRET);
ACCESS_TOKEN = jwt.encode({ apiKey: API_KEY, otpCode: OTP_CODE }, API_SECRET)
String ACCESS_TOKEN = JWT.create()
.withClaim("apiKey", API_KEY)
.withClaim("otpCode", OTP_CODE)
.withIssuedAt(new Date(currentTimeMillis)) // Include "iat" claim
.sign(algorithm);$ACCESS_TOKEN = JWT::encode([ "apiKey" => $API_KEY, "otpCode" => $OTP_CODE ], $API_SECRET, 'HS256');Thực hiện cuộc gọi xác thực OTP
Headers
Name
Type
Description
Request Body
Name
Type
Description
Mã giọng
Vùng miền
Giới tính
Code
Mesage
Ý nghĩa
Last updated