Authentication
auth-requestOtp
Gửi yêu cầu lấy OTP (SMS/Email) phục vụ xác thực giao dịch. Chỉ sử dụng cho tài khoản có kiểu 2FA là SMS và Email.
Request Body
TypeScript Definitions
Use the request body type in TypeScript.
bodyobjectrequired
apiKeystringrequired
API key do SSI/FastConnect cấp.
apiSecretstringrequired
API secret tương ứng với `apiKey`.
Response Headers
X-RATELIMIT-LIMITstringoptional
Giới hạn số request trong chu kỳ.
X-RATELIMIT-REMAININGstringoptional
Số request còn lại trong chu kỳ hiện tại.
X-RATELIMIT-RESETstringoptional
Thời điểm reset giới hạn request.
Response Body
application/json
application/json
curl -X POST "https://api.ssi.com.vn/api/v3/auth/requestOtp" \ -H "Content-Type: application/json" \ -d '{ "apiKey": "string", "apiSecret": "string" }'Thành công.
{
"code": 0,
"msg": "Request OTP success"
}Request không hợp lệ.
{
"code": 400,
"msg": "apiKey is required"
}