Automatic gebt distribution
To use this endpoint, you will need to send an HTTP POST request to the URL /automatic-gebt-distribution. The request body should be in JSON format and should contain the following fields:
transaction_date: a string representing the date of the transaction in the format "dd-mm-yyyy"ganga_txn: a string representing the Ganga transaction IDproduct_category: a string representing the product categoryproduct_name: a string representing the product nametransaction_value: a number representing the transaction value, with 2 decimal placestransaction_rating_score: a number representing the transaction rating score, with 8 decimal placestransaction_users: an array of objects representing the users involved in the transaction. Each object should have the following fields:user_id: a string representing the user's shared ID between Ganga and Green Earthtoken_ratio: a number representing the ratio of tokens that the user should receive in this transactionuser_email: (optional) a string representing the user's email addressuser_first_name: (optional) a string representing the user's first nameuser_last_name: (optional) a string representing the user's last name
Here's an example of what the request body might look like:
Last updated