Download OpenAPI specification:
Fireblocks Provider Connectivity API defines the interface for integration of third-party providers into Fireblocks platform.
Fireblocks connects businesses across the crypto world as the digital asset infrastructure for over 1,800 leading trading desks, hedge funds, brokerages, custodians, 3rd parties, and banks. To meet the demand for third-party services that want to access the liquidity of institutional investors and traders, Fireblocks is opening its platform for fast third-party integration. As part of an initiative to make sure that the end user still has complete control over their own assets, the provider can offer an Off Exchange solution. This way, the end user can enjoy the various benefits of the exchange while avoiding the risk of a centralized malfunction, all through the Fireblocks platform. Reach out to us for a partnership agreement and add a Connector to have your product integrated.
Fireblocks customers use the Fireblocks web-based console to connect their Fireblocks account to third-party solution providers. Fireblocks supports the integration of various solution providers such as banks, cryptocurrency exchanges, and cryptocurrency on-ramp and off-ramp services.
After a third-party account is connected, customers use the Fireblocks Console and Fireblocks API to:
Fireblocks gives you, as a partner, the ability to integrate your services and be listed on Fireblocks platform as a bank or an exchange (including being registered as an on/off-ramp provider). To be listed as a partner on Fireblocks platform, partners implement the Fireblocks Connectivity API and register their services by contacting Fireblocks support team.
The API uses textual properties to identify its resources. These properties are called
id
when they identify the parent resource. ID property names that are prepended by
a resource name point to some other resource; for example, assetId
or accountId
.
The IDs must uniquely identify each resource. Other than that the API does not require
the IDs to have any specific structure.
Servers implementing the API are expected to be idempotent. That is, a client should be able to safely retransmit the same request, being confident that the server will execute the operation only once.
Request idempotence is achieved by adding idempotencyKey
property to requests that
create or modify server resources. All retries of the same requests are sent containing
the same unique idempotency key. Clients will never reuse an idempotency key for other
requests.
When a server encounters a request with a previously used idempotency key, it should act as follows:
{
"message": "<Description of the error>",
"errorType": "idempotency-key-reuse",
"propertyName": "idempotencyKey",
"requestPart": "body"
}
Servers are expected to recognize a retry for 7 days, at least, since the last attempt.
All API endpoint returning lists of entities use pagination to limit the number of items returned in a response. The pagination is controlled by the following query parameters:
Parameter | Description |
---|---|
limit |
The maximum number of items to return in a single response. |
startingAfter |
Item ID. Instructs to return the items immediately following this object and not including it. |
endingBefore |
Item ID. Instructs to return the items immediately preceding this object and not including it. |
startingAfter
or
endingBefore
parameter.endingBefore
and startingAfter
are mutually exclusive. If both are provided, the
server should respond with HTTP status code 400 and response body containing a JSON
object with the following properties:{
"message": "Only one of the parameters 'startingAfter' and 'endingBefore' can be used.",
"errorType": "invalid-query-parameters",
"propertyName": "startingAfter",
"requestPart": "query"
}
The API consists of separate optional components with flexible capabilities. Fireblocks
platform uses /capabilities/*
endpoints to discovery dynamically the supported
components
and capabilities.
The discovery process starts with calling GET /capabilities
. The response specifies
the implemented API version and an array of the supported API capabilities; for example,
this response indicates that all the capabilities are supported:
{
"version": "0.1.1",
"components": {
"accounts": "*",
"balances": "*",
"transfers": "*",
"transfersBlockchain": "*",
"transfersFiat": "*",
"transfersPeerAccounts": "*",
"trading": "*",
"liquidity": "*",
"ramps": "*"
}
}
If a capability is supported only by a specific sub-account, the value of a capability could be replaced by a list of account IDs:
{
"version": "0.1.1",
"components": {
"accounts": "*",
"balances": "*",
"transfers": [
"6cd2fe1e-d0bc-4fad-a9ba-9384e0fdfdc0",
"7885a47b-0719-4448-b59e-3b8497cd1685"
]
}
}
Based on the response, Fireblocks platform will use the endpoints specific to each component to discover the specific capabilities for each component.
All the capability, accounts, and balances endpoints must be always implemented, for all the users and all their accounts. These endpoints are:
GET /capabilities
GET /capabilities/assets
GET /capabilities/assets/{id}
GET /accounts
GET /accounts/{accountId}
GET /accounts/{accountId}/balances
To ensure secure communication the protocol specifies several HTTP headers that must be sent with each HTTP request:
X-FBAPI-KEY
- a secret token used to identify and authenticate the API caller.X-FBAPI-TIMESTAMP
- request creation UTC time, expressed in milliseconds since Unix
Epoch.X-FBAPI-NONCE
- request universal unique identifier (UUID).X-FBAPI-SIGNATURE
– request cryptographic signature.HTTP request signature is calculated by applying a sequence of operations to the request data. The cryptographic keys and the specific operations used by a server are defined during the server on-boarding.
Build the message by concatenating the following parts of the request in this specific order:
X-FBAPI-TIMESTAMP
header;X-FBAPI-NONCE
header;For example, let's assume a client decides to get the first two balances of the account
with ID A1234
. These are the request properties:
Property | Value |
---|---|
Timestamp | 1691606624184 (2023-08-09T18:43:44.184Z) |
Nonce | c3d5f400-0e7e-4f94-a199-44b8cc7b6b81 |
Method | GET |
Endpoint | /accounts/A1234/balances?limit=2 |
Request body | no request body for this request |
The message to sign will
be: 1691606624184c3d5f400-0e7e-4f94-a199-44b8cc7b6b81GET/accounts/A1234/balances?limit=2
The signature is computed by applying a pre-encoding function, a signing algorithm and a post-encoding function to the message. A server can implement one of the several supported options and specify the choice during the server on-boarding process. The same signing method will be used for all the requests.
These are the supported algorithms:
Pre- and post-encoding:
Signing algorithms and possible hash functions:
An asset in Fireblocks Connectivity API is either a national currency ( per ISO-4217), one of the blockchain native cryptocurrencies, explicitly listed in the API specification, or an arbitrary blockchain token. A provider can choose to support test versions of assets by setting testAsset flag in the capabilities response.
Any token used anywhere in the API must be listed in the response to GET /capabilities/assets
. The returned object assigns a unique ID to each token. When an
asset
is used in a request or a response it is identified by its code/symbol, if it is an asset
predefined by the API specification; otherwise, it is identified by the aforementioned
unique ID.
National currencies and blockchain native currencies (e.g., BTC and ETH) can be specified without listing them in
/capabilities/assets
.
Transfer methods define how assets are withdrawn and deposited. Each transfer method starts as a capability. Given a capability, it can be used to define transfer addresses. Finally, an address is used to make an actual transfer.
For example, calling GET /capabilities/transfers/withdrawals
could return the following
object:
[
{
"balanceAsset": {
"coinType": "NationalCurrency",
"currencyCode": "USD"
},
"capability": {
"transferMethod": "PublicBlockchain",
"blockchain": "Ethereum",
"asset": {
"assetId": "a36c6daa-8ce9-4fd5-9b1d-5c33901a08e9"
}
}
}
]
And GET /capabilities/assets
return
[
{
"id": "a36c6daa-8ce9-4fd5-9b1d-5c33901a08e9",
"name": "Tether USD",
"symbol": "USDT",
"type": "Erc20Token",
"decimalPlaces": 6,
"blockchain": "Ethereum",
"decimalPlaces": 6,
"contractAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}
]
Combining the two responses together allows the client to understand that the server supports withdrawal of USD balances as USDT over Ethereum blockchain.
In the next step, this capability could be used to define a specific withdrawal destination:
{
"transferMethod": "PublicBlockchain",
"blockchain": "Ethereum",
"asset": {
"assetId": "a36c6daa-8ce9-4fd5-9b1d-5c33901a08e9"
},
"amount": "10",
"address": "0xEC52EC04b660a15B6C7A7C8C85f102B2C6cb2697",
"blockchainTxId": "0xb3b773aaf5929b2f94db973da8bb6f31b334cc57eaef872bd927119946067843"
}
Notice, that in a deposit or a withdrawal operation the operation asset and the balance asset are specified separately, thus enabling scenarios when assets appear as different currencies when they "move".
Moreover, it is possible to define balances as arbitrary buckets, as long as there is a clear definition which assets can be deposited and withdrawn from the bucket.
The same principles apply to fiat transfers. In general, asset transitions could be described as follows:
┌───────────┐ ┌───────────┐ ┌──────────────┐ ┌───────────┐ ┌──────────────┐
│ Deposit │ │ Balance │ │ │ │ Balance │ │ Withdrawal │
│ ├───►│ ├───►│ Conversion ├───►│ ├───►│ │
│ Asset 1 │ │ Asset 2 │ │ │ │ Asset 3 │ │ Asset 4 │
└───────────┘ └───────────┘ └──────────────┘ └───────────┘ └──────────────┘
Example: MXN MXN USD USDC
Let's look in detail at how a transfer method is defined and used throughout the API. All the transfer methods use the same pattern. We will take the IBAN transfer method as an example.
There are four objects, extending one another, that define the IBAN transfer method:
IbanCapability
– used to define that an asset can be transferred using IBAN. For
example, this object is returned by the withdrawal capabilities (getWithdrawalMethods)
and deposit capabilities (getDepositMethods) endpoints.IbanAddress
– extends IbanCapability
and adds to it the IBAN address property and
account holder details. This object is used in deposit address management endpoints,
for example in createDepositAddress and getDepositAddresses.IbanTransferDestination
- extends IbanAddress
and adds to it the amount property.
This object is used in for creation of fiat withdrawals (createFiatWithdrawal
endpoint). Notice how IbanAddress
is not enough for withdrawals but is enough for
deposits, where the amount property is not needed.IbanTransfer
– used to describe existing fiat withdrawal, for example in
getFiatWithdrawals endpoint. It extends IbanTransferDestination
and adds to it the
reference ID property to help correlate a withdrawal to a specific transaction on the
transaction recipient side.When a client retrieves a withdrawal details, an IbanTransfer
object is returned in the
destination
property; for example:
{
asset: {
// defined in IbanCapability
nationalCurrencyCode: "USD", // defined in NationalCurrency
},
transferMethod: "Iban", // defined in IbanCapability
iban: "GB33BUKB20201555555555", // defined in IbanAddress
accountHolder: {
// defined in IbanAddress
name: "Stephen Vincent Strange", // defined in AccountHolderDetails
city: "New York City", // defined in AccountHolderDetails
country: "USA", // defined in AccountHolderDetails
subdivision: "NY", // defined in AccountHolderDetails
address: "177A Bleecker Street", // defined in AccountHolderDetails
postalCode: "10012-1406", // defined in AccountHolderDetails
},
amount: "13.37", // defined in IbanTransferDestination
referenceId: "f9ff7738-92ea-48c8-8e80-68112d46f424", // defined in IbanTransfer
}
The purpose of the Fireblocks collateral account is to enable a middle ground for Traders and Exchanges where Traders assets are not stored in Exchange’s private ledger, yet the exchange get the comfort to lend against the collateral account assets, by having the collateral assets locked by Fireblocks, preventing the Trader from removing collateral assets without getting Exchange confirmation first.
The collateral capability is a two-way integration between Fireblocks and the provider. Fireblocks will send requests to the provider for most cases, but some actions or data fetch will be initiated by the provider.
The Fireblocks -> Provider requests are described in this API specification. The Provider -> Fireblocks requests are listed below (refer to the Fireblocks' API specification for the full details):
GET /v1/collateral/transactions/{collateralTxId}
POST /v1/collateral/settlements
GET /v1/collateral/settlements/{settlementId}/transactions
GET /v1/collateral/address/{assetId}
PUT
/GET
/DELETE
/POST
/v1/collateral/settlements/force
POST /v1/collateral/signers/token
GET /v1/collateral/workspaces
GET /v1/collateral/signers/data
POST /v1/collateral/notify
Fireblocks enables users to link their provider accounts to their workspace.
Once the account is connected, the user can at run the supported actions from the Fireblocks workspace.
For the collateral assets, Fireblocks will open a dedicated vault account which will be called Collateral Vault Account (CVA). Any assets added to the CVA will be locked by the Fireblocks Policy and removing collateral assets from the CVA will require the provider’s confirmation.
Fireblocks users will be able to add collateral for main accounts only (MA).
There is a 1:1 relation between a CVA and a main account (MA).
The expected flow is for traders to add collateral for an MA, gain credit on their MA balance, and then allocate assets to the various MA sub-accounts.
The provider is expected to register a collateralId
to an internal accountId
and in case of an API key replacement, to respond to a CVA list request with the existing collateralId
.
For settlements, traders would need to transfer assets up to the MA as settlements will be executed on the CVA and MA balances only.
The collateral functionality should apply to any main account of a customer that has enabled this functionality. Meaning, once a customer is eligible and onboarded, all the existing main accounts of this customer should be enabled for gaining credit against CVA assets, while maintaining the usual deposit and withdrawal functionality.
We use the terms ‘add collateral’ and ‘remove collateral’ to distinguish between the CVA and the MA. For the MA, we keep referring with the usual deposit and withdraw terminology.
Please be aware that Fireblocks expect the deposits and withdrawals to and from the MA to remain active and available for CVA-linked MAs.
If a withdrawal from a MA is denied due to outstanding MA credit or customer-level credit, the provider is expected to respond with a ‘settlement is required’ status.
As mentioned, FB will send a POST request each time a collateral is added via the FB system. The request will include the address(es) to which the collateral assets are deposited. The provider is expected to identify whether the address(es) are new and if so, add the new addresses to the CVA addresses list.
Once a CVA is created for a MA, Fireblocks will start presenting Traders with 3 types of provider balance.
Initiation - we send Collateral ID and we want to get back a success with Collateral ID. If the API Key we use is of an account that already has a collateral ID, we want the success message to contain the existing collateral ID and we will not use the new one.
Settlement transactions are on-chain transactions. provider should estimate future fees once crediting a Trader account relying on the CVA locked assets.
provider A may choose to credit 1:1 (e.g 1 BTC credit for each 1 BTC in CVA), but to ask for settlements earlier than provider B that chooses to credit 0.8:1 in order to keep aside an amount to cover settlement transactions’ network fees.
Settlements that involve gas-powered assets transferred from a CVA to an provider OTA, require the Trader to make sure there’s enough gas.
As a fallback, provider can deposit gas to the CVA by querying for the Ethereum address or any other base asset address.
At this time, Fireblocks will not manage gas stations for CVAs.
The identifier of the CVA is called ‘collateral ID’ and is represented as a series of 3 uuid4 formats separated with a . delimiter.
Fireblocks keeps a record of each provider supported assets. On each deposit into the CVA, Fireblocks sends a POST call to the provider with the address to which the asset is being deposited, the name of the asset and network as the provider defined them, and the unique fireblocksAssetId which the provider needs to track in order to communicate with Fireblocks about this asset.
Fireblocks will not allow users to add unsupported assets as collateral. A caveat to that rule is that a user may transfer funds to a CVA not via the Fireblocks UI/API. In that case, the provider would not get a POST ‘address’, and may ignore that deposit, not credit against it, and confirm its removal once asked for.
Assets that Fireblocks do not support cannot be included in settlements. If a non-supported asset is at the MA and needs to settle, the provider wouldn't be able to include it in the settlement as there isn’t any Fireblocks Asset Id for assets that Fireblocks do not support.
As settlement transactions are on-chain transactions, frequency based settlements are not recommended, to minimize network fees. Instead, the best practice for providers to trigger settlements would be based on the value difference between the CVA assets and the total provider account value (including unrealised P&L). Traders may trigger settlements after spot trading where the value difference may be minimal, but for the provider-side settlement-logic, risk appetite for a specific
The following description is for the available auto-sign mechanism for settlement transactions that customers do not respond to.
providers can choose to require some or all customers to create an API-based user in the Collaterals Workspace, for the provider to run on an provider owned and operated machine. This is a user from a Collaterals Signer role, which is limited, cannot fetch balances, cannot initiate transactions, but can sign some settlement transactions as described below.
If a customer does not sign and does not deny settlement transactions during the SLA that was defined by the provider for the customers to respond to settlement transactions, then at the end of this SLA time, these transactions which the customer did not sign nor deny, will be sent by Fireblocks to the provider Collaterals Signer user to be automatically signed.
No development is required, only operations of deploying and running a machine for the Collaterals Signer user to be online ready to sign transactions if needed.
Customers can create a Collaterals Signer user after getting a CSR from the provider.
If customers deny a settlement transaction, the denied transaction will not be sent to the Collaterals Signer for auto-sign.
For providers that want to prevent continuous ‘deny’ situations with customers, Fireblocks enables the Forced Settlement flow, which like the Auto-sign flow, requires the provider to run a Collaterals Signer machine.
At the end of the Auto-sign SLA, if customers have denied some or all of the settlement transactions, the provider can mark the settlement as a Forced Settlement candidate. We strongly recommend the provider to contact the customer and get to an agreed upon settlement terms, Fireblocks will anyway alert the customer about any settlement that is being marked for enforcement.
Marking a settlement as a Forced Settlement candidate means that all of the non-completed transactions that were part of the settlement ID will be enforced. Per-transaction marking is not supported, but a new settlement can be created if as a result of discussing with the customer, some of the transactions from the original settlement have changed.
The marking is done by sending a PUT request to Fireblocks settlements/force endpoint, and can be done for the last settlement only. A request to mark a settlement ID which is not the last settlement ID created, will be failed. Once a settlement has been marked as a Forced Settlement candidate, no other settlement can be initiated before either the marking is canceled, or the Forced Settlement is completed. Only one settlement can be marked at a given time.
Once a settlement has been marked as a Forced Settlement candidate, Fireblocks stops Off-provider operations (Add collateral, Remove collateral, GET/POST Settlement request from the customer).
Canceling the marking is done by sending a DEL request to Fireblocks settlements/force endpoint.
An Enforcement SLA should be set by the provider and communicated to customers.
During the time between marking a settlement and forcing it at the end of the SLA, the provider can get information about a marked settlement by sending a GET request to Fireblocks settlements/force endpoint.
At the end of the Enforcement SLA, the provider can force all the non-completed transactions from the original settlement by sending a POST request to Fireblocks settlements/force endpoint. This request starts an asynchronous process. This request will not be answered before the following process ends. Once Fireblocks get the POST Force req, Fireblocks send a POST request to the provider on the settlements/force endpoint on the provider side, with a list of the transactions to be created. If the provider approves the transactions list, Fireblocks creates a new settlement ID, new transaction IDs, and those are included in the response to the POST request from the provider that started this asynchronous process.
We will enable providers to mark the last settlement ID for up to 7 days since the settlement ID creation.
We will enable providers to force a settlement for up to 10 days since the settlement ID creation.
NOTE: If a to-exchange settlement transaction has been cancelled, you will not be able to force that settlement.
To ensure a seamless onboarding process the off-exchange clients, we have developed an automation for creating the Collateral Signer user. This user is created right after the creation of a collateral workspace that will hold the CVAs. The creation process for the Collateral Signer user entails pairing it with a designated co-signer that runs on a Partner’s owned machine. This pairing procedure utilizes a user pairing token, which can be pulled from Fireblocks. Upon completion of the user creation process, Fireblocks will notify the Partner that a Collateral Signer user is ready, and its pairing token can be pulled. Afterwards, the pairing token can be added as a new Collateral Signer user to the Partner’s Collateral Signer machine.
Returns the API version and all the capabilities that the server supports.
The capabilities are specified as a map. The map keys are the capability names and the values are lists of account IDs. If all the accounts support a capability, an asterisk could be used, instead of listing all the accounts.
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "version": "1.0.37",
- "components": {
- "accounts": "*",
- "balances": "*",
- "transfers": "*",
- "transfersBlockchain": "*",
- "transfersFiat": "*",
- "transfersPeerAccounts": "*",
- "transfersInternal": "*",
- "trading": "*",
- "liquidity": "*",
- "collateral": "*",
- "ramps": "*"
}
}
Returns assets, supported in addition to the predefined national currencies and the native cryptocurrencies.
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "assets": [
- {
- "id": "360de0ad-9ba1-45d5-8074-22453f193d65",
- "type": "Erc20Token",
- "blockchain": "Ethereum",
- "contractAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "name": "USDC",
- "symbol": "USDC",
- "description": "USDC is a fully collateralized US Dollar stablecoin developed by CENTRE, the open source project with Circle being the first of several forthcoming issuers.",
- "decimalPlaces": 6
}, - {
- "id": "606bce6b-ff15-4704-9390-b9e32a6cfcff",
- "type": "Erc20Token",
- "blockchain": "Polygon PoS",
- "contractAddress": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
- "name": "USDC",
- "symbol": "USDC",
- "description": "USD Coin is an ERC-20 stablecoin brought to you by Circle and Coinbase. It is issued by regulated and licensed financial institutions that maintain full reserves of the equivalent fiat currency.",
- "decimalPlaces": 6
}, - {
- "id": "4386cf4d-83b2-4410-96da-0d3919a45506",
- "type": "StellarToken",
- "blockchain": "Stellar",
- "issuerAddress": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
- "stellarCurrencyCode": "USDC",
- "name": "USDC",
- "symbol": "USDC",
- "description": "USDC is a fully collateralized US Dollar stablecoin, based on the open source fiat stablecoin framework developed by Centre.",
- "decimalPlaces": 2
}
]
}
Returns the details of an assets, supported in addition to the predefined national currencies and the native cryptocurrencies.
id required | string Entity unique identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "id": "string",
- "name": "string",
- "symbol": "string",
- "description": "string",
- "decimalPlaces": 0,
- "testAsset": true,
- "type": "BucketAsset"
}
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "capabilities": [
- {
- "id": "string",
- "fromAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}
}
]
}
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "books": [
- {
- "id": "BTC/USDC",
- "description": "Bitcoin book",
- "baseAsset": {
- "blockchain": "Bitcoin",
- "cryptocurrencySymbol": "BTC"
}, - "quoteAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}
}, - {
- "id": "GBP/USDC",
- "baseAsset": {
- "nationalCurrencyCode": "GBP"
}, - "quoteAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
This response indicates that all USD and USDC bucket balances could be withdrawn using the USDC tokens on the various blockchains. The USD balance can be specified directly while token and bucket balances must be defined in GET /capabilities/assets
and referenced using their IDs.
The asset IDs in this example are the same IDs used in the examples of GET /capabilities/assets
.
{- "capabilities": [
- {
- "id": "16b8b2c3-bd61-4745-9c48-3d30c2bc6907",
- "withdrawal": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "nationalCurrencyCode": "USD"
}
}, - {
- "id": "55f184db-9860-4ed7-9db7-7cded54ef0f4",
- "withdrawal": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "nationalCurrencyCode": "USD"
}
}, - {
- "id": "68fb13d5-48ff-42d8-8273-1658a9b49082",
- "withdrawal": {
- "asset": {
- "assetId": "4386cf4d-83b2-4410-96da-0d3919a45506"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "nationalCurrencyCode": "USD"
}
}, - {
- "id": "d625f8e7-f8aa-4288-9f39-54fecf024c9a",
- "withdrawal": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}
}, - {
- "id": "e1fb5c58-c4c5-4358-9781-1c52edf1f2f7",
- "withdrawal": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}
}, - {
- "id": "19e6770f-71a9-483b-9d9f-7054ea2dc832",
- "withdrawal": {
- "asset": {
- "assetId": "4386cf4d-83b2-4410-96da-0d3919a45506"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
This response indicates that all USDC token on the various blockchains could be deposited either into the USDC bucket balance or into the USD balance. The USD balance can be specified directly while token and bucket balances must be defined in GET /capabilities/assets
and referenced using their IDs.
The asset IDs in this example are the same IDs used in the examples of GET /capabilities/assets
.
{- "capabilities": [
- {
- "id": "29d7d25a-ed05-479a-9cde-d50b8203d3ec",
- "deposit": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "nationalCurrencyCode": "USD"
}, - "addressCreationPolicy": "CanCreate"
}, - {
- "id": "adfc2457-1bb7-40d0-9d46-3cfa2dd3a7e1",
- "deposit": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "nationalCurrencyCode": "USD"
}, - "addressCreationPolicy": "CanCreate"
}, - {
- "id": "eda3dbb8-ef94-400e-8a6b-2a38302b9505",
- "deposit": {
- "asset": {
- "assetId": "4386cf4d-83b2-4410-96da-0d3919a45506"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "nationalCurrencyCode": "USD"
}, - "addressCreationPolicy": "CannotCreate"
}, - {
- "id": "b9f471f0-4920-464f-9c6a-97929cc31950",
- "deposit": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}, - "addressCreationPolicy": "CannotCreate"
}, - {
- "id": "53a36de2-f36f-4301-8292-a0ecc1c32cda",
- "deposit": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}, - "addressCreationPolicy": "CanCreate"
}, - {
- "id": "dd59e6d1-c8ca-4499-8b3f-786ce417ed17",
- "deposit": {
- "asset": {
- "assetId": "4386cf4d-83b2-4410-96da-0d3919a45506"
}, - "transferMethod": "PublicBlockchain"
}, - "balanceAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}, - "addressCreationPolicy": "CanCreate"
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
This response indicates that on ramp from USD to USDC, off ramp from USDC to USD and bridging between USDC and USDC on different blockchains are supported. The USD asset can be specified directly while tokens must be defined in GET /capabilities/assets
and referenced using their IDs.
The asset IDs in this example are the same IDs used in the examples of GET /capabilities/assets
.
{- "capabilities": [
- {
- "id": "16b8b2c3-bd61-4745-9c48-3d30c2bc6907",
- "from": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban"
}, - "to": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}
}, - {
- "id": "69fa4f38-c1fd-4215-a310-82272225c4ef",
- "from": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "to": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban"
}
}, - {
- "id": "afc7caa0-5b7e-4c98-8f2a-a037d0c6bbea",
- "from": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "to": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}
}
]
}
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
balances | boolean Flag to include the account balances in the response. Balances are not returned by default for account endpoints. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "accounts": [
- {
- "id": "string",
- "title": "string",
- "description": "string",
- "balances": [
- {
- "id": "string",
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "availableAmount": "string",
- "lockedAmount": "string",
- "creditAmount": "string"
}
], - "status": "active",
- "parentId": "string"
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
balances | boolean Flag to include the account balances in the response. Balances are not returned by default for account endpoints. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "id": "string",
- "title": "string",
- "description": "string",
- "balances": [
- {
- "id": "string",
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "availableAmount": "string",
- "lockedAmount": "string",
- "creditAmount": "string"
}
], - "status": "active",
- "parentId": "string"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
assetId | string ID of one of the assets returned in get-additional-assets. Limits the response to one. Cannot be used in conjunction with cryptocurrencySymbol or nationalCurrencyCode |
nationalCurrencyCode | string (NationalCurrencyCode) Enum: "ADP" "AED" "AFA" "AFN" "ALK" "ALL" "AMD" "ANG" "AOA" "AOK" "AON" "AOR" "ARA" "ARP" "ARS" "ARY" "ATS" "AUD" "AWG" "AYM" "AZM" "BAD" "BAM" "BBD" "BDT" "BEC" "BEF" "BEL" "BGJ" "BGK" "BGL" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BOP" "BOV" "BRB" "BRC" "BRE" "BRL" "BRN" "BRR" "BSD" "BTN" "BUK" "BWP" "BYB" "BYN" "BYR" "BZD" "CAD" "CDF" "CHC" "CHE" "CHF" "CHW" "CLF" "CLP" "CNY" "COP" "COU" "CRC" "CSD" "CSJ" "CSK" "CUC" "CUP" "CVE" "CYP" "CZK" "DDM" "DEM" "DJF" "DKK" "DOP" "DZD" "ECS" "ECV" "EEK" "EGP" "ERN" "ESA" "ESB" "ESP" "ETB" "EUR" "FIM" "FJD" "FKP" "FRF" "GBP" "GEK" "GEL" "GHC" "GHP" "GHS" "GIP" "GMD" "GNE" "GNF" "GNS" "GQE" "GRD" "GTQ" "GWE" "GWP" "GYD" "HKD" "HNL" "HRD" "HRK" "HTG" "HUF" "IDR" "IEP" "ILP" "ILR" "ILS" "INR" "IQD" "IRR" "ISJ" "ISK" "ITL" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAJ" "LAK" "LBP" "LKR" "LRD" "LSL" "LSM" "LTL" "LTT" "LUC" "LUF" "LUL" "LVL" "LVR" "LYD" "MAD" "MDL" "MGA" "MGF" "MKD" "MLF" "MMK" "MNT" "MOP" "MRO" "MRU" "MTL" "MTP" "MUR" "MVQ" "MVR" "MWK" "MXN" "MXP" "MXV" "MYR" "MZE" "MZM" "NAD" "NGN" "NIC" "NIO" "NLG" "NOK" "NPR" "NZD" "OMR" "PAB" "PEH" "PEI" "PEN" "PES" "PGK" "PHP" "PKR" "PLN" "PLZ" "PTE" "PYG" "QAR" "RHD" "ROK" "ROL" "RON" "RSD" "RUB" "RUR" "RWF" "SAR" "SBD" "SCR" "SDD" "SDG" "SDP" "SEK" "SGD" "SHP" "SIT" "SKK" "SLL" "SOS" "SRD" "SRG" "SSP" "STD" "STN" "SUR" "SVC" "SYP" "SZL" "THB" "TJR" "TJS" "TMM" "TMT" "TND" "TOP" "TPE" "TRL" "TRY" "TTD" "TWD" "TZS" "UAH" "UAK" "UGS" "UGW" "UGX" "USD" "USN" "USS" "UYI" "UYN" "UYP" "UYU" "UYW" "UZS" "VEB" "VEF" "VES" "VNC" "VND" "VUV" "WST" "XAF" "XCD" "XOF" "XPF" "XSU" "XTS" "XUA" "XXX" "YDD" "YER" "YUD" "YUM" "YUN" "ZAL" "ZAR" "ZMK" "ZMW" "ZRN" "ZRZ" "ZWC" "ZWD" "ZWL" "ZWN" "ZWR" Limits the response to one asset with the provided NationalCurrencyCode Cannot be used in conjunction with cryptocurrencySymbol or assetId |
cryptocurrencySymbol | string (CryptocurrencySymbol) Enum: "ADA" "ALGO" "ARB" "ASTR" "ATOM" "AURORA" "AVAX" "AXL" "BASE" "BCH" "BCHA" "BITKUB" "BNB" "BSV" "BTC" "CANTO" "CELESTIA" "CELO" "CHZ" "CHZ2" "CTXC" "DASH" "DOGE" "DOT" "DYDX" "EOS" "ETC" "ETH" "ETHW" "EVMOS" "FLR" "FTM" "GLMR" "HBAR" "HT" "KAVA" "KSM" "LTC" "LUNA" "LUNA2" "MATIC" "MOVR" "NEAR" "OAS" "OPT" "OSMO" "PALM" "RON" "RSK" "SMR" "SOL" "SONGBIRD" "SXNETWORK" "TKX" "TRX" "VLX" "WEMIX" "XDB" "XDC" "XEC" "XEM" "XLM" "XRP" "XTZ" "ZEC" Limits the response to one asset with the provided CryptocurrencySymbol Cannot be used in conjunction with nationalCurrencyCode or assetId |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "balances": [
- {
- "id": "4ff63424-7e09-4cdf-b7f1-da7b7c65eabe",
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "availableAmount": "1743.43",
- "lockedAmount": "0"
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
assetId | string ID of one of the assets returned in get-additional-assets. Limits the response to one. Cannot be used in conjunction with cryptocurrencySymbol or nationalCurrencyCode |
nationalCurrencyCode | string (NationalCurrencyCode) Enum: "ADP" "AED" "AFA" "AFN" "ALK" "ALL" "AMD" "ANG" "AOA" "AOK" "AON" "AOR" "ARA" "ARP" "ARS" "ARY" "ATS" "AUD" "AWG" "AYM" "AZM" "BAD" "BAM" "BBD" "BDT" "BEC" "BEF" "BEL" "BGJ" "BGK" "BGL" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BOP" "BOV" "BRB" "BRC" "BRE" "BRL" "BRN" "BRR" "BSD" "BTN" "BUK" "BWP" "BYB" "BYN" "BYR" "BZD" "CAD" "CDF" "CHC" "CHE" "CHF" "CHW" "CLF" "CLP" "CNY" "COP" "COU" "CRC" "CSD" "CSJ" "CSK" "CUC" "CUP" "CVE" "CYP" "CZK" "DDM" "DEM" "DJF" "DKK" "DOP" "DZD" "ECS" "ECV" "EEK" "EGP" "ERN" "ESA" "ESB" "ESP" "ETB" "EUR" "FIM" "FJD" "FKP" "FRF" "GBP" "GEK" "GEL" "GHC" "GHP" "GHS" "GIP" "GMD" "GNE" "GNF" "GNS" "GQE" "GRD" "GTQ" "GWE" "GWP" "GYD" "HKD" "HNL" "HRD" "HRK" "HTG" "HUF" "IDR" "IEP" "ILP" "ILR" "ILS" "INR" "IQD" "IRR" "ISJ" "ISK" "ITL" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAJ" "LAK" "LBP" "LKR" "LRD" "LSL" "LSM" "LTL" "LTT" "LUC" "LUF" "LUL" "LVL" "LVR" "LYD" "MAD" "MDL" "MGA" "MGF" "MKD" "MLF" "MMK" "MNT" "MOP" "MRO" "MRU" "MTL" "MTP" "MUR" "MVQ" "MVR" "MWK" "MXN" "MXP" "MXV" "MYR" "MZE" "MZM" "NAD" "NGN" "NIC" "NIO" "NLG" "NOK" "NPR" "NZD" "OMR" "PAB" "PEH" "PEI" "PEN" "PES" "PGK" "PHP" "PKR" "PLN" "PLZ" "PTE" "PYG" "QAR" "RHD" "ROK" "ROL" "RON" "RSD" "RUB" "RUR" "RWF" "SAR" "SBD" "SCR" "SDD" "SDG" "SDP" "SEK" "SGD" "SHP" "SIT" "SKK" "SLL" "SOS" "SRD" "SRG" "SSP" "STD" "STN" "SUR" "SVC" "SYP" "SZL" "THB" "TJR" "TJS" "TMM" "TMT" "TND" "TOP" "TPE" "TRL" "TRY" "TTD" "TWD" "TZS" "UAH" "UAK" "UGS" "UGW" "UGX" "USD" "USN" "USS" "UYI" "UYN" "UYP" "UYU" "UYW" "UZS" "VEB" "VEF" "VES" "VNC" "VND" "VUV" "WST" "XAF" "XCD" "XOF" "XPF" "XSU" "XTS" "XUA" "XXX" "YDD" "YER" "YUD" "YUM" "YUN" "ZAL" "ZAR" "ZMK" "ZMW" "ZRN" "ZRZ" "ZWC" "ZWD" "ZWL" "ZWN" "ZWR" Limits the response to one asset with the provided NationalCurrencyCode Cannot be used in conjunction with cryptocurrencySymbol or assetId |
cryptocurrencySymbol | string (CryptocurrencySymbol) Enum: "ADA" "ALGO" "ARB" "ASTR" "ATOM" "AURORA" "AVAX" "AXL" "BASE" "BCH" "BCHA" "BITKUB" "BNB" "BSV" "BTC" "CANTO" "CELESTIA" "CELO" "CHZ" "CHZ2" "CTXC" "DASH" "DOGE" "DOT" "DYDX" "EOS" "ETC" "ETH" "ETHW" "EVMOS" "FLR" "FTM" "GLMR" "HBAR" "HT" "KAVA" "KSM" "LTC" "LUNA" "LUNA2" "MATIC" "MOVR" "NEAR" "OAS" "OPT" "OSMO" "PALM" "RON" "RSK" "SMR" "SOL" "SONGBIRD" "SXNETWORK" "TKX" "TRX" "VLX" "WEMIX" "XDB" "XDC" "XEC" "XEM" "XLM" "XRP" "XTZ" "ZEC" Limits the response to one asset with the provided CryptocurrencySymbol Cannot be used in conjunction with nationalCurrencyCode or assetId |
time required | string <date-time> Time of the requested balances. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
{- "balances": [
- {
- "id": "string",
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "availableAmount": "string",
- "lockedAmount": "string",
- "creditAmount": "string"
}
]
}
Either fromAmount
or toAmount
must be specified, while the unspecified amount will be populated by the server and returned in the response.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Details of the quote request
required | NationalCurrency (object) or NativeCryptocurrency (object) or OtherAssetReference (object) (AssetReference) |
required | NationalCurrency (object) or NativeCryptocurrency (object) or OtherAssetReference (object) (AssetReference) |
fromAmount required | string (PositiveAmount) ^\d+(\.\d+)? |
{- "fromAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAmount": "string"
}
{- "id": "string",
- "fromAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "fromAmount": "string",
- "toAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAmount": "string",
- "conversionFeeBps": 0,
- "status": "ready",
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "quotes": [
- {
- "id": "string",
- "fromAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "fromAmount": "string",
- "toAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAmount": "string",
- "conversionFeeBps": 0,
- "status": "ready",
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z"
}
]
}
id required | string Entity unique identifier. |
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "fromAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "fromAmount": "string",
- "toAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAmount": "string",
- "conversionFeeBps": 0,
- "status": "ready",
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z"
}
id required | string Entity unique identifier. |
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "fromAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "fromAmount": "string",
- "toAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "toAmount": "string",
- "conversionFeeBps": 0,
- "status": "ready",
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z"
}
id required | string Entity unique identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "BTC/USDC",
- "description": "Bitcoin book",
- "baseAsset": {
- "blockchain": "Bitcoin",
- "cryptocurrencySymbol": "BTC"
}, - "quoteAsset": {
- "assetId": "f0844d82-7097-4521-95bc-d843724a893e"
}
}
List active sell orders in an order book, sorted ascending by the sell price. Each entry is sum of all the asks at the specific price point.
id required | string Entity unique identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "asks": [
- {
- "id": "EADAC726-414B-4C5B-B26A-8A616446BDB0",
- "price": "29312.03",
- "amount": "9.21634",
- "totalPrice": "270149.63",
- "side": "SELL"
}, - {
- "id": "23631CE5-123B-4163-A6CD-6BF3CE5521C6",
- "price": "29315.97",
- "amount": "22.33346",
- "totalPrice": "654727.04",
- "side": "SELL"
}, - {
- "id": "375C2D0A-2874-4FCE-A860-068856D05A87",
- "price": "29316.95",
- "amount": "9.30764",
- "totalPrice": "272871.62",
- "side": "SELL"
}, - {
- "id": "E577CE57-57BE-49F4-ACA9-DA8EA0F560BD",
- "price": "29317.14",
- "amount": "7.56552",
- "totalPrice": "221799.41",
- "side": "SELL"
}, - {
- "id": "E776FAF0-B9BB-414B-8519-CB01D088FAC2",
- "price": "29317.38",
- "amount": "9.87465",
- "totalPrice": "289498.87",
- "side": "SELL"
}
]
}
List active buy orders in an order book, sorted descending by the buy price. Each entry is sum of all the bids at the specific price point.
id required | string Entity unique identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "bids": [
- {
- "id": "92946569-74FE-42BD-9898-CBD03A5D407B",
- "price": "29312.03",
- "amount": "9.21634",
- "totalPrice": "270149.63",
- "side": "BUY"
}, - {
- "id": "F69C17BB-9E2A-4159-8938-8B142F55B4BE",
- "price": "29310.42",
- "amount": "0.00091",
- "totalPrice": "26.67",
- "side": "BUY"
}, - {
- "id": "E7042B8A-D467-4144-AC53-92C4A96C2A84",
- "price": "29310.35",
- "amount": "0.027",
- "totalPrice": "791.38",
- "side": "BUY"
}, - {
- "id": "6A3444BC-34D1-411B-B505-ADE557307C62",
- "price": "29310.34",
- "amount": "0.4275",
- "totalPrice": "12530.17",
- "side": "BUY"
}, - {
- "id": "27C49660-AC51-409D-A6C9-5E5BB0FFFACE",
- "price": "29310.27",
- "amount": "0.01412",
- "totalPrice": "413.86",
- "side": "BUY"
}
]
}
List fulfilled orders in an order book, sorted descending by the fulfillment time.
id required | string Entity unique identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "trades": [
- {
- "id": "string",
- "amount": "string",
- "price": "string",
- "totalPrice": "string",
- "side": "SELL",
- "finalizedAt": "2019-08-24T14:15:22Z"
}
]
}
List trading orders sorted descending by the creation time.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "orders": [
- {
- "bookId": "string",
- "side": "SELL",
- "timeInForce": "GOOD_TILL_CANCELED",
- "baseAssetQuantity": "string",
- "orderType": "LIMIT",
- "quoteAssetPrice": "string",
- "id": "string",
- "status": "TRADING",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z"
}
]
}
quoteAssetPrice
must be specified for limit orders, but cannot be used in market orders.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Order details
bookId required | string ID of the order book. |
side required | any (OrderSide) Enum: "SELL" "BUY" |
timeInForce required | any (OrderTimeInForce) Enum: "GOOD_TILL_CANCELED" "FILL_OR_KILL" "IMMEDIATE_OR_CANCEL" |
baseAssetQuantity required | string (PositiveAmount) ^\d+(\.\d+)? |
orderType required | any Value: "LIMIT" |
quoteAssetPrice required | string (PositiveAmount) ^\d+(\.\d+)? |
idempotencyKey required | string |
{- "idempotencyKey": "03449d61-0966-481e-b12c-df651451c258",
- "bookId": "BTC_USDC",
- "side": "SELL",
- "orderType": "LIMIT",
- "timeInForce": "GOOD_TILL_CANCELED",
- "baseAssetQuantity": "10",
- "quoteAssetPrice": "20000"
}
{- "id": "cf091554-f2b8-4cea-9783-2a7e5065b549",
- "status": "TRADING",
- "bookId": "BTC_USDC",
- "side": "SELL",
- "orderType": "LIMIT",
- "timeInForce": "GOOD_TILL_CANCELED",
- "baseAssetQuantity": "10",
- "quoteAssetPrice": "20000",
- "createdAt": "2023-06-02T19:45:26.550Z"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
id required | string Entity unique identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "bookId": "string",
- "side": "SELL",
- "timeInForce": "GOOD_TILL_CANCELED",
- "baseAssetQuantity": "string",
- "orderType": "MARKET",
- "id": "string",
- "status": "TRADING",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "trades": [
- {
- "id": "string",
- "amount": "string",
- "price": "string",
- "totalPrice": "string",
- "side": "SELL",
- "finalizedAt": "2019-08-24T14:15:22Z"
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
id required | string Entity unique identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "message": "string",
- "errorType": "schema-error",
- "propertyName": "/topLevelProperyName/childPropertyName/thirdLevelPropertyName",
- "requestPart": "params"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "withdrawals": [
- {
- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string",
- "referenceId": "string"
}
}
]
}
id required | string Entity unique identifier. |
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string",
- "referenceId": "string"
}
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "deposits": [
- {
- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "source": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string",
- "referenceId": "string"
}, - "depositAddressId": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z"
}
]
}
id required | string Entity unique identifier. |
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "source": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string",
- "referenceId": "string"
}, - "depositAddressId": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Deposit address details
idempotencyKey required | string |
required | PublicBlockchainCapability (object) or IbanCapability (object) or SwiftCapability (object) |
{- "idempotencyKey": "string",
- "transferMethod": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain"
}
}
{- "id": "string",
- "destination": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "status": "enabled"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "addresses": [
- {
- "id": "string",
- "destination": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "status": "enabled"
}
]
}
id required | string Entity unique identifier. |
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "destination": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "status": "enabled"
}
id required | string Entity unique identifier. |
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "message": "string",
- "errorType": "schema-error",
- "propertyName": "/topLevelProperyName/childPropertyName/thirdLevelPropertyName",
- "requestPart": "params"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "withdrawals": [
- {
- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string",
- "amount": "string",
- "blockchainTxId": "string"
}
}
]
}
Should reject any non blockchain withdrawal request.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Withdrawal details
idempotencyKey required | string |
balanceAmount required | string (PositiveAmount) ^\d+(\.\d+)? |
required | NationalCurrency (object) or NativeCryptocurrency (object) or OtherAssetReference (object) (AssetReference) |
required | object (PublicBlockchainTransactionDestination) |
object (ParticipantsIdentification) An object that ensures the inclusion of either the originator or beneficiary details for transactions. |
{- "idempotencyKey": "string",
- "balanceAmount": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "destination": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string",
- "amount": "string"
}, - "participantsIdentification": {
- "originator": {
- "externalReferenceId": "string",
- "entityType": "Individual",
- "participantRelationshipType": "FirstParty",
- "fullName": {
- "firstName": "string",
- "lastName": "string"
}, - "dateOfBirth": "1999-01-01",
- "postalAddress": {
- "streetName": "string",
- "buildingNumber": "string",
- "postalCode": "string",
- "city": "string",
- "subdivision": "string",
- "district": "string",
- "country": "US"
}
}, - "beneficiary": {
- "externalReferenceId": "string",
- "entityType": "Individual",
- "participantRelationshipType": "FirstParty",
- "fullName": {
- "firstName": "string",
- "lastName": "string"
}, - "dateOfBirth": "1999-01-01",
- "postalAddress": {
- "streetName": "string",
- "buildingNumber": "string",
- "postalCode": "string",
- "city": "string",
- "subdivision": "string",
- "district": "string",
- "country": "US"
}
}
}
}
{- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string",
- "amount": "string",
- "blockchainTxId": "string"
}
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "withdrawals": [
- {
- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "amount": "string",
- "referenceId": "string"
}
}
]
}
Should reject any non fiat withdrawal request.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Withdrawal details
idempotencyKey required | string |
balanceAmount required | string (PositiveAmount) ^\d+(\.\d+)? |
required | NationalCurrency (object) or NativeCryptocurrency (object) or OtherAssetReference (object) (AssetReference) |
required | IbanAddress (object) or SwiftAddress (object) (FiatTransferDestination) |
{- "idempotencyKey": "string",
- "balanceAmount": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "amount": "string"
}
}
{- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "amount": "string",
- "referenceId": "string"
}
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "withdrawals": [
- {
- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string",
- "referenceId": "string"
}
}
]
}
Should reject any non peer acount withdrawal request.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Withdrawal details
idempotencyKey required | string |
balanceAmount required | string (PositiveAmount) ^\d+(\.\d+)? |
required | NationalCurrency (object) or NativeCryptocurrency (object) or OtherAssetReference (object) (AssetReference) |
required | object (PeerAccountTransferDestination) |
{- "idempotencyKey": "string",
- "balanceAmount": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string"
}
}
{- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "PeerAccountTransfer",
- "accountId": "string",
- "amount": "string",
- "referenceId": "string"
}
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "withdrawals": [
- {
- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "InternalTransfer",
- "accountId": "string",
- "amount": "string"
}
}
]
}
Transfers assets between different sub-accounts of the same user. Should reject any withdrawals that are not sub-account transfers.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Withdrawal details
idempotencyKey required | string |
balanceAmount required | string (PositiveAmount) ^\d+(\.\d+)? |
required | NationalCurrency (object) or NativeCryptocurrency (object) or OtherAssetReference (object) (AssetReference) |
required | object (InternalTransferDestination) |
{- "idempotencyKey": "string",
- "balanceAmount": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "InternalTransfer",
- "accountId": "string",
- "amount": "string"
}
}
{- "id": "string",
- "balanceAsset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "balanceAmount": "string",
- "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "finalizedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "status": "pending",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "destination": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "InternalTransfer",
- "accountId": "string",
- "amount": "string"
}
}
Creates a new link between a collateral account and a provider account.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral account link details
collateralId required | string (CollateralId) Unique string representing the collateral account Id ( |
collateralSigners required | Array of strings (CollateralSignerId) |
env required | string (AccountEnvironment) Enum: "prod" "sandbox" "stage" AccountEnvironment field describes which environment is being run at the moment |
{- "collateralId": "f861c6ca-f4c8-44dd-a02e-081a38745623.95e40c1e-407e-405c-871e-d69218611a79.4cd3e66b-4ee4-4750-bcfd-d2d43054fc5d",
- "collateralSigners": [
- "4cd3e66b-4ee4-4750-bcfd-d2d43054fc5d"
], - "env": "prod"
}
{- "id": "string",
- "status": "Eligible",
- "eligibleCollateralAssets": [
- {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}
], - "rejectionReason": "string",
- "collateralId": "f861c6ca-f4c8-44dd-a02e-081a38745623.95e40c1e-407e-405c-871e-d69218611a79.4cd3e66b-4ee4-4750-bcfd-d2d43054fc5d",
- "collateralSigners": [
- "4cd3e66b-4ee4-4750-bcfd-d2d43054fc5d"
], - "env": "prod"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
This response indicates that the provider account is linked to a collateral account.
{- "collateralLinks": [
- {
- "collateralId": "f861c6ca-f4c8-44dd-a02e-081a38745623.95e40c1e-407e-405c-871e-d69218611a79.4cd3e66b-4ee4-4750-bcfd-d2d43054fc5d",
- "collateralSigners": [
- "4cd3e66b-4ee4-4750-bcfd-d2d43054fc5d"
], - "id": "360de0ad-9ba1-45d5-8074-22453f193d65",
- "eligibleCollateralAssets": [
- {
- "blockchain": "Bitcoin",
- "cryptocurrencySymbol": "BTC",
- "testAsset": false
}, - {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}
], - "status": "Linked",
- "env": "prod"
}
]
}
Notifies the provider to have a new collateral deposit address for a specific asset. The provider is expected to listen to this address and credit the account accordingly, or sending the funds to this address if a withdrawal is requested.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral deposit address details
required | object (PublicBlockchainAddress) |
recoveryAccountId required | string An account ID used when recovering the assets of an off-exchange client |
{- "address": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "recoveryAccountId": "12"
}
{- "id": "string",
- "address": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "recoveryAccountId": "12"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
assetId | string ID of one of the assets returned in get-additional-assets. Limits the response to one. Cannot be used in conjunction with cryptocurrencySymbol or nationalCurrencyCode |
cryptocurrencySymbol | string (CryptocurrencySymbol) Enum: "ADA" "ALGO" "ARB" "ASTR" "ATOM" "AURORA" "AVAX" "AXL" "BASE" "BCH" "BCHA" "BITKUB" "BNB" "BSV" "BTC" "CANTO" "CELESTIA" "CELO" "CHZ" "CHZ2" "CTXC" "DASH" "DOGE" "DOT" "DYDX" "EOS" "ETC" "ETH" "ETHW" "EVMOS" "FLR" "FTM" "GLMR" "HBAR" "HT" "KAVA" "KSM" "LTC" "LUNA" "LUNA2" "MATIC" "MOVR" "NEAR" "OAS" "OPT" "OSMO" "PALM" "RON" "RSK" "SMR" "SOL" "SONGBIRD" "SXNETWORK" "TKX" "TRX" "VLX" "WEMIX" "XDB" "XDC" "XEC" "XEM" "XLM" "XRP" "XTZ" "ZEC" Limits the response to one asset with the provided CryptocurrencySymbol Cannot be used in conjunction with nationalCurrencyCode or assetId |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "addresses": [
- {
- "id": "string",
- "address": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "recoveryAccountId": "12"
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
id required | string Entity unique identifier. |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "address": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "recoveryAccountId": "12"
}
Initiates a preflight request for a new collateral deposit transaction. The provider is notified, and Fireblocks waits for their approval before proceeding.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral deposit transaction preflight request details
required | NativeCryptocurrency (object) or OtherAssetReference (object) (CryptocurrencyReference) |
amount required | string (PositiveAmount) ^\d+(\.\d+)? |
required | object (IntentApprovalRequest) |
{- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "amount": "string",
- "intentApprovalRequest": {
- "fireblocksIntentId": "string"
}
}
{- "id": "string",
- "status": "Approved",
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "amount": "string",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}, - "rejectionReason": "string"
}
Notifies the provider to have start listening to a new collateral deposit transaction. The provider is expected to listen to this address and credit the account accordingly
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral deposit transaction details
collateralTxId required | string A unique identifier of the transaction to track. This field will contain information to help the provider poll the status of the transaction from Fireblocks. |
required | object (ApprovalRequest) Approval request object. |
{- "collateralTxId": "0.8e4cfce8-0182-4c6d-b9dd-a291c105e1d2.0.5a814998-ec0f-4f1c-92bf-fb5f7dc09ea2",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}
}
{- "id": "string",
- "status": "Pending",
- "collateralTxId": "0.8e4cfce8-0182-4c6d-b9dd-a291c105e1d2.0.5a814998-ec0f-4f1c-92bf-fb5f7dc09ea2",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "transactions": [
- {
- "id": "string",
- "status": "Pending",
- "collateralTxId": "0.8e4cfce8-0182-4c6d-b9dd-a291c105e1d2.0.5a814998-ec0f-4f1c-92bf-fb5f7dc09ea2",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
collateralTxId required | string A Fireblocks' ID of a collateral transaction |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "status": "Pending",
- "collateralTxId": "0.8e4cfce8-0182-4c6d-b9dd-a291c105e1d2.0.5a814998-ec0f-4f1c-92bf-fb5f7dc09ea2",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}
}
Initiates a preflight request for a new collateral withdrawal transaction. The provider is notified, and Fireblocks waits for their approval before proceeding.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral withdrawal transaction preflight request details
amount required | string (PositiveAmount) ^\d+(\.\d+)? |
required | object (PublicBlockchainAddress) |
required | object (IntentApprovalRequest) |
{- "amount": "string",
- "destinationAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "intentApprovalRequest": {
- "fireblocksIntentId": "string"
}
}
{- "id": "string",
- "amount": "string",
- "destinationAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}, - "status": "Approved",
- "rejectionReason": "string"
}
Initiate a withdrawal from the customers collateral account. The withdrawal has been confirmed by the provider and signed by the customer. The amount can be reduced from the customers available balance in the provider main account based on the withdrawal amount.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral withdrawal transaction details
collateralTxId required | string |
required | object (ApprovalRequest) Approval request object. |
object (CollateralWithdrawalSettlementTransaction) Represents a collateral withdrawal settlement transaction. Provide details about a withdrawal transaction in case of a settlement. |
{- "collateralTxId": "string",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}, - "settlementDetails": {
- "settlementId": "string",
- "settlementTxId": "string"
}
}
{- "id": "string",
- "status": "Pending",
- "collateralTxId": "string",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}, - "rejectionReason": "string"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "transactions": [
- {
- "id": "string",
- "status": "Pending",
- "collateralTxId": "string",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}, - "rejectionReason": "string"
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
collateralTxId required | string A Fireblocks' ID of a collateral transaction |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "status": "Pending",
- "collateralTxId": "string",
- "approvalRequest": {
- "fireblocksIntentId": "string",
- "partnerIntentId": "string"
}, - "rejectionReason": "string"
}
Request a settlement from the provider.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Collateral withdrawal transaction details
settlementId required | string |
settlementVersion required | string A unique identifier of the settlement state version. This field is optional and can be used to indicate the version of the settlement state the client is referring to. |
{- "settlementId": "string",
- "settlementVersion": "string"
}
{- "settlementVersion": "string",
- "withdrawInstructions": [
- {
- "amount": "string",
- "fee": "string",
- "sourceAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}
}
], - "depositInstructions": [
- {
- "amount": "string",
- "destinationAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}
}
]
}
Gets a list of required transactions to finalize the settlement
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "settlementVersion": "string",
- "withdrawInstructions": [
- {
- "amount": "string",
- "fee": "string",
- "sourceAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}
}
], - "depositInstructions": [
- {
- "amount": "string",
- "destinationAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}
}
]
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
collateralId required | string ID of a collateral account |
settlementVersion required | string A provider version ID of a settlement state |
X-FB-PLATFORM-SIGNATURE required | string Authentication signature of Fireblocks as the originator of the request |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "settlementVersion": "string",
- "withdrawTransactions": [
- {
- "amount": "string",
- "fee": "string",
- "sourceAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "status": "NOT_FOUND",
- "rejectionReason": "string"
}
], - "depositTransactions": [
- {
- "amount": "string",
- "destinationAddress": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "status": "NOT_FOUND",
- "rejectionReason": "string"
}
], - "status": "Invalid"
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
limit | integer [ 1 .. 200 ] Default: 10 Maximum number of returned items. |
startingAfter | string Object ID. Instructs to return the items immediately following this object and not including it. Cannot be used together with |
endingBefore | string Object ID. Instructs to return the items immediately preceding this object and not including it. Cannot be used together with |
order | string Default: "desc" Enum: "asc" "desc" Controls the order of the items in the returned list. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
This response indicates that there are 3 ramps in the account.
{- "ramps": [
- {
- "id": "16b8b2c3-bd61-4745-9c48-3d30c2bc6907",
- "createdAt": "2021-09-01T12:00:00Z",
- "updatedAt": "2021-09-01T12:00:00Z",
- "status": "Pending",
- "amount": "1231.45",
- "type": "OnRamp",
- "from": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban"
}, - "to": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "paymentInstructions": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "John Doe",
- "address": "123 Main St, New York, NY 10001"
}, - "iban": "US1234567890"
}, - "recipient": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain",
- "address": "0x1234567890abcdef1234567890abcdef12345678",
- "tag": "1234567890abcdef"
}, - "fees": {
- "subAccount": 100,
- "provider": 200
}
}, - {
- "id": "69fa4f38-c1fd-4215-a310-82272225c4ef",
- "createdAt": "2021-09-01T12:00:00Z",
- "updatedAt": "2021-09-01T12:00:00Z",
- "status": "Completed",
- "amount": "1231.45",
- "type": "OffRamp",
- "from": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "to": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban"
}, - "paymentInstructions": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain",
- "address": "0x1234567890abcdef1234567890abcdef12345678"
}, - "recipient": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "John Doe",
- "address": "123 Main St, New York, NY 10001"
}, - "iban": "US1234567890"
}, - "payment": {
- "blockchainTxId": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
- "amount": "1231.45",
- "address": "0x1234567890abcdef1234567890abcdef12345678",
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "receipt": {
- "asset": {
- "nationalCurrencyCode": "USD"
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "John Doe",
- "address": "123 Main St, New York, NY 10001"
}, - "iban": "US1234567890",
- "amount": "1231.45"
}, - "fees": {
- "subAccount": 100
}
}, - {
- "id": "afc7caa0-5b7e-4c98-8f2a-a037d0c6bbea",
- "createdAt": "2021-09-01T12:00:00Z",
- "updatedAt": "2021-09-01T12:00:00Z",
- "status": "Processing",
- "amount": "1231.45",
- "type": "Bridge",
- "from": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "to": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}, - "paymentInstructions": {
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain",
- "address": "0x1234567890abcdef1234567890abcdef12355678"
}, - "recipient": {
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain",
- "address": "0x1234567890abcdef1234567890abcdef12345678",
- "tag": "1234567890abcdef"
}, - "payment": {
- "blockchainTxId": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
- "amount": "1231.45",
- "address": "0x1234567890abcdef1234567890abcdef12355678",
- "asset": {
- "assetId": "360de0ad-9ba1-45d5-8074-22453f193d65"
}, - "transferMethod": "PublicBlockchain"
}, - "receipt": {
- "blockchainTxId": "0x1234567890abcdef1234567899abcdef1234567890abcdef1234567890abcdef",
- "amount": "1231.45",
- "address": "0x1234567890abcdef1234567890abcdef12345678",
- "asset": {
- "assetId": "606bce6b-ff15-4704-9390-b9e32a6cfcff"
}, - "transferMethod": "PublicBlockchain"
}, - "fees": {
- "subAccount": 100
}
}
]
}
Creates the payment instructions for the new ramp and return it in the response.
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
Ramp details
idempotencyKey required | string |
amount required | string (PositiveAmount) ^\d+(\.\d+)? |
type required | string Value: "OnRamp" |
required | IbanCapability (object) or SwiftCapability (object) or AchCapability (object) or WireCapability (object) or SpeiCapability (object) (FiatCapability) |
required | object (PublicBlockchainCapability) |
required | object (PublicBlockchainAddress) |
{- "idempotencyKey": "string",
- "amount": "string",
- "type": "OnRamp",
- "from": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban"
}, - "to": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain"
}, - "recipient": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}
}
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "status": "Pending",
- "amount": "string",
- "fees": {
- "subAccount": 0,
- "provider": 0
}, - "type": "OnRamp",
- "from": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban"
}, - "to": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain"
}, - "recipient": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "paymentInstructions": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "referenceId": "string"
}, - "payment": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "amount": "string",
- "referenceId": "string"
}, - "receipt": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string",
- "amount": "string",
- "blockchainTxId": "string"
}
}
accountId required | string^[A-Za-z0-9_-]+$ Sub-account identifier. |
id required | string Entity unique identifier. |
X-FBAPI-KEY required | string API authentication key. |
X-FBAPI-NONCE required | string Unique identifier of the request. |
X-FBAPI-SIGNATURE required | string Request signature using the chosen cryptographic algorithm. The signature is to be calculated on concatenation of the following request fields in the specified order:
|
X-FBAPI-TIMESTAMP required | number Request timestamp in milliseconds since Unix epoch. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "status": "Pending",
- "amount": "string",
- "fees": {
- "subAccount": 0,
- "provider": 0
}, - "type": "OnRamp",
- "from": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban"
}, - "to": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain"
}, - "recipient": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string"
}, - "paymentInstructions": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "referenceId": "string"
}, - "payment": {
- "asset": {
- "nationalCurrencyCode": "ADP",
- "testAsset": true
}, - "transferMethod": "Iban",
- "accountHolder": {
- "name": "string",
- "city": "string",
- "country": "string",
- "subdivision": "string",
- "address": "string",
- "postalCode": "string"
}, - "iban": "string",
- "amount": "string",
- "referenceId": "string"
}, - "receipt": {
- "asset": {
- "blockchain": "Algorand",
- "cryptocurrencySymbol": "ADA",
- "testAsset": true
}, - "transferMethod": "PublicBlockchain",
- "address": "string",
- "addressTag": "string",
- "amount": "string",
- "blockchainTxId": "string"
}
}