Run in Apidog
token-api-controller
API generates an authentication token that must be included in the headers of subsequent API requests. This token verifies that the request is from an authorized source, ensuring secure communication with our server
Request Body Params application/json
The access key generated for your account.
The secret key generated for your account.
{
"accessKey" : "string" ,
"secretKey" : "string"
}
Request samples curl --location --request POST '/api/v0/merchant/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "string",
"secretKey": "string"
}'
Responses application/json Generate Code
The generated authentication token.
The expiration time of the token (in milliseconds since UNIX epoch).
resultCode
integer <int32>
optional The result code indicating the status of the token generation request.
A message providing additional information about the result of the token generation request.
{
"token" : "string" ,
"expiry" : 0 ,
"resultCode" : 0 ,
"resultMessage" : "string"
}
Modified at 2025-05-27 19:03:24