---
title: "Yêu cầu gửi OTP đặt lệnh"
method: POST
path: "/v2/broker-users/{userId}/accounts/{accountId}/orders/otp"
tags: ["OrdersV2"]
---

# Yêu cầu gửi OTP đặt lệnh

`POST /v2/broker-users/{userId}/accounts/{accountId}/orders/otp`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/v2/broker-users/{userId}/accounts/{accountId}/orders/otp`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `orders-write`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/v2/broker-users/:userId/accounts/:accountId/orders/otp/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userId` integer, required
- `accountId` string, required

## Response `200`

Thành công

- boolean

## Other responses

- `400`: Có lỗi khi thực hiện thao tác
- `403`: Lỗi kết nối tài khoản liên kết tại công ty chứng khoán. Cần liên kết lại tài khoản giao dịch
- `404`: User không tồn tại

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
