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

NameTypeDescription

realmID*

String

memberID*

Integer

Request Body

NameTypeDescription

tokens*

Integer

Transfer points from one Realm member to another

PATCH https://api.badbears.io/api/v4/realms/{realmID}/members/{memberID}/transfer

Path Parameters

NameTypeDescription

realmID*

String

memberID*

Integer

Request Body

NameTypeDescription

recipientId*

Integer

tokens*

Integer


Authorization

All these endpoints require the Authorization header to be set like this:

{
    "Authorization": "Bearer <YourAPIKey>"
}

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