管理后台 (1.0.0)

Download OpenAPI specification:

License:

提供管理员管理的所有功能

Open API / Partner Member Bind

QueryMemberBindAPI

Check whether an external user is bound to a platform member. Binding is created in the admin console; this endpoint is read-only. Unbound or disabled bindings return a business error.

Authorizations:
AuthorizationAuthorization
Request Body schema: application/json
required
externalUserId
required
string <= 64 characters

Partner-side user id. Must be bound to a platform member before quote/create/pay.

Responses

Request samples

Content type
application/json
{
  • "externalUserId": "shopify_10086"
}

QueryMemberBindListAPI

List all member binds of the current partner (identified by the access token). No request body. Includes disabled binds and each member's wallet balance (fen, CNY). Empty list when none exist. Numeric member id is not exposed.

Authorizations:
AuthorizationAuthorization
Request Body schema: application/json
optional
property name*
additional property
any

Responses

Request samples

Content type
application/json
{ }

开放平台 / OAuth2.0 令牌

获得访问令牌

开放平台仅支持 client_credentials 客户端模式;client_id + client_secret 通过 HTTP Basic 认证头传递

Authorizations:
AuthorizationAuthorization
query Parameters
grant_type
required
string
Example: grant_type=client_credentials

授权类型,固定为 client_credentials

scope
string
Example: scope=goods:detail:read

授权范围,多个使用空格分隔

Responses

删除访问令牌

Authorizations:
AuthorizationAuthorization
query Parameters
token
required
string
Example: token=biu

访问令牌

Responses