Billing
Hoá đơn, báo giá, số dư, nạp tiền và thanh toán.
Mọi route gọi qua gateway https://api.tino.vn/v1 với Authorization: Bearer <token>; xem Gọi API Tino.
Hoá đơn & thanh toán
| Method | Đường dẫn | Tên | Quyền |
|---|---|---|---|
GET | /v1/addfunds | Thông tin nạp tiền | billing:read |
POST | /v1/addfunds | Nạp tiền | billing:write |
GET | /v1/balance | Số dư tài khoản | billing:read |
GET | /v1/billing/@invoice_id/pay/@gateway_id | Link thanh toán hoá đơn | billing:write |
POST | /v1/billing/addfunds | Nạp tiền (billing) | billing:write |
GET | /v1/billing/creditlogs | Lịch sử số dư tín dụng | billing:read |
POST | /v1/billing/creditvoucher | Dùng mã nạp tiền | billing:write |
GET | /v1/estimate/@id/pdf | Tải PDF báo giá | billing:read |
GET | /v1/estimates | Danh sách báo giá | billing:read |
GET | /v1/estimates/@id | Chi tiết báo giá | billing:read |
GET | /v1/invoice | Danh sách hoá đơn | billing:read |
GET | /v1/invoice/@id | Chi tiết hoá đơn | billing:read |
DELETE | /v1/invoice/@id | Xoá hoá đơn | billing:write |
POST | /v1/invoice/@id/credit | Trả hoá đơn bằng số dư | billing:write |
GET | /v1/invoice/@id/pdf | Tải PDF hoá đơn | billing:read |
GET | /v1/invoices | Danh sách hoá đơn (phân trang) | billing:read |
GET | /v1/invoices/due | Hoá đơn đến hạn | billing:read |
POST | /v1/invoices/payall | Thanh toán gộp hoá đơn | billing:write |
GET | /v1/payment | Phương thức thanh toán | billing:read |
GET | /v1/payment/fees | Phí phương thức thanh toán | billing:read |
Đặt hàng
| Method | Đường dẫn | Tên | Quyền |
|---|---|---|---|
POST | /v1/carts | Tạo giỏ hàng | orders:write |
GET | /v1/carts/@uuid | Xem giỏ hàng | orders:write |
PUT | /v1/carts/@uuid | Sửa giỏ hàng | orders:write |
POST | /v1/carts/@uuid/confirm | Chốt đơn từ giỏ | orders:write |
GET | /v1/carts/latest | Giỏ hàng gần nhất | orders:write |
POST | /v1/order | Đặt mua nhiều dịch vụ | orders:write |
POST | /v1/order/@product_id | Đặt mua một dịch vụ | orders:write |
POST | /v1/quote | Báo giá đơn hàng | orders:write |