Tài liệu API
Tạo các trang trắng, theo dõi tiến trình và tải xuống các tập tin từ mã của bạn, từ công cụ không cần mã, hoặc đơn giản bằng cách hỏi trợ lý AI. Mỗi yêu cầu là JSON qua HTTPS.
Cách nó hoạt động
Ba bước, bất kể bạn kết nối như thế nào:
- Tạo một khóa API Đăng nhập, mở phần khóa API trên bảng điều khiển và tạo một khóa. Nó hoạt động như mật khẩu cho tài khoản của bạn, vì vậy hãy giữ nó riêng tư.
- Yêu cầu một trang web Gửi tiêu đề và ngôn ngữ, và nếu bạn thích chủ đề, đối tượng và từ khóa. Giá tạo sẽ được trừ vào số dư của bạn và trang web bắt đầu được xây dựng.
- Thu thập trang web của bạn Nó thường sẵn sàng trong vài phút. Kiểm tra trạng thái, hoặc cho phép chúng tôi gọi URL của bạn khi hoàn thành, sau đó xem trước, chỉnh sửa và tải xuống các tập tin.
Chọn cách bạn kết nối
- Tôi sử dụng một trợ lý AI Claude, ChatGPT, Cursor và những trợ lý khác có thể tạo và theo dõi các trang web cho bạn.
- Tôi viết mã Ba cuộc gọi REST, với ví dụ bằng curl, PHP, Node.js và Python.
- Tôi sử dụng công cụ không cần mã Bất cứ thứ gì có thể gửi yêu cầu HTTP, chẳng hạn như Zapier, Make hoặc n8n, đều có thể chạy cùng ba cuộc gọi đó.
Các công cụ không mã: bất cứ thứ gì có thể gửi yêu cầu HTTP (Zapier, Make, n8n, một tập lệnh bảng tính) đều có thể chạy các cuộc gọi giống nhau. POST /sites bắt đầu một trang; GET /sites/{uuid} theo lịch trình, hoặc một callback_url, sẽ báo cho bạn khi nó hoàn thành. Đặt khóa API trong phần header Authorization.
Các thuật ngữ chính
- Trang web
- Một trang web được tạo ra với tất cả các trang của nó. Nó được xác định bằng một uuid.
- Trạng thái
- đang chờ trong khi xây dựng, hoàn thành khi sẵn sàng, lỗi nếu thất bại. Một trang web thất bại sẽ được hoàn tiền tự động.
- Khóa API
- Một chuỗi bí mật chứng minh rằng yêu cầu đến từ tài khoản của bạn. Tạo và thu hồi khóa trong bảng điều khiển.
- Số dư
- Tiền trả trước trong tài khoản của bạn. Tạo một trang web sẽ giữ giá tạo từ số tiền này.
- Gọi lại
- Một URL của bạn mà chúng tôi gọi một lần khi một trang web hoàn thành, vì vậy bạn không phải liên tục kiểm tra.
- Khóa idempotency
- Một nhãn bạn đính kèm vào một yêu cầu để gửi hai lần cũng không tạo ra hoặc tính phí cho hai trang web.
Sử dụng nó với trợ lý AI
Kết nối một trợ lý AI và đơn giản hỏi: "Tạo một trang web cho phòng khám nha khoa của tôi, bằng tiếng Thổ Nhĩ Kỳ." Trợ lý gọi API giống nhau dưới tài khoản của bạn. Bạn vẫn kiểm soát: tạo một trang web sẽ tốn số dư, và các trợ lý tốt sẽ hỏi bạn trước khi làm điều đó.
Những điều bạn có thể nói
- Tôi còn bao nhiêu số dư và giá một trang web là bao nhiêu?
- Những bộ thiết kế nào phù hợp cho tiệm bánh?
- Tạo một trang web một trang cho Alder House, một nhà nghỉ yên tĩnh ở cảng, bằng tiếng Anh.
- Trang web của tôi đã sẵn sàng chưa? Gửi cho tôi liên kết xem trước.
Kết nối qua MCP (Claude, Cursor và nhiều hơn nữa)
MCP là tiêu chuẩn mở mà các trợ lý sử dụng để gọi các công cụ bên ngoài. Hướng trợ lý của bạn đến URL MCP và cung cấp khóa API của bạn làm token Bearer.
Claude Code
bash
claude mcp add --transport http whitepagekit https://whitepagekit.com/api/v1/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"whitepagekit": {
"url": "https://whitepagekit.com/api/v1/mcp",
"headers": {
"Authorization": "Bearer ${env:WPK_API_KEY}"
}
}
}
}Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"whitepagekit": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://whitepagekit.com/api/v1/mcp",
"--header", "Authorization:${WPK_AUTH}"],
"env": { "WPK_AUTH": "Bearer YOUR_API_KEY" }
}
}
}JSON-RPC thô
curl
curl -X POST https://whitepagekit.com/api/v1/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_account","arguments":{}}}'Claude Desktop truy cập các máy chủ từ xa thông qua cầu nối mcp-remote, điều này cần Node.js.
ChatGPT (GPT tùy chỉnh)
- Trong ChatGPT, tạo một GPT, mở Cấu hình và chọn Tạo hành động mới.
- Chọn Nhập từ URL và dán https://whitepagekit.com/api/v1/openapi.json?profile=assistant. Lược đồ này đã được rút gọn chỉ chứa sáu công cụ trợ lý.
- Dưới phần Xác thực, chọn khóa API, đặt Loại Xác thực thành Bearer và dán khóa API của bạn.
- ChatGPT yêu cầu bạn xác nhận các yêu cầu thay đổi điều gì đó, để bạn luôn kiểm soát mọi thứ liên quan đến chi phí cân bằng.
Schema URL
https://whitepagekit.com/api/v1/openapi.json?profile=assistantAPI OpenAI (công cụ MCP)
API Responses có thể sử dụng URL MCP như một công cụ từ xa. require_approval giữ người kiểm duyệt trong quá trình.
Python
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="YOUR_MODEL",
tools=[{
"type": "mcp",
"server_label": "whitepagekit",
"server_url": "https://whitepagekit.com/api/v1/mcp",
"headers": {"Authorization": "Bearer YOUR_API_KEY"},
"require_approval": "always",
}],
input="What does one site cost, and which design kits suit a bakery?",
)
print(response.output_text)Vòng lặp công cụ của riêng bạn (gọi hàm)
Nếu bạn tự chạy vòng lặp mô hình, hãy lấy các lược đồ công cụ có sẵn và chạy từng lần gọi công cụ với điểm cuối REST phù hợp. Định dạng: openai (API Responses), openai-chat, anthropic và mcp.
curl
curl "https://whitepagekit.com/api/v1/ai-tools?format=openai" # or openai-chat, anthropic, mcpSáu công cụ
| Công cụ | Nó làm gì | Cuộc gọi REST | Chi phí |
|---|---|---|---|
get_account |
Hiển thị số dư của bạn và chi phí cho một trang web. | GET /me |
Miễn phí |
list_languages |
Liệt kê các ngôn ngữ mà một trang web có thể được viết bằng. | GET /languages |
Miễn phí |
list_themes |
Tìm kiếm các bộ thiết kế theo chủ đề hoặc phong cách. | GET /themes |
Miễn phí |
create_site |
Bắt đầu tạo một trang web và trừ giá tạo khỏi số dư của bạn. | POST /sites |
Sử dụng số dư |
get_site |
Hiển thị một trang web: tiến trình, liên kết xem trước và liên kết tải xuống. | GET /sites/{uuid} |
Miễn phí |
list_sites |
Liệt kê các trang web của bạn, mới nhất trước. | GET /sites |
Miễn phí |
Cung cấp tài liệu này cho bất kỳ AI nào
Trang này cũng có sẵn dưới dạng Markdown thuần, lý tưởng để dán vào trò chuyện hoặc đưa cho trợ lý lập trình:
Markdown
https://whitepagekit.com/api/v1/docs.mdMột lời nhắc mà bạn có thể dán
Prompt
You can build websites with the White Page Kit API. Read https://whitepagekit.com/api/v1/docs.md first.
My API key is in the environment variable WPK_API_KEY.
Check my balance and the price, then create a site for my dental clinic in Izmir, in Turkish,
wait until it is ready and send me the preview link.An toàn và chi phí
- Chỉ create_site mới tiêu tốn số dư. Năm công cụ còn lại chỉ đọc.
- Sử dụng một khóa riêng cho các trợ lý. Đặt ngày hết hạn và giới hạn tần suất trong bảng điều khiển, và thu hồi bất kỳ lúc nào.
- Các trợ lý không thể xóa trang web, thay đổi cài đặt hoặc can thiệp vào thanh toán: các tuyến đó không được mở dưới dạng công cụ.
- Đặt idempotency_key trên create_site để thử lại không bị tính phí hai lần. Các lần tạo thất bại được hoàn tiền.
- Chỉnh sửa trang, hình ảnh tham khảo và tải xuống ZIP vẫn được giữ trong REST API và bảng điều khiển.
Bắt đầu nhanh
Ba lần gọi sẽ đưa bạn từ bản tóm tắt đến một trang web có thể tải xuống. Thay YOUR_API_KEY bằng một khóa từ bảng điều khiển.
1. Bắt đầu tạo
POST /sites xác thực bản tóm tắt của bạn, giữ lại giá tạo từ số dư của bạn và trả về ngay lập tức.
curl
curl -X POST https://whitepagekit.com/api/v1/sites \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042-attempt-1" \
-d '{"title":"Alder House","lang":"en","sector":"guesthouse","keywords":"quiet stay, harbour","structure":"onepage"}'Phản hồi là 202 Được chấp nhận với trang web mới:
202 Accepted
{
"success": true,
"data": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending",
"title": "Alder House",
"lang": "en",
"preview_url": null,
"download_url": null
}
}2. Kiểm tra trạng thái
Poll GET /sites/{uuid} khoảng mỗi 5–20 giây cho đến khi trạng thái là xong hoặc lỗi, hoặc sử dụng URL callback thay vì polling.
curl
curl https://whitepagekit.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000 \
-H "X-API-Key: YOUR_API_KEY"3. Tải các tập tin xuống
Một trang hoàn thành tải xuống dưới dạng ZIP. Định dạng là multi hoặc onepage; tài nguyên là inline hoặc external.
curl
curl -o site.zip \
-H "X-API-Key: YOUR_API_KEY" \
"https://whitepagekit.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000/download?format=multi&assets=inline"Quy trình tương tự trong mã
PHP
<?php
$ch = curl_init('https://whitepagekit.com/api/v1/sites');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('WPK_API_KEY'),
'Content-Type: application/json',
'Idempotency-Key: order-1042-attempt-1',
],
CURLOPT_POSTFIELDS => json_encode(['title' => 'Alder House', 'lang' => 'en']),
]);
$site = json_decode(curl_exec($ch), true)['data'];
do {
sleep(5);
$ch = curl_init('https://whitepagekit.com/api/v1/sites/' . $site['uuid']);
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-API-Key: ' . getenv('WPK_API_KEY')]]);
$site = json_decode(curl_exec($ch), true)['data'];
} while ($site['status'] === 'pending');Node.js
const headers = {
Authorization: `Bearer ${process.env.WPK_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': 'order-1042-attempt-1',
};
let { data: site } = await (await fetch('https://whitepagekit.com/api/v1/sites', {
method: 'POST', headers,
body: JSON.stringify({ title: 'Alder House', lang: 'en' }),
})).json();
while (site.status === 'pending') {
await new Promise((r) => setTimeout(r, 5000));
({ data: site } = await (await fetch(`https://whitepagekit.com/api/v1/sites/${site.uuid}`, { headers })).json());
}Python
import os, time, requests
headers = {"Authorization": f"Bearer {os.environ['WPK_API_KEY']}",
"Idempotency-Key": "order-1042-attempt-1"}
site = requests.post("https://whitepagekit.com/api/v1/sites", headers=headers,
json={"title": "Alder House", "lang": "en"}).json()["data"]
while site["status"] == "pending":
time.sleep(5)
site = requests.get(f"https://whitepagekit.com/api/v1/sites/{site['uuid']}", headers=headers).json()["data"]Xác thực
Gửi khóa API với mỗi yêu cầu ngoại trừ tài liệu OpenAPI. Giữ khóa trên máy chủ của bạn; không bao giờ đặt chúng trong mã trình duyệt hoặc URL.
- Header: Authorization: Bearer YOUR_API_KEY, hoặc X-API-Key: YOUR_API_KEY.
- Tạo, thu hồi và giới hạn tốc độ khóa trong bảng điều khiển. Khóa có thể có ngày hết hạn và danh sách cho phép IP.
- Bạn chỉ thấy các trang của chính mình. Một trang thuộc sở hữu của tài khoản khác trả về 404 not_found.
- Thêm ?lang=xx hoặc Accept-Language để bản địa hóa thông báo lỗi.
Tính nhất quán trạng thái
Gửi Idempotency-Key (8–80 ký tự: chữ cái, chữ số, _ và -) trên POST /sites. Việc lặp lại cùng một khóa trả về trang ban đầu và không bao giờ tính phí lần hai, vì vậy việc thử lại sau khi timeout là an toàn. Sử dụng một khóa mới để thử lại khi tạo thất bại.
Webhook (callback)
Truyền callback_url tới POST /sites (hoặc đặt webhook tài khoản) và nhận một POST JSON khi công việc hoàn thành (site.completed) hoặc thất bại (site.failed).
POST callback_url
{
"event": "site.completed",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"status": "done",
"site_title": "Alder House",
"lang": "en",
"domain": null,
"created_at": "2026-01-15T09:30:00+00:00",
"preview_url": "https://whitepagekit.com/preview?uuid=550e8400-…"
}Khi tài khoản có bí mật webhook, mỗi yêu cầu mang X-Webhook-Signature: sha256=<hex>, một HMAC-SHA256 của thân thô. Xác minh nó trước khi phân tích JSON, sử dụng so sánh thời gian cố định:
PHP
$raw = file_get_contents('php://input');
$expected = 'sha256=' . hash_hmac('sha256', $raw, $webhookSecret);
if (!hash_equals($expected, $_SERVER['HTTP_X_WEBHOOK_SIGNATURE'] ?? '')) {
http_response_code(401);
exit;
}Node.js
import crypto from 'node:crypto';
const expected = 'sha256=' + crypto
.createHmac('sha256', webhookSecret).update(rawBody).digest('hex');
const received = req.get('x-webhook-signature') ?? '';
const ok = received.length === expected.length
&& crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected));Mỗi callback được thử một lần với giới hạn thời gian 10 giây và không thử lại. Xử lý nó như một thông báo và đối chiếu với GET /sites/{uuid}. Xử lý lặp lại một cách nhất quán dựa theo uuid và sự kiện. Các mục tiêu mạng riêng bị từ chối.
Lỗi
Mỗi phản hồi sử dụng một phong bì. Lỗi mang mã ổn định, một thông báo bản địa hóa và, đối với lỗi xác thực, trường không hợp lệ.
JSON
{
"success": false,
"error": {
"code": "validation_error",
"message": "...",
"details": { "field": "title" }
}
}| HTTP | Mã lỗi |
|---|---|
| 400 | validation_error, invalid_json, invalid_webhook_url |
| 401 | missing_api_key |
| 402 | insufficient_balance |
| 403 | api_disabled, invalid_api_key, forbidden |
| 404 | not_found, route_not_found |
| 405 | method_not_allowed |
| 409 | site_not_ready, conflict, edits_reset_required |
| 413 | payload_too_large |
| 415 | unsupported_media_type |
| 429 | rate_limited |
| 500 | internal_error, export_failed |
| 502 | generation_failed |
Giới hạn
| Giới hạn | Giá trị |
|---|---|
| Yêu cầu trên mỗi khóa | Mặc định 60 mỗi phút (cấu hình theo khóa, 0 = không giới hạn). Các khóa không hợp lệ lặp lại từ một IP sẽ nhận lỗi 429 với Retry-After. |
| Nội dung yêu cầu | 2 MB; POST /sites với hình ảnh tham khảo lên đến 162 MB; trình soạn thảo lưu đến 4 MB. |
| Hình ảnh tham khảo | Tối đa 12 hình PNG, JPEG hoặc WEBP (base64 hoặc URL dữ liệu), mỗi hình tối đa 10 MB. |
| Nội dung trang trình soạn thảo | HTML tối đa 500.000 ký tự, CSS tối đa 100.000. Script và trình xử lý sự kiện bị loại bỏ. |
| Hình ảnh trang web | PNG, JPEG, WEBP hoặc GIF, mỗi ảnh 5 MB, tối đa 200 ảnh cho mỗi trang. |
| Tiêu đề trang web | Tiêu đề trang 1–200 ký tự. |
API trình soạn thảo
Mọi chức năng mà trình soạn thảo trên bảng điều khiển cung cấp đều có sẵn cho các trang đã hoàn thiện: nội dung trang, kế hoạch trang và phần, kiểu dáng, tiêu đề / chủ đề / bố cục / cấu trúc, theo dõi và hình ảnh. Chỉnh sửa trang thay thế trang; DELETE phục hồi trang đã tạo ra.
curl
# Load, change and save a page
curl -H "X-API-Key: YOUR_API_KEY" \
"https://whitepagekit.com/api/v1/sites/UUID/editor?page=index"
curl -X PATCH https://whitepagekit.com/api/v1/sites/UUID/editor \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page":"index","html":"<main>…</main>","css":""}'
# Restore the generated page
curl -X DELETE -H "X-API-Key: YOUR_API_KEY" \
"https://whitepagekit.com/api/v1/sites/UUID/editor?page=index"Chỉnh sửa cần trang hoàn chỉnh (409 site_not_ready nếu không). Thay đổi chủ đề, bố cục hoặc cấu trúc trên các trang đã chỉnh sửa trả về 409 edits_reset_required trừ khi reset_edits là true. Việc chỉnh sửa là miễn phí.
Tham chiếu điểm cuối
Được tạo từ tài liệu OpenAPI, nên luôn luôn khớp với API hiện hành. Đường dẫn là tương đối so với URL gốc.
Tài khoản
-
GET
/meGet the authenticated account
-
GET
/transactionsList account balance transactions
Danh mục
-
GET
/languagesList enabled supported languages
-
GET
/themesList site themes
-
GET
/layoutsList enabled layouts
Các trang
-
GET
/sitesList the authenticated account's sites
-
POST
/sitesStart site generation
-
GET
/sites/{uuid}Get site status and refresh generation state
-
DELETE
/sites/{uuid}Delete a terminal site and its generated data — Pending, queued and running generation jobs cannot be deleted. Wait for done or error; active deletion returns 409 conflict without refunding or removing the job.
-
GET
/sites/{uuid}/downloadDownload a completed site archive
AI và tự động hóa
-
GET
/ai-toolsFunction-calling tool schemas — The same six tools the MCP endpoint offers, as JSON schemas for your own tool loop. format is openai (Responses API), openai-chat (Chat Completions), anthropic or mcp. Public; no response envelope.
-
GET
/docs.mdDocumentation as Markdown — The developer guide, endpoint reference and AI integration guide as one Markdown file, written for language models and quick copy-paste. Public.
-
POST
/mcpModel Context Protocol endpoint — MCP over Streamable HTTP (JSON-RPC 2.0, one JSON reply per POST). Methods: initialize, ping, tools/list, tools/call. Tools: get_account, list_languages, list_themes, create_site (paid), get_site, list_sites. Authenticate with the same API key; point an MCP client at this URL.
Trình chỉnh sửa
-
GET
/sites/{uuid}/editorLoad a page for editing — Editor access for the site owner's API key; mirrors the dashboard editor. Only completed sites (409 site_not_ready otherwise).
-
PATCH
/sites/{uuid}/editorSave a page's edited content — Replaces the page content and CSS. html must be non-empty (use DELETE to restore the generated page); scripts, event handlers and javascript: URLs are removed, HTML is limited to 500000 and CSS to 100000 characters, request body to 4 MB. Returns the saved page as GET does.
-
DELETE
/sites/{uuid}/editorRestore a page's generated content — Discards the page's saved edits. Returns the regenerated page.
-
GET
/sites/{uuid}/editor/canvasGet editing canvas data — Stylesheet, Tailwind theme, body class, direction, section blocks, icons and sample copy an external visual editor needs to render the page like the dashboard editor.
-
GET
/sites/{uuid}/pagesGet the page and section plan — Returns structure, pages with their sections and edited flag, one-page sections and the sections available to add. Same payload as the dashboard.
-
POST
/sites/{uuid}/pagesSave the page and section plan — Body: pages (list of {slug, title, nav, sections}; the first page is index) and, for onepage sites, onepage_sections. Sections of pages with saved edits are locked in the dashboard; edited pages that are removed lose their edits. At most 12 pages.
-
GET
/sites/{uuid}/styleGet style overrides — Returns stored overrides, effective colors, fonts, radius and density, and the allowed font, radius and density values.
-
POST
/sites/{uuid}/styleSave or reset style overrides — Send style ({colors, fonts: {heading, body}, radius, density}) or reset=true to return to the theme.
-
GET
/sites/{uuid}/designGet site title, theme and layout — Returns site_title, title_suggestions, theme_variant, theme_mode, layout, structure and whether the site has saved edits.
-
POST
/sites/{uuid}/designChange site title, theme, mode, layout or structure — theme_variant, theme_mode, layout and structure are required; site_title (1-200 characters), apply_blueprint and reset_edits are optional. Changing theme, layout or structure while pages have saved edits returns 409 edits_reset_required unless reset_edits is true; renaming alone keeps edits.
-
GET
/sites/{uuid}/trackingGet tracking settings
-
POST
/sites/{uuid}/trackingSave tracking settings — Body: tracking {ga4_measurement_id, google_ads_id, google_ads_conversion_label, meta_pixel_id, privacy_policy_url, terms_url}. Applied to exports; an empty object removes all tracking.
-
GET
/sites/{uuid}/mediaList uploaded site images
-
POST
/sites/{uuid}/mediaUpload or delete site images — multipart/form-data with one or more files in files[] (PNG, JPEG, WEBP or GIF, 5 MB each, at most 200 images per site), or JSON {"action": "delete", "name": <name>}. Returns the updated list for uploads. 409 conflict when the per-site image limit is reached.
Thanh toán bên ngoài (chỉ dành cho khóa quản trị viên)
-
GET
/payment-sitesList external payment sites owned by the admin API account — Admin role required; payment.manage permission alone is insufficient. Webhook secrets are never returned.
-
POST
/payment-sitesRegister an external payment site (admin only)
-
PATCH
/payment-sites/{id}Update an owned external payment site (admin only)
-
DELETE
/payment-sites/{id}Delete an owned external payment site (admin only) — Deletion is allowed only when the site has no orders. Sites with orders must be disabled instead.
-
GET
/paymentsList external orders owned by the admin API account
-
POST
/paymentsCreate external checkout or automatic subscription (admin only) — Server-to-server only. Separate from wallet top-ups: no White Page Kit balance, bonus or referral credit. Repeated idempotency key returns the original order; a different payload or reused external order ID conflicts. Provider uncertainty never starts a second checkout automatically.
-
GET
/payments/{uuid}Read owned external payment status (admin only)
-
POST
/payments/{uuid}/cancelCancel an owned subscription or locally close a pending one-time order (admin only) — Subscriptions stop future renewals. Pending one-time cancellation is a local close, not a refund; an already-open provider checkout may still accept payment. A late authenticated real payment remains recorded and notified. No payment is marked paid by a browser return.
-
POST
/payments/{uuid}/approveApprove funds received for an owned pending or locally cancelled bank transfer (admin only) — Manual confirmation of funds received, including a transfer arriving after local cancellation; never approves a Dodo or Enigmoss order and never credits White Page Kit balance.
Các mô tả lấy từ tài liệu OpenAPI và được viết bằng tiếng Anh. Các sơ đồ yêu cầu và phản hồi nằm trong tệp sơ đồ.
Các tích hợp có sẵn
Bộ công cụ tích hợp là một ứng dụng PHP nhỏ với mẫu tạo, kiểm tra trạng thái, hướng dẫn gọi lại có chữ ký và một trình chỉnh sửa trực quan đầy đủ giao tiếp với API này thông qua proxy phía máy chủ. Tạo một tài khoản để lấy khóa, sau đó xem giá cho mỗi lần tạo.