WAFGOPreparing your page
Setup guide

API documentation

DEVELOPER RESOURCES · API REFERENCE

Explore WAFGO API services, request paths and message definitions. Browse by permission role to find the parameters and response structures for your integration.

Download JSON documentation
151 services1063 interfaces
User account service5 matching interfaces

Update a user account

updateUserAccount

POST/UserAccountService/updateUserAccount
Original definition
rpc updateUserAccount(UpdateUserAccountRequest) returns (RPCSuccess);

Request message

UpdateUserAccountRequest

Update a user account

Request message · Field definitions
message UpdateUserAccountRequest {
	int64 userAccountId = 1; // User account ID, not the user ID
	double delta = 2; // Amount to adjust; positive adds funds and negative deducts funds
	string eventType = 3; // Event type: charge, award, buyPlan, payBill, refund, withdraw, buyNSPlan, buyTrafficPackage, buyAntiDDoSPackage, renewAntiDDoSPackage
	string description = 4; // Description
	bytes paramsJSON = 5; // Related parameters
}

Response message

RPCSuccess

Operation successful

Response message · Field definitions
message RPCSuccess {

}

Descriptions and comments follow your language. Request paths, method names, field names and types match the original API definitions.

Setup guide