Centarius API Documentation
  • Welcome To Centarius!
  • Let's get you registered!
  • Users & Leaderboards
    • New Users
    • Leaderboards - Saving Scores
    • Leaderboards - Retrieval
  • Revenue
    • Sharing Revenue Data
Powered by GitBook
On this page
  1. Revenue

Sharing Revenue Data

As a developer, we want you to have control over your game's revenue generation methods. However, you must share the revenue data with us for the revenue generated via Centarius. The Centarius API makes this easy and transparent, without losing you your control.

Request URL

POST https://www.centarius.app/enter-revenue/

Request Body

Name
Required
Type
Description

game_id

True

string

Your game's Centarius game ID.

method

True

integer

The method for the revenue generation - use 1 for ad revenue, and 2 for any premium purchase with real currency.

amount

True

integer

The numerical amount, in US$, of revenue generated.

Response

Code
Type
Response

200

HttpResponse

Revenue entry recorded successfully.

500

JsonResponse

{'error': Exception as str}

PreviousLeaderboards - Retrieval

Last updated 1 year ago