B1. Xác thực — Tài khoản cơ sở
Đăng nhập bằng tài khoản giao dịch cổ phiếu (sản phẩm cơ sở) và trả vềaccess_token, refresh_token, và otp_token.
POST /auth/gen-secret-key/underlying
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
access_token, refresh_token, và otp_token.
POST /auth/gen-secret-key/underlying
| Vị trí | Tên | Bắt buộc | Mô tả |
|---|---|---|---|
| body | username | Có | Tên đăng nhập tài khoản. Ví dụ: 022C099995 |
| body | password | Có | Mật khẩu tài khoản. Ví dụ: 123456aA@ |
curl -X POST "https://flashapi.phs.vn/sandbox/oapi/auth/gen-secret-key/underlying" \
-H "Content-Type: application/json" \
-d '{ "username": "<sandbox_username>", "password": "<sandbox_password>" }'
