Billing
Invoices, estimates, balance, top-ups and payments.
Every route is called through the gateway https://api.tino.vn/v1 with Authorization: Bearer <token>; see Calling the Tino API.
Invoices & payments
| Method | Path | Name | Scope |
|---|---|---|---|
GET | /v1/addfunds | Top-up information | billing:read |
POST | /v1/addfunds | Top up | billing:write |
GET | /v1/balance | Account balance | billing:read |
GET | /v1/billing/@invoice_id/pay/@gateway_id | Invoice payment link | billing:write |
POST | /v1/billing/addfunds | Top up (billing) | billing:write |
GET | /v1/billing/creditlogs | Credit balance history | billing:read |
POST | /v1/billing/creditvoucher | Redeem top-up code | billing:write |
GET | /v1/estimate/@id/pdf | Download estimate PDF | billing:read |
GET | /v1/estimates | List estimates | billing:read |
GET | /v1/estimates/@id | Estimate details | billing:read |
GET | /v1/invoice | List invoices | billing:read |
GET | /v1/invoice/@id | Invoice details | billing:read |
DELETE | /v1/invoice/@id | Delete invoice | billing:write |
POST | /v1/invoice/@id/credit | Pay invoice with balance | billing:write |
GET | /v1/invoice/@id/pdf | Download invoice PDF | billing:read |
GET | /v1/invoices | List invoices (paginated) | billing:read |
GET | /v1/invoices/due | Due invoices | billing:read |
POST | /v1/invoices/payall | Pay invoices together | billing:write |
GET | /v1/payment | Payment methods | billing:read |
GET | /v1/payment/fees | Payment method fees | billing:read |
Orders
| Method | Path | Name | Scope |
|---|---|---|---|
POST | /v1/carts | Create a cart | orders:write |
GET | /v1/carts/@uuid | Get a cart | orders:write |
PUT | /v1/carts/@uuid | Update a cart | orders:write |
POST | /v1/carts/@uuid/confirm | Place the order from a cart | orders:write |
GET | /v1/carts/latest | Latest cart | orders:write |
POST | /v1/order | Order several services | orders:write |
POST | /v1/order/@product_id | Order one service | orders:write |
POST | /v1/quote | Get an order quote | orders:write |