Đăng nhập lấy token
POST /<provider>/sign-in
API dùng để xác thực và lấy token truy cập cho các yêu cầu tiếp theo.
Headers
| Name | Required | Description |
|---|---|---|
Content-Type | ✅ | application/json |
X-Tax-Code | ✅ | Mã số thuế người bán (cửa hàng...) |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | ✅ | Tên đăng nhập |
password | string | ✅ | Mật khẩu |