Award or allow tokens for a user
Player Endpoints
Award Tokens
POST
Award or allow tokens for a user
This endpoint will let you distribute tokens towards a user. There are two options:
- When Allowance is set to true, then the tokens will be stored as an allowance. With the Allowance api, the user will be able to see how much they have of a certain token and they will be able to mint it themselves.
- When Allowance is set to false, then the tokens will be distributed right away. To use this feature, funds need to be put in into the wallet (see ‘Fund Wallet’). If there isn’t enough, it will be queued until the funds are there. The destination wallet will need to be filled in as well in the request.
Body
application/json
A unique UUID that will uniquely identify the request. This to avoid resending of the same amount
When IsAllowance is set to false, then the tokens will immediately be minted or moved to the wallet that is given.
Available options:
false Determines if the allowance is mintable or not. Will be ignored when IsAllowance is set to false.
Available options:
false Minimum array length:
1Required when IsAllowance is false. This is the wallet where the tokens will be sent. Will only be used in case of IsAllowance is false. Otherwise will be ignored