Skip to content

Get Merchant Authorization Information

Request

This API retrieves merchant information and authorized store lists based on the authentication token provided in the request, enabling developers to validate access permissions and obtain essential business context.

Bodyapplication/jsonrequired
pageNumintegerrequired

Pagination parameter: indicates the current page number (starting from 1)

Example:1
pageSizeintegerrequired

Pagination parameter: indicates the number of items per page

Example:1
appIdintegerrequired

Unique application ID assigned by Keeta

Example:834563
accessTokenstringrequired

The primary credentia from Keeta For identify your identity

Example:"b989f155b3304da19a324021eb9e9aaa"
POST
/base/authorized/resource/get
curl -i -X POST \
  https://open.mykeeta.com/api/open/base/authorized/resource/get \
  -H 'Content-Type: application/json' \
  -d '{
    "pageNum": 1,
    "pageSize": 1,
    "appId": 834563,
    "accessToken": "b989f155b3304da19a324021eb9e9aaa"
  }'

Responses

Successful retrieval of authorized resources.

Bodyapplication/json
codeintegerrequired

A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.

Enum ValueDescription
0

The request was executed successfully.

Non-zero value

The request execution failed. Specific error details can be viewed in the message field.

Example:0
messagestringrequired

Text description corresponding to the status code, explaining the operation result or error cause to users.

Example:"Success"
dataobject(AuthorizedResourceResponse)
Response
{ "code": 0, "message": "Success", "data": { "userId": "593890666", "brandId": 4323, "brandName": "GUI JI", "authorizedShops": [], "page": {} } }