lime currency API documentation
API.
POST https://heav.mondecitronne.com/api/limes/check
example input:
the response will be one of these:
- status code 200, with the value as output.
- status code 404, with an error, if the given token doesn't correspond to lime currency.
- status code 400, if you don't provide input correctly.
POST https://heav.mondecitronne.com/api/limes/claim
example input:
the response will be one of these:
- status code 200, with the new token as output.
- status code 404, with an error, if the given token doesn't correspond to lime currency.
- status code 400, if you don't provide input correctly.
POST https://heav.mondecitronne.com/api/limes/split
example input:
the response will be one of these:
- status code 200, with the two new tokens, seperated by a space.
- status code 404, with an error, if the given token doesn't correspond to lime currency.
- status code 400, with an error, if you don't provide one of the inputs or they're not numbers.
- status code 403, with an error, if you try to split it into values that don't add up to the original value.
POST https://heav.mondecitronne.com/api/limes/merge
example input:
the response will be one of these:
- status code 200, with the new token.
- status code 404, with an error, if one of the given tokens doesn't correspond to lime currency.
- status code 403, with an error, if you try to be clever and cheat the system.