Skip to content

Feature request: Add a endpoint to add coins to the clan #550

@BillTheBeast

Description

@BillTheBeast

What do you want to see in the API?

POST clan/addCoins/{amount}
or
POST clan/addCoins/ with amount in body

How do you think this should work?

There is eventually (long time from now) supposed to be a way to buy the gamecurrency in real money.
Before that is possible however the endpoint itself could exist to give the clan some coins (mainly for testing purposes.)

In my opinion there should be set static values for the amounts of coins you are getting (as handling a custom amounts would be next to impossible to handle sensibly).
I would use 100, 250, 500, 1000, 2000 and 5000 as the values for now, these can be adjusted later as needed.

The clan the coins are given to are the one the player is a member of.

Any additional info?

This is currently needed largely since the other sources of coins aren't implemented yet and even after they are this would make it easier to test the functions that do require the clan to have money.

Metadata

Metadata

Assignees

Labels

featureNew feature to add

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions