Get a single account by its account ID
- List Onchain Information
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/custody/v1/Accounts/{accountId}
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/custody/v1/Accounts/{accountId}
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/custody/v1/Accounts/{accountId}
- 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/custody/v1/Accounts/{accountId}' \
-H 'X-Auth: YOUR_API_KEY_HERE' \
-H 'X-Auth-Nonce: YOUR_API_KEY_HERE' \
-H 'X-Auth-Signature: YOUR_API_KEY_HERE' \
-H 'X-Auth-Timestamp: YOUR_API_KEY_HERE' \
-H 'X-Auth-Version: YOUR_API_KEY_HERE' \
-H 'customer-number: string'{ "id": 0, "assetSymbol": "string", "state": "Unknown", "type": "Unknown", "subType": "Unknown", "flags": [ "Unknown" ], "balance": 0, "available": 0, "reserved": 0, "disposable": 0, "creditLine": 0, "name": "string" }
Request
List all onchain information associated with the accounts of the customer selected using the customer-number header
Note: the blockchain addresses provided in the API response are for informational purposes only. Do not deposit directly to them. For making deposits, please use the deposit instructions provided through your Bitcoin Suisse Online Account
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/custody/v1/Accounts/OnchainInfo
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/custody/v1/Accounts/OnchainInfo
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/custody/v1/Accounts/OnchainInfo
- 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/custody/v1/Accounts/OnchainInfo \
-H 'X-Auth: YOUR_API_KEY_HERE' \
-H 'X-Auth-Nonce: YOUR_API_KEY_HERE' \
-H 'X-Auth-Signature: YOUR_API_KEY_HERE' \
-H 'X-Auth-Timestamp: YOUR_API_KEY_HERE' \
-H 'X-Auth-Version: YOUR_API_KEY_HERE' \
-H 'customer-number: string'[ { "accountId": 0, "assetSymbol": "string", "balance": 0, "onchainInfo": [ … ] } ]
Request
Get onchain information for a single account by its account ID
Note: the blockchain addresses provided in the API response are for informational purposes only. Do not deposit directly to them. For making deposits, please use the deposit instructions provided through your Bitcoin Suisse Online Account
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/custody/v1/Accounts/OnchainInfo/{accountId}
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/custody/v1/Accounts/OnchainInfo/{accountId}
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/custody/v1/Accounts/OnchainInfo/{accountId}
- 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/custody/v1/Accounts/OnchainInfo/{accountId}' \
-H 'X-Auth: YOUR_API_KEY_HERE' \
-H 'X-Auth-Nonce: YOUR_API_KEY_HERE' \
-H 'X-Auth-Signature: YOUR_API_KEY_HERE' \
-H 'X-Auth-Timestamp: YOUR_API_KEY_HERE' \
-H 'X-Auth-Version: YOUR_API_KEY_HERE' \
-H 'customer-number: string'{ "accountId": 0, "assetSymbol": "string", "balance": 0, "onchainInfo": [ { … } ] }