面向发卡网站长、独立商城、Telegram 机器人及 AI 自动化系统的商业级交付 API。 毫秒级返回激活链接与 CDK,免密直充,30 天官方质保。
API 订单与商城个人钱包完全打通。链上充值(TRC20 / Polygon)自动到账入账, API 订单锁定库存后直接扣除批发底价,未消耗余额支持随时申请原路退还。
所有出卡接口强制执行 Idempotency 校验,网络抖动或客户端超时重试时,绝对不会出现二次扣费; 出卡未成功系统 0 扣费。
返回给终端买家的充值页面与激活卡密绝无任何 MaplePass 主站购买入口或标价, 严密保护分销商与发卡站长的私域客户。
公开零售目录与实时 USDT 定价查询
用于行情监测、前端展示或第三方 AI 比价爬虫。返回当前在售的所有 ChatGPT、Claude、Grok 订阅规格与实时库存状态。
curl -s "https://maple1189ai.com/api/store/catalog"{
"products": [
{
"key": "gptplus_google",
"title": "ChatGPT Plus · 谷歌官方通道 (免密秒充 · 质保订阅)",
"priceUsdt": 15.8,
"delivery": "自动交付"
},
{
"key": "chatgpt_pro20_ph",
"title": "ChatGPT PRO200 旗舰满血版",
"priceUsdt": 160.0,
"delivery": "自动交付"
}
]
}ChatGPT 服务可用性与节点 IP 纯净度诊断
检测客户端 IP 是否被 Cloudflare 拦截、OpenAI 服务响应延迟(ms)以及住宅/机房 IP 分类。可作为免费诊断工具集成进 TG 机器人或工具箱。
curl -s "https://maple1189ai.com/api/account/gpt-status"{
"status": "operational",
"latency_ms": 118,
"ip_blocked": false,
"cloudflare_status": "clear"
}商户专属批发货源列表与底价查询
查询已授权给您商户账户的商品批发底价(如 15.80 USDT)、实时单次最大可购数量以及库存有无状态。
| 字段 | 位置/类型 | 必填 | 说明 |
|---|---|---|---|
Authorization | Header | 是 | Bearer mp_live_... |
x-maple-timestamp | Header | 是 | 10位 UNIX 时间戳 |
x-maple-signature | Header | 是 | HMAC-SHA256 签名 hex 字符串 |
curl -X GET "https://maple1189ai.com/api/v1/wholesale/products" \
-H "Authorization: Bearer mp_live_your_key_here" \
-H "x-maple-timestamp: 1730000000" \
-H "x-maple-signature: a1b2c3d4..."{
"currency": "USDT",
"products": [
{
"product": "gptplus_google",
"title": "ChatGPT Plus 谷歌官方免密秒充",
"unit_price_usdt": "15.80",
"max_quantity": 100,
"in_stock": true
},
{
"product": "chatgpt_pro20_ph",
"title": "ChatGPT PRO200 旗舰满血版",
"unit_price_usdt": "160.00",
"max_quantity": 20,
"in_stock": true
}
]
}批发下单与全自动秒级出卡交付
提交批发采购请求。系统校验幂等号、扣减商城 USDT 个人钱包余额,毫秒级锁定并返回卡密或官方直充激活链接。
| 字段 | 位置/类型 | 必填 | 说明 |
|---|---|---|---|
product | string (Body) | 是 | 商品标识 (如 gptplus_google, chatgpt_pro20_ph) |
quantity | number (Body) | 是 | 采购份数 (1 ~ 100) |
idempotency_key | string (Body) | 是 | 客户端唯一幂等流水号 (防重复扣费) |
curl -X POST "https://maple1189ai.com/api/v1/wholesale/orders" \
-H "Authorization: Bearer mp_live_your_key_here" \
-H "x-maple-timestamp: 1730000000" \
-H "x-maple-signature: signature_hex" \
-H "Content-Type: application/json" \
-d '{"product":"gptplus_google","quantity":1,"idempotency_key":"faka_ord_1001"}'{
"id": "c1f8a841-...",
"order_number": "ORD-20261028-0012",
"status": "DELIVERED",
"product": "gptplus_google",
"quantity": 1,
"unit_price_usdt": "15.80",
"total_usdt": "15.80",
"deliveries": [
{
"position": 1,
"cdk": "GPT-PLUS-XXXXX-YYYYY",
"redemption_url": "https://chatgpt.com/redeem/...",
"content": "ChatGPT Plus 官方充值卡密:GPT-PLUS-XXXXX-YYYYY"
}
]
}独角数卡 (Dujiaoka 2.x) 零代码直发 Webhook
独角数卡后台专用。站长无需在服务器上传任何 PHP 文件,只需将此 URL 填入独角数卡后台商品【回调地址】,买家付款后系统自动扣费提卡并发货。
| 字段 | 位置/类型 | 必填 | 说明 |
|---|---|---|---|
token | Query Param | 是 | 您的 MaplePass API Key (mp_live_...) |
product | Query Param | 否 | 商品代码 (默认 gptplus_google) |
order_sn | Body (string) | 是 | 独角数卡订单号 |
buy_amount | Body (number) | 是 | 购买数量 |
email | Body (string) | 否 | 买家邮箱 (自动代发交付邮件) |
curl -X POST "https://maple1189ai.com/api/v1/integrations/dujiaoka/webhook?token=mp_live_your_key&product=gptplus_google" \
-H "Content-Type: application/json" \
-d '{"order_sn":"D20261028001","buy_amount":1,"email":"buyer@gmail.com"}'{
"code": 200,
"msg": "success",
"order_sn": "D20261028001",
"status": "DELIVERED",
"product": "gptplus_google",
"deliveries": [
{
"position": 1,
"cdk": "GPT-PLUS-XXXXX",
"redemption_url": "https://chatgpt.com/redeem/..."
}
]
}