Transactions
The transaction logs present very important information on a daily basis. They represent everything you’re in business for, and deserve such attention.
There are 2 methods to access transaction logs:
Access the log for a specific individual Terminal from that Terminal’s detail page. That list will not display the Terminal Serial Number.
Access the log for all transactions from all Terminals from the https://generalbytes.atlassian.net/wiki/x/PgBsOQ page of CAS.
No matter which log access method you choose, you’ll be shown the same selection header with the same selection options:
Limit the log (as desired) to specific coins, fiats, and date ranges using the filters described here.
Transaction List Controls | Description |
|---|---|
| TAGSTags enable you to label specific transactions with custom notes, allowing you to arbitrarily refine your logging results. |
| BATCH ACTIONSSome (or all) ACTIONS may be performed on multiple transactions in a single step. |
| FILTERRestrict the listing to specific transaction Tags or Status. |
| DOWNLOADExport a CSV file containing the transactions in the current list. Optionally, include the Identities with the transactions. |
| CUSTOMIZEAdjust the order, visibility, and location of the columns. By default, all columns are enabled.
|
Page NavigationQuickly move to another page of Transactions. Change the page length in your Profile: |
Transaction Column Descriptions
Terminal: the BATM at which the transaction occurred.
Server Time: the time that CAS recognized the transaction.
Terminal Time: the timezone-sensitive time of transaction.
Lid: the “Local” (CAS) identifier of the transaction.
Rid: the “Remote” (BATM) transaction identifier.
Type: BUY, SELL, CASHBACK, WITHDRAW
Classification: [NORMAL / TEST / REFUNDED] - default = NORMAL, change to TEST or REFUNDED via ACTIONS (below)
Cash: the fiat amount involved.
Crypto: the coin amount involved.
Rate Incl. Fee: the calculated rate including the fees.
Rate W/O Fee: the calculated rate excluding the fees.
Fixed Fee: any charged fixed fee (see Crypto Settings).
% Fee: any charged variable fee (see Crypto Settings).
Used Discount: the % and code of any discount applied.
Actual Discount: the calculated amount off the fees.
Destination address: the wallet used.
Related Tx: points to the related SELL transaction.
Identity: the customer Identity (if any).
Status: varies by BUY, SELL, or REDEEM.
A (lock) symbol indicates the transaction is on hold due to Output Queue locking.
Note: manually attached to the transaction via https://generalbytes.atlassian.net/wiki/x/DQDnaQ .
Actions: explained in detail: https://generalbytes.atlassian.net/wiki/x/DQDnaQ
Some Actions can be performed on multiple transactions using BATCH ACTIONS.
RID and LID are only intended to be unique over a short timeframe.
The identifiers “LID” and “RID” are used to identify transactions, but are not considered absolutely unique and may (currently) be duplicated over the lifetime of your CAS deployment.
365 = only 60,466,176 possible values and you will eventually see duplicates.
Rate Calculations Explained:
The "Rate Incl. Fee" calculation is derived like so:
CoinCost = 10000
PercentFee = 7.0
FixedFee = 1.00
Tender= 100.00
Calculate AdjTender:
Customer inserts Tender into the BATM,
FixedFee is directly deducted from that: 100 - 1 = 99
AdjTender is: 99
Calculate the effective purchase amount:
Divide AdjTender by the profit rate,
AdjTender / (1 + (.01 * PercentFee))
99 / (1 + (.01 * 7)) = 99 / (1 + .07) = 99 /1.07 = 92.523364486
the effective purchase amount tendered after fees is: 92.523364486
this amount is not displayed in any reporting.
The math may seem unintuitive, and admittedly many people are initially confused by it.
A % markup and a % discount are calculate differently. The goal of the equation is:
from what number will a certain % markup generate the AdjTender amount?
In this example, a 7% markup of $92.52, when added to $92.52, equals the AdjTender of $99.
Your profit amount (in this example) is: $100 - $92.52 = $7.48 (rounded).
Calculate the amount of coin at the effective rate:
Divide the purchase amount by the cost of the coin,
92.523364486 / CoinCost
92.523364486 / 10000 = 0.009252336 BTC
0.009252336 is the transaction amount.
Calculate "Rate Incl. Fee":
Tender (100.00) / 0.009252336 = 10808.08 is the rate including fee.
Percentages are trickier than you might think. Here’s how to calculate your profit %.
Yet another example of the (correct) markup calculation:
Fixed fee 0 USD
1 BTC = 100 USD
7% markup/fee
The BTC exchange rate for end customers is: 1 BTC = 107 USD.
What is the profit of the operator when somebody buys 1 BTC? Hint: 7 USD
Operator bought 1 BTC for 100 USD and sold it for 107 USD. 7% markup
Customer inserts 107 USD.
They will receive 1 BTC.
What is the profit of the operator? 7 USD.
Calculation is: 107/1.07 = 100. Operator’s profit is 107 - 100 = 7 USD.
The (erroneous) discount calculation should not be considered here, and this is why:
7% of 107 = 7.49, subtracting that from 107 = 99.51, which is less than a whole BTC.
Someone would be cheated by this equation.
One more Example
Yet another explanation of calculation (transaction ROABHX):
Customer inserted $55
Amount inserted without fixed fee = $55(total inserted) - $2.99 (fixed fee) = $52.01
Amount without markup = $52.01 ÷ 115(operator’s markup 15%) × 100 = 0,45226087 ×100 = $45,226086957
Operator’s markup = $52.01 - $45,226086957 = $6,78