Transfer Points
Remove / Add Points from your users or transfer points from one user to another.
Add or Subtract points from a Realm member
PATCH
https://api.badbears.io/api/v4/realms/{realmID}/members/{memberID}/tokenBalance
Path Parameters
Name | Type | Description |
---|---|---|
realmID* | String | |
memberID* | Integer |
Request Body
Name | Type | Description |
---|---|---|
tokens* | Integer |
Transfer points from one Realm member to another
PATCH
https://api.badbears.io/api/v4/realms/{realmID}/members/{memberID}/transfer
Path Parameters
Name | Type | Description |
---|---|---|
realmID* | String | |
memberID* | Integer |
Request Body
Name | Type | Description |
---|---|---|
recipientId* | Integer | |
tokens* | Integer |
Authorization
All these endpoints require the Authorization header to be set like this:
Each API key is linked to a specific Realm.
Trying to access other Realms will result in an error code 403: Forbidden.
Entering an incorrect or non-existing API Key will result in an error code 401: Unauthorized
Last updated