Public API#
Các endpoint công khai, không cần xác thực.
Base URL: https://apitest.likepion.com
GET /health #
Response:
{"status": "ok", "version": "1.0.0"}GET /qr-info #
Response:
{
"success": true,
"data": {
"qr_api_url": "https://maxqr.scapbot.net",
"bank_bin": "970436",
"bank_account": "1234567890",
"account_name": "NGUYEN VAN A"
}
}CMS Read-only#
Base: /api/v1
GET /tools #
Query: page, limit, search
Response:
{
"success": true,
"data": [
{
"id": "uuid",
"name": "SEO Tool",
"slug": "seo-tool",
"description": "...",
"icon": "https://...",
"sort_order": 1,
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
],
"total": 10,
"page": 1,
"limit": 20
}GET /tools/:slug #
Trả về 1 tool theo slug.
GET /pages #
Query: page, limit, search
Response item: id, title, slug, content, meta_title, meta_description, sort_order, created_at, updated_at
GET /pages/:slug #
GET /case-studies #
Query: page, limit, search
Response item: id, title, slug, description, content, image, sort_order, created_at, updated_at
GET /case-studies/:slug #
GET /gallery #
Query: page, limit, search, type
Response item: id, url, name, size, type, created_at
GET /api/v1/packages — Gói nạp tiền #
Response:
{
"success": true,
"data": [
{
"id": "uuid",
"name": "Basic",
"slug": "basic",
"description": "Gói cơ bản",
"price": 100000,
"credits": 500,
"duration_days": 30,
"features": ["Feature 1", "Feature 2"],
"type": "monthly",
"is_popular": false,
"sort_order": 1
}
]
}POST /api/v1/webhook/payment — Webhook thanh toán #
Xác thực bằng HMAC signature, không cần API key.