Lock Member
1. Lock Member
API Path
- POST
- /api/member/lock
Request Parameters
| Parameter | Name | Type | Required | Description |
|---|---|---|---|---|
| agent_id | Merchant ID | string | Required | Merchant ID |
| user_id | Merchant User ID | string | Required | User ID on Merchant Side, string length minimum 3, maximum 64, Only English, numbers, and _ |
| status | Lock Status | string | Required | Active: Normal, LockBet: Bet Prohibited, LockAll: Bet and Login Prohibited |
| timestamp | Current Timestamp | int64 | Required | Timestamp when calling the API (in milliseconds, valid for ten minutes) |
| sign | Signature | string | Required | See API documentation for signature algorithm |
Response Parameters
| Parameter | Name | Type | Description |
|---|---|---|---|
| code | Response Code | int | Error Code |
| message | Response Message | string | Error Message |
Request Example
curl --location 'https://staging.aig1234.com/api/member/lock' \
--header 'Content-Type: application/json' \
--data '{
"agent_id": "agent001",
"user_id": "testUid03",
"status": "LockAll",
"timestamp": 1732589849000,
"sign": "4de30b101a5f786de48d1c7744941b86"
}'
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
600101 Invalid parameters
700101 Merchant Not Found
700103 Member Not Found
700105 Lock Member Failed