
Platinum Sponsor
CEOACC.COM | Wholesale Social Media Accounts from the Source
Buy Facebook accounts, Wholesale Instagram accounts, Buy Twitter accounts, Buy TikTok accounts, Buy Telegram accounts, Buy Apple IDs, Buy Google Gmail accounts


Last updated: 2026-04-01
This guide explains how to set up site-to-site integration (cross-selling) between Dujiao-Next instances, helping you quickly go from "applying for credentials" to "async procurement + multi-level callbacks".
For API endpoint details and signature algorithms, see the Open API Reference.
| Role | Description |
|---|---|
| Integrator (Site A) | Pulls upstream products and sells them locally. Acts as the buyer calling the upstream API |
| Provider (Site B) | Provides products and API access. Receives procurement requests from A and processes them locally |
| Further Upstream (C/D/...) | B may also procure from its own upstream, forming a multi-level chain |
Notes:
source_type distinguishes: outbound: this site procures from upstream;inbound: this site receives procurement from downstream.Site A (Integrator) Site B (Provider)
─────────────────── ─────────────────
1. Admin creates connection ─────→
2. Test connection (POST /ping) ─→ Verify signature, return site info
3. Pull product list ────────────→ Return available products & SKUs
4. Create product mappings
5. End user places order + pays
6. Async procurement (POST /orders)→ Wallet deduction, create local order
7. ←──────────────── Callback notification (status/delivery)
8. Update local order statusIf Site B's product also has an upstream mapping, B will continue to asynchronously procure from Site C. The chain can extend indefinitely. Once the final fulfillment node delivers, status and delivery content are passed back level by level via callbacks until reaching Site A.
Admin path: System → API Credentials
Each user can have at most one set of API credentials (API Key + API Secret). Credentials require admin approval before they can be used.
User side:
API Secret is shown only once at creation time — save it immediatelyAdmin side:
Ensure your site is publicly accessible. The integrator will use your site URL + /api/v1/upstream as the API endpoint.
Admin path: Integration → Site Connections → Create
| Field | Description |
|---|---|
| Connection Name | Custom name to identify the upstream site |
| Site URL | Root URL of Site B, e.g. https://b.example.com |
| Protocol | Use the default (Dujiao OpenAPI) |
| API Key | API Key from Site B's user |
| API Secret | API Secret from Site B's user |
| Callback URL | Public URL where Site A receives callbacks |
| Max Retries | Maximum retry count for failed procurements |
| Retry Intervals | Wait time between retries (seconds), supports multi-level configuration |
Notes:
/api/v1/upstream prefix.Admin path: Integration → Product Mappings
Workflow:
Mapping notes:
<slug>-<upstream product ID> is tried, and if that still conflicts (or the upstream slug is invalid) a slug is generated automatically.Admin path: Integration → Procurement Orders
Manage all procurement orders sent to upstream:
Admin path: Integration → Reconciliation Center
The reconciliation feature helps verify procurement data consistency:
All API requests use HMAC-SHA256 signature authentication with the following headers:
| Header | Description |
|---|---|
Dujiao-Next-Api-Key | API Key |
Dujiao-Next-Timestamp | Unix timestamp (seconds) |
Dujiao-Next-Signature | HMAC-SHA256 signature |
Signature string format:
{METHOD}\n{PATH}\n{TIMESTAMP}\n{MD5(BODY)}Check the following:
Check the following:
Dujiao-Next-Api-Key, Dujiao-Next-Timestamp, Dujiao-Next-Signature)?Common causes:
Resolution:
Mapped products are declared as dependent on upstream fulfillment. The system enforces waiting for upstream callbacks to prevent local and upstream state inconsistencies.
Cancellation of integration orders first attempts upstream cancellation. If the upstream cannot cancel, the local system will also deny cancellation to ensure financial and state consistency.
On the "Product Mappings" page, select the corresponding connection and click "Sync Products" to pull the latest product information, stock, and pricing from upstream.