Fetch billable events given query parameters, defaults to all in the last 24 hours
get/api/v2/admin/billableEvent
Query Parameters
fromEnterprisearray[string]
array of enterprise ids to fetch the BillableEvents of
Example: 59cd72485007a239fb00282ed480da1f
Pattern: ^[0-9a-f]{32}$
startDatestring<date-time>
Fetches transfers with a `date` that is greater than or equal to the given timestamp
endDatestring<date-time>
Fetches transfers with a `date` that is less than the given timestamp
coinarray[string]
array of coins to filter the BillableEvents for
Example: btc
200 Response
billableEventsarray[object]
idstring
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
deterministicIdstringrequired
this is an id that will always stay the same for a txid, even if its regenerated
txid + '|' + coin + '|' + destination
coinstringrequired
A cryptocurrency or token ticker symbol.
Example: btc
assetstringrequired
this is the asset, will match the coin unless it is offchain, in that case it will be the base asset
eq. ofcbtc --> btc; ofcltc --> ltc
Example: btc
amountinteger
The total value (in base units) sent by this BillableEvent (may be approximate for ETH and other coins where amounts in base units can exceed 2^53 - 1)
amountStringstringrequired
Example: 2000000
Match pattern: ^-?\d+$
coinBigUnitsintegerrequired
The total value (in big units) sent by this BillableEvent
coinBigUnitsStringstringrequired
The total value (in big units) sent by this BillableEvent represented as a String
Example: 2000000
Match pattern: ^-?\d+$
datestring<date-time>required
The date of the Transfer this BillableEvent was created from
fromWalletstringrequired
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
fromWalletTypeAny ofrequired
The type describes who owns the keys to the wallet and how they are stored. `cold` wallets are wallets where the private key of the user key is stored exclusively outside of BitGo's system. `custodial` means that this wallet is a cold wallet where BitGo owns the keys. Only customers of the BitGo Trust can create this kind of wallet. `custodialPaired` means that this is a hot wallet that is owned by the customer but it will be linked to a cold (custodial) wallet where BitGo owns the keys. This option is only available to customers of BitGo Inc. BitGo stores an encrypted private key for the user key of `hot` wallets. `trading` wallets are trading accounts where the coin is `ofc`. `distributedCustody` means You manage one key and another key agent manages the second key. BitGo manages the third key
Allowed values: BitGo IncBitGo TrustBitGo New YorkBitGo GermanyBitGo SwitzerlandFrankfurt DE TrustBitGo Sister Trust 1BitGo KoreaBitGo SingaporeBitGo Europe ApSBitGo Mena FzeBitGo Custody MENA FZEBitGo India
fromWalletBillingEnterprisePricingPlanstring
fromEnterprisestring
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
fromEnterpriseTypestring
fromEnterpriseBitGoEntitystring
BitGo Organization related to this entity
Allowed values: BitGo IncBitGo TrustBitGo New YorkBitGo GermanyBitGo SwitzerlandFrankfurt DE TrustBitGo Sister Trust 1BitGo KoreaBitGo SingaporeBitGo Europe ApSBitGo Mena FzeBitGo Custody MENA FZEBitGo India
fromEnterprisePricingPlanstring
isBlockchainFeeboolean
whether the BillableEvent is for a blockchain fee
isChangeboolean
whether the BillableEvent is for a change output
isPayGoboolean
whether the BillableEvent is for a paygo output
toAddressstring
the address the BillableEvent is sending to
toWalletstring
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
toWalletTypeAny of
The type describes who owns the keys to the wallet and how they are stored. `cold` wallets are wallets where the private key of the user key is stored exclusively outside of BitGo's system. `custodial` means that this wallet is a cold wallet where BitGo owns the keys. Only customers of the BitGo Trust can create this kind of wallet. `custodialPaired` means that this is a hot wallet that is owned by the customer but it will be linked to a cold (custodial) wallet where BitGo owns the keys. This option is only available to customers of BitGo Inc. BitGo stores an encrypted private key for the user key of `hot` wallets. `trading` wallets are trading accounts where the coin is `ofc`. `distributedCustody` means You manage one key and another key agent manages the second key. BitGo manages the third key
Allowed values: BitGo IncBitGo TrustBitGo New YorkBitGo GermanyBitGo SwitzerlandFrankfurt DE TrustBitGo Sister Trust 1BitGo KoreaBitGo SingaporeBitGo Europe ApSBitGo Mena FzeBitGo Custody MENA FZEBitGo India
toWalletBillingEnterprisePricingPlanstring
toEnterprisestring
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
toEnterpriseTypestring
toEnterpriseBitGoEntitystring
BitGo Organization related to this entity
Allowed values: BitGo IncBitGo TrustBitGo New YorkBitGo GermanyBitGo SwitzerlandFrankfurt DE TrustBitGo Sister Trust 1BitGo KoreaBitGo SingaporeBitGo Europe ApSBitGo Mena FzeBitGo Custody MENA FZEBitGo India