The purpose of this endpoint is to return a status regarding the customer's active staking orders, i.e. how much money is waiting to stake, how much is currently staking and how much is in the process of exiting staking.
Bitcoin Suisse API (1.7.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.
Download OpenAPI description
Overview
URL
Bitcoin Suisse AG
License
Languages
Servers
Bitcoin Suisse API
https://api.bitcoinsuisse.com
Bitcoin Suisse Sandbox API
https://sandbox-api.btcsqa.net
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/staking/v6/stakingOrders
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/staking/v6/stakingOrders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.bitcoinsuisse.com/staking/v6/stakingOrders?accountNumber=string&externalReference=string&orderType=Unknown&states=Open&page=1&pageSize=10' \
-H 'customer-number: string'Response
application/json
{ "count": 0, "page": 0, "totalCount": 0, "pageSize": 0, "items": [ { … } ] }
Body
- application/json-patch+json
- application/json
- text/json
- application/*+json
If the order is a staking entry the account number should be a trading account If the order is a staking exit the account number should be a staking account
A staking product must be passed in case of entry order placed for a trading account not linked with a staking account. It is also possible to pass a product if the entry order should be made to a different product than the product of the staking account already paired with the trading account. Otherwise left empty.
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/staking/v6/stakingOrders/{id}
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/staking/v6/stakingOrders/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.bitcoinsuisse.com/staking/v6/stakingOrders/{id}' \
-H 'Content-Type: application/json-patch+json' \
-H 'customer-number: string' \
-d '{
"fromAccountNumber": "string",
"productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
"amount": 0,
"externalReference": "string"
}'- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/staking/v6/stakingOrders/{id}
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/staking/v6/stakingOrders/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.bitcoinsuisse.com/staking/v6/stakingOrders/{id}' \
-H 'customer-number: string'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "amount": 0, "assetSymbol": "string", "orderNumber": "string", "fromAccountNumber": "string", "toAccountNumber": "string", "customerNumber": 0, "createdOn": "2019-08-24T14:15:22Z", "estimatedEffectuatedTime": "2019-08-24T14:15:22Z", "estimatedCompletedTime": "2019-08-24T14:15:22Z", "effectuated": true, "state": "Open", "type": "Unknown", "externalComment": "string", "transactionReference": "string" }