Source: 获取商户信息 · Category: Interface — AI Image Generation (接口-AI生图) · Updated 2026-09-22 16:32:22
English Translation
Get Merchant Info
Used to query the merchant's points balance and other basic account information, and to remind you to contact the service provider to recharge promptly — preventing AI interfaces (such as Create AI Task, Get Templates, etc.) from being unusable due to insufficient points.
Interface Information
| Item | Value |
|---|---|
| Endpoint | http://www.colorpark.cn/api/partner/info |
| Method | POST |
Request Parameters
| Parameter | Example Value | Required | Description |
|---|---|---|---|
partner_id |
2025000001 |
Yes | Merchant ID provided by the Open Platform (view in the Open Platform: Merchant Management → My Merchant → Number) |
once |
8305 |
Yes | Random value used when generating the encrypted signature |
time |
1646790335 |
Yes | Timestamp used when generating the encrypted signature |
sign |
9ce3ce7a3fccaf3d7715bd7e9bb1dc1c |
Yes | Signature string obtained from the "Generate Merchant Signature" interface |
Response Result
Note: The source table header repeats "参数名 参数名"; normalized below as Parameter / Example Value / Description.
| Parameter | Example Value | Description |
|---|---|---|
code |
0 |
Result status code — 0 on success, 1 on failure |
msg |
请求成功 (Request successful) |
Result description, e.g. "Request successful" |
data |
— | Object containing the merchant info (fields below) |
data.id |
271 |
Merchant number |
data.name |
测试代理 (Test Agent) |
Merchant name |
data.proxy_id |
1001 |
Associated third-party platform ID |
data.points |
100 |
Remaining points |
If you encounter unsolvable issues while debugging the device, contact the cloud-printing representative for troubleshooting. Contact details: Tel: 137-5177-4454 [WeChat same number] Email: info@ColorPark.cn