GET /users/:auth_id/balances
id
and auth_id
are 2 different fields and are not interchangeable. auth_id
can be set by you if you register users using our Loyalty API. So, for example, you could set it to the primary key you have for the user in your own systems. This saves you the trouble of creating another column to map users in your system to the user profile with qiibee.auth_id
field empty when creating the user and we will generate a UUID-v4 and return it to you so you can save it in your system. The user_id
shown in the Loyalty Whitelabel App (LWA) frontend is different from the auth_id
and is used exclusively for the LWA frontend.erc20
or erc721
). erc20
is a regular tokenerc721
is an NFT tokenAAA represents that the token is operational worldwide.
HTTP 200
with an array of balancesHTTP 404
with error messagePOST /transactions
credit_points
- credit point's to a user's accountdebit_points
- debit points from a user's account400
.amount
can be an integer or string. Must be greater than 0.send_email
(optional) can be used only for type
credit_points
false
.HTTP 202
If send_email
has been set to true
, the email will be sent to the registered email ID of the user with user_auth_id
.HTTP 400
HTTP 404
with error messageGET /transactions
limit
: (optional) sets the required limit of transaction history to be requested.100
100
offset
: (optional) number of transactions to offset when getting the remaining transactions.0
user_auth_id
: (optional) Use this parameter to query transactions for a particular user of your brand. If not passed returns all the transactions for your brand. Can be used along with limit
and offset.
types
: (optional) Use this parameter to query transactions for specific loyalty event types. The events must be sent in a list.token_id
: (optional) This will let you query the transactions for a specific token ID.erc20
is a regular tokenerc721
is an NFT tokenAAA
represents that the token is operational worldwide.HTTP 200
with data in the following format:transactions
list will be returned. total_tx_count
is the total number of transactions available for the given params.HTTP 404
with error message