Get Success Rate

This API endpoint allows users to retrieve their success rate on Voomerr.

Endpoint URL #

GET https://admin.voomerr.com/api/get_success_rate.php

Parameters #

The following parameter is required to successfully make a request to the API:

Parameter Type Required Description
user_id Int Yes The ID of the user whose success rate is being retrieved.

Response #

The API will return a JSON object containing the following fields:

Field Type Description
success Bool Indicates whether the success rate retrieval was successful.
error_code Int The error code, if any.
error_msg String A message describing the error, if any.
data Object An object containing the success rate information for the user, if successful.

The ‘data’ object will contain the following fields:

Field Type Description
user_id Int The user ID of the user whose success rate was retrieved.
success_rate Int The percentage of successful transactions for the user.
total_transactions Int The total number of transactions completed by the user.

Example Request #

javascript
GET https://admin.voomerr.com/api/get_success_rate.php?user_id=123

Example Response #

bash
HTTP/1.1 200 OK
Content-Type: application/json

{
"success": true,
"data": {
"user_id": 123,
"success_rate": 85,
"total_transactions": 100
}
}

Powered by BetterDocs