The staking account is used to calculate the reward distribution, but isn't always the destination account. This depends on the configured payout account.
Bitcoin Suisse API (1.5.0)
The Bitcoin Suisse API allows customers of Bitcoin Suisse to automate activities like trading, custody, staking and reporting using their own tools.
Have a look at the Developer Portal to find out how to get an API key and how authentication works.
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/staking/v5/stakingRewards
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/staking/v5/stakingRewards
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/staking/v5/stakingRewards
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/staking/v5/stakingRewards?accountNumber=string&payoutTimeAfterInclusive=2019-08-24T14%3A15%3A22Z&payoutTimeBeforeExclusive=2019-08-24T14%3A15%3A22Z&page=1&pageSize=10' \
-H 'customer-number: string'{ "count": 0, "page": 0, "totalCount": 0, "pageSize": 0, "items": [ { … } ] }
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/staking/v5/stakingRewards/{id}
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/staking/v5/stakingRewards/{id}
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/staking/v5/stakingRewards/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/staking/v5/stakingRewards/{id}' \
-H 'customer-number: string'Success
Can be found as an external reference for Reward in other systems. N.B. Commission bookings are a different transaction, with a different external reference.
Commission percentage (0 to 100) taken from the gross reward amount.
Timestamp for when it was decided that the rewards should be paid out. Note that actual payout time differs.
Gross amount of execution layer rewards. Only applicable to Pre-Pectra Ethereum rewards.
Gross amount of consensus layer rewards. Only applicable to Pre-Pectra Ethereum rewards.
Timestamp indicating the start of the period in which the rewards were earned. This is only available for automated payouts.
Timestamp indicating the end of the period in which the rewards were earned. This is only available for automated payouts.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "targetAccountNumber": "string", "stakingAccountNumber": "string", "amount": 0, "assetSymbol": "string", "commissionPercentage": 0, "commission": 0, "finalAmount": 0, "createdOn": "2019-08-24T14:15:22Z", "executionLayerAmount": 0, "consensusLayerAmount": 0, "periodFrom": "2019-08-24T14:15:22Z", "periodTo": "2019-08-24T14:15:22Z", "lockedAmount": 0, "lockedTill": "2019-08-24T14:15:22Z" }