Skip to main content

Member Logout

1. Member Logout

API Path

  • POST
  • /api/member/logout

Request Parameters

ParameterNameTypeRequiredDescription
agent_idMerchant IDstringRequiredMerchant ID
user_idMerchant User IDstringRequiredMerchant User ID
timestampCurrent TimestampintRequiredThe timestamp when calling the API (in milliseconds, valid for ten minutes)
signSignaturestringRequiredSee API documentation for signature algorithm

Response Parameters

ParameterNameTypeDescription
codeResponse CodeintError Code
messageResponse MessagestringError Message
dataResponse DatadictResponse Data Details

Request Example

curl --location 'https://staging.aig1234.com/api/member/logout' \
--header 'Content-Type: application/json' \
--data '{
"agent_id": "agent001",
"user_id": "testUid03",
"timestamp": 1732589849000,
"sign": "554f8c395b712dbee3e18c79c6274408"
}'

Response Example

{
"code": 200,
"message": "success",
"data": {}
}

Error Codes

200 Success
408000 Request Parameter Error
408003 Whitelist Restriction
408004 API Rate Limit
600100 Invalid Signature
700101 Merchant Not Found
700103 Member Not Found