POST /transactions
points_to_external_rewards
membership_number_override
- string - use this field to override the user's saved email only for this action400
.amount
can be an integer or string and not decimal/fraction. The amount has to conform to some certain thresholds. Check the limits (min and max) for the allowed cryptocurrencies here.HTTP 202
HTTP 400
POST /transactions
exchange
exchange rate = Brand A token offramp value ÷ Brand B token onramp value
exchange_rate_override
- integer: use this field to override the exchange rate.400
. The points to be received will be calculated as the floor of the value obtained after multiplying the points to be burned with the exchange rate.amount
can be an integer or string and not decimal/fraction.HTTP 202
HTTP 400
POST /transactions
points_to_external_rewards
membership_number_override
- string - use this field to override the user's saved membership number only for this actionexchange_rate_override
- integer - use this field to specify a different exchange rate from what you've configured.400
.amount
can be an integer or string.HTTP 202
HTTP 400
amount
fieldGET /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