Download OpenAPI specification:Download
Returns a list of all Accounts owned by the Entity specified in the request URL by its unique ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "09934947ffdd4bef50ba88ddc5eab0bfacct",
- "entity_id": "359fe08986bbc6b62ea406f864b1ab90enty",
- "asset_id": "00000000000000000000000000000001asst",
- "balance": "123.45670000",
- "available_balance": "123.45600000",
- "type": "BASE",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Creates a new Account under the ownership of the Entity specified in the request URL by its ID.
You must provide a valid Asset ID when creating an Account.
Successfully created the Account.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "asset_id": "00000000000000000000000000000001asst"
}
{- "id": "09934947ffdd4bef50ba88ddc5eab0bfacct",
- "entity_id": "359fe08986bbc6b62ea406f864b1ab90enty",
- "asset_id": "00000000000000000000000000000001asst",
- "balance": "123.45670000",
- "available_balance": "123.45600000",
- "type": "BASE",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Returns the Account specified in the request URL by its unique ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}'
{- "id": "09934947ffdd4bef50ba88ddc5eab0bfacct",
- "entity_id": "359fe08986bbc6b62ea406f864b1ab90enty",
- "asset_id": "00000000000000000000000000000001asst",
- "balance": "123.45670000",
- "available_balance": "123.45600000",
- "type": "BASE",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Returns a list of all Addresses linked to the Account specified in the request URL by its ID. NOTE: For token Accounts, the API will always return an empty list; the Addresses are linked to the corresponding base Account.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/addresses?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "dfddb6ba632e3ee65e49f37b059763cdaddr",
- "account_id": "df10de8c583c8b2ca85ca169df349bffacct",
- "address": "1NgiUwkhYVYMy3eoMC9dHcvdHejGxcuaWm",
- "created_at": "2019-03-01T21:47:06Z",
- "updated_at": "2019-03-01T21:47:06Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Creates a new Address and links it with the Account specified in the request URL. This Address can immediately be used to receive funds on the blockchain.
As each Account is associated with a specific Asset, the new Address will also be linked to this particular Asset.
Note: You cannot create Addresses for TOKEN
Accounts. Create them using the ID of the corresponding base Account instead.
The Address was successfully created.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
The request could not be processed because the referenced resource's current state prevents it.
For example, the API would return this error for an attempt to approve a
FAILED
ApprovalRequest, as this is not possible.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X POST \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/addresses'
{- "id": "dfddb6ba632e3ee65e49f37b059763cdaddr",
- "account_id": "df10de8c583c8b2ca85ca169df349bffacct",
- "address": "1NgiUwkhYVYMy3eoMC9dHcvdHejGxcuaWm",
- "created_at": "2019-03-01T21:47:06Z",
- "updated_at": "2019-03-01T21:47:06Z"
}
Returns the Address specified in the request URL by its ID.
The request was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/addresses/{address_id}'
{- "id": "dfddb6ba632e3ee65e49f37b059763cdaddr",
- "account_id": "df10de8c583c8b2ca85ca169df349bffacct",
- "address": "1NgiUwkhYVYMy3eoMC9dHcvdHejGxcuaWm",
- "created_at": "2019-03-01T21:47:06Z",
- "updated_at": "2019-03-01T21:47:06Z"
}
Retrieves a list of ApprovalMethods that were registered for an Entity with a given ID.
ApprovalMethods in ACTIVATED
state can be used to
approve Transactions initiated by this Entity.
There are different types of ApprovalMethods that can be used:
A list of ApprovalMethods registered for this Entity
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/approval_methods?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "6ec2fbc16ccb8238cbc89b3bf7ea7f39apmt",
- "entity_id": "31adbcbbcede1a7a8cffb4a0e598ad5centy",
- "type": "AUTHY_PUSH",
- "state": "ACTIVATED",
- "created_at": "2019-11-03T12:21:16Z",
- "updated_at": "2019-11-03T12:46:10Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Registers a new ApprovalMethod for the Entity specified in the request URL.
Choose one of the following ApprovalMethod types based on the Entity type:
AUTHY_PUSH
: Multifactor authentication via push notification from
Authy. Use this value when creating an ApprovalMethod
for a PERSON
Entity. DSA_ED25519
: Multifactor authentication based on Ed25519. Use this
value when creating an ApprovalMethod for a BUSINESS
or PARTNER
Entity. Note that you must inform Solaris in advance if you wish to use
this ApprovalMethod type.You may only register one ApprovalMethod of each type per Entity.
Once registered, the ApprovalMethod will have a state
of PENDING
until
it has been activated (either by the platform operator or by an external
provider, e.g., Authy).
Note: Only ACTIVATED
ApprovalMethods can be used to generate ApprovalRequests.
The ApprovalMethod was successfully registered.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "type": "DSA_ED25519",
- "pub_key": "f7bdb63a96ecee424a821d1a5e1f7d582eaabac453ba0560d4e05ff67ece2f20"
}
{- "id": "6ec2fbc16ccb8238cbc89b3bf7ea7f39apmt",
- "entity_id": "31adbcbbcede1a7a8cffb4a0e598ad5centy",
- "type": "AUTHY_PUSH",
- "state": "ACTIVATED",
- "created_at": "2019-11-03T12:21:16Z",
- "updated_at": "2019-11-03T12:46:10Z"
}
Returns the ApprovalMethod specified in the request URL.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/approval_methods/{approval_method_id}'
{- "id": "6ec2fbc16ccb8238cbc89b3bf7ea7f39apmt",
- "entity_id": "31adbcbbcede1a7a8cffb4a0e598ad5centy",
- "type": "AUTHY_PUSH",
- "state": "ACTIVATED",
- "created_at": "2019-11-03T12:21:16Z",
- "updated_at": "2019-11-03T12:46:10Z"
}
Requests the creation of an ApprovalRequest.
For ApprovalRequests of type GROUP
, the Account holder (i.e., the Entity owning the Account) must approve the ApprovalRequest using two-factor authentication before it can be processed.
Please note the following:
POST Create an ApprovalMethod for an Entity
.type
of ApprovalMethod to use for approving the ApprovalRequest depends on the type of Entity that initiated the ApprovalRequest:Entity type | ApprovalMethod type(s) |
---|---|
PERSON |
Either AUTHY_PUSH or SMS |
PARTNER |
Either DSA_ED25519 or GROUP |
BUSINESS |
Either DSA_ED25519 or GROUP |
REPRESENTATIVE_PERSON |
Either AUTHY_PUSH or SMS |
The request body.
The ApprovalRequest was successfully created.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
You have exceeded the allowed number of requests in a given time interval for this endpoint.
The API rate limits certain endpoints for performance or security
reasons (e.g., creating ApprovalRequests of type SMS
).
NOTE: This is a transient error. You may re-attempt the same request with the same attributes. Solaris recommends implementing a back-off strategy as a reaction to this error response.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "type": "DSA_ED25519",
- "resource_type": "TRANSACTION",
- "resource_id": "9c41ec8a82fb99b57cb5078ae0a8b569atrx",
- "entity_id": "10ef67dc895d6c19c273b1ffba0c1692enty",
- "approval_method_id": "aa28b780ec044732f2a02ab44e6275cfapmt",
- "account_id": "9c41ec8a82fb99b57cb5078ae0a8b569acct"
}
{- "id": "2f2fa4af79a1d7ce8a8ff4f54bfc9efaprq",
- "state": "PENDING",
- "entity_id": "c7cbbb0930f21e1525257cac1fc97e54enty",
- "approval_method_id": "aa28b780ec044732f2a02ab44e6275cfapmt",
- "resource_id": "d8ffb93a9269086393e271cf564dc1a7atrx",
- "resource_type": "TRANSACTION",
- "type": "AUTHY_PUSH",
- "created_at": "2019-11-03T13:05:51Z",
- "updated_at": "2019-11-03T13:05:51Z"
}
Returns the ApprovalRequest specified in the request URL by its unique ID.
The ApprovalRequest was successfully retrieved.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/approval_requests/{approval_request_id}'
{- "id": "2f2fa4af79a1d7ce8a8ff4f54bfc9efaprq",
- "state": "PENDING",
- "entity_id": "c7cbbb0930f21e1525257cac1fc97e54enty",
- "approval_method_id": "aa28b780ec044732f2a02ab44e6275cfapmt",
- "resource_id": "d8ffb93a9269086393e271cf564dc1a7atrx",
- "resource_type": "TRANSACTION",
- "type": "AUTHY_PUSH",
- "created_at": "2019-11-03T13:05:51Z",
- "updated_at": "2019-11-03T13:05:51Z"
}
This method approves a Transaction using an ApprovalRequest of type DSA_ED25519
or SMS
.
The response to the ApprovalRequest challenge (when the type is DSA_ED25519
or SMS
).
The transaction was successfully approved.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
The request could not be processed because the referenced resource's current state prevents it.
For example, the API would return this error for an attempt to approve a
FAILED
ApprovalRequest, as this is not possible.
You have exceeded the allowed number of requests in a given time interval for this endpoint.
The API rate limits certain endpoints for performance or security
reasons (e.g., creating ApprovalRequests of type SMS
).
NOTE: This is a transient error. You may re-attempt the same request with the same attributes. Solaris recommends implementing a back-off strategy as a reaction to this error response.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "challenge": {
- "sha256": "f6deeecec4aa0cb77e7f2c6f3f44c28ec5ab3ab22d43441f56cbf0bf1ef80c81"
}, - "response": "c5d5fac9e6fb6b7d27b141625f1c2c991aefc8b9f6e8a6eedb9cdbe9dd691ec310cbdc1bdd9fbd5fb4cfad72ee8fd51cc5f6e7198fecc92d5c465a61ef2c09a1"
}
{- "id": "2f2fa4af79a1d7ce8a8ff4f54bfc9efaprq",
- "state": "PENDING",
- "entity_id": "c7cbbb0930f21e1525257cac1fc97e54enty",
- "approval_method_id": "aa28b780ec044732f2a02ab44e6275cfapmt",
- "resource_id": "d8ffb93a9269086393e271cf564dc1a7atrx",
- "resource_type": "TRANSACTION",
- "type": "AUTHY_PUSH",
- "created_at": "2019-11-03T13:05:51Z",
- "updated_at": "2019-11-03T13:05:51Z"
}
Returns a list of all Assets on the platform.
The request was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/assets?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "00000000000000000000000000000001asst",
- "code": "BTC",
- "description": "Bitcoin",
- "precision": 8,
- "address_validation": "^(bc(0([ac-hj-np-z02-9]{39}|[ac-hj-np-z02-9]{59})|1[ac-hj-np-z02-9]{8,87})|[13][a-km-zA-HJ-NP-Z1-9]{25,35})$",
- "tx_min_amount": "0.00001",
- "type": "BASE",
- "created_at": "2019-03-01T22:46:38Z",
- "updated_at": "2019-03-01T22:46:38Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns a single Asset, specified by its ID in the request URL.
The Asset was fetched successfully.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/assets/{asset_id}'
{- "id": "00000000000000000000000000000001asst",
- "code": "BTC",
- "description": "Bitcoin",
- "precision": 8,
- "address_validation": "^(bc(0([ac-hj-np-z02-9]{39}|[ac-hj-np-z02-9]{59})|1[ac-hj-np-z02-9]{8,87})|[13][a-km-zA-HJ-NP-Z1-9]{25,35})$",
- "tx_min_amount": "0.00001",
- "type": "BASE",
- "created_at": "2019-03-01T22:46:38Z",
- "updated_at": "2019-03-01T22:46:38Z"
}
Returns a list containing all ClosureRequests associated with the Entity specified in the request URL.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/closure_requests?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "ae93e4dcb3d0f5d0e36a227a94ff39e5creq",
- "reason": "ORDINARY_INTERNAL",
- "entity_id": "275cf8f7559fd88710b4c919f85777aaenty",
- "state": "APPROVED",
- "valid_until": "2019-07-01T22:31:06Z",
- "legal_closure_scheduled_at": "2019-05-01T22:31:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Initiates a ClosureRequest for the Entity specified in the request URL.
Successfully created a ClosureRequest.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "reason": "CUSTOMER_WISH"
}
{- "id": "ae93e4dcb3d0f5d0e36a227a94ff39e5creq",
- "reason": "CUSTOMER_WISH",
- "entity_id": "275cf8f7559fd88710b4c919f85777aaenty",
- "state": "PENDING",
- "valid_until": "2019-04-01T22:31:06Z",
- "legal_closure_scheduled_at": "2019-03-01T22:31:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Returns the ClosureRequest specified in the request URL by its unique ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/closure_requests/{closure_request_id}'
{- "id": "ae93e4dcb3d0f5d0e36a227a94ff39e5creq",
- "reason": "CUSTOMER_WISH",
- "entity_id": "275cf8f7559fd88710b4c919f85777aaenty",
- "state": "PENDING",
- "valid_until": "2019-04-01T22:31:06Z",
- "legal_closure_scheduled_at": "2019-03-01T22:31:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Confirms a ClosureRequest of type COMPLIANCE_IMMEDIATE_INTERNAL
or ORDINARY_INTERNAL
.
Successfully confirmed the ClosureRequest.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X POST \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/closure_requests/{closure_request_id}/confirm'
{- "id": "ae93e4dcb3d0f5d0e36a227a94ff39e5creq",
- "reason": "COMPLIANCE_IMMEDIATE_INTERNAL",
- "entity_id": "275cf8f7559fd88710b4c919f85777aaenty",
- "state": "APPROVED",
- "valid_until": "2019-04-01T22:31:06Z",
- "legal_closure_scheduled_at": "2019-03-01T22:31:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Returns a list of all Entities under your control.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "1cbce42a62fc0cdeb1cf17df3ecd6fd6enty",
- "type": "PARTNER",
- "state": "ACTIVE",
- "business_id": "880bbac68a34add190786b9c74f4c82fcbiz",
- "trading_terms_conditions_signed_at": "2019-03-01T22:45:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Creates a new Entity of type PERSON
or BUSINESS
under your control.
You must specify a person_id
attribute when creating an Entity of type
PERSON
. See POST Create a
person
API reference for instructions on how to create a person.
You must specify a name
attribute when creating an Entity of type
BUSINESS
. See the POST Create a
business
API reference for instructions on how to create a business.
Successfully created the Entity.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "person_id": "f0af0d2164f3f8bcc44bf68d7beecce3cper",
- "type": "PERSON"
}
{- "id": "1cbce42a62fc0cdeb1cf17df3ecd6fd6enty",
- "type": "PARTNER",
- "state": "ACTIVE",
- "business_id": "880bbac68a34add190786b9c74f4c82fcbiz",
- "trading_terms_conditions_signed_at": "2019-03-01T22:45:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Returns the Entity specified in the request URL by its unique ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}'
{- "id": "1cbce42a62fc0cdeb1cf17df3ecd6fd6enty",
- "type": "PARTNER",
- "state": "ACTIVE",
- "business_id": "880bbac68a34add190786b9c74f4c82fcbiz",
- "trading_terms_conditions_signed_at": "2019-03-01T22:45:06Z",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Records an Entity's acceptance of the Solaris Digital Assets Terms and Conditions. The API will store a UTC timestamp from when the Entity accepted the Terms and Conditions in its terms_conditions_signed_at
property.
Successfully accepted the terms and conditions.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X POST \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/terms_and_conditions'
{ }
Records an Entity's acceptance of the Solaris Digital Assets Trading Terms and Conditions. The API will store a UTC timestamp from when the Entity accepted the Trading Terms and Conditions in its trading_terms_conditions_signed_at
property.
Successfully accepted the trading terms and conditions.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X POST \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/trading_terms_and_conditions'
{ }
Returns the currently activated Tier (if any) for the Entity specified in the request URL. The response includes information about when the Tier was activated and how much volume has been transacted in that Tier.
Successfully fetched the Entity's activated Tier info.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/tier'
{- "id": "56fae07897534327a5275ab2a28a15ff",
- "send_limit": "20000",
- "send_interval": 604800,
- "advancement_volume": "200000",
- "advancement_interval": 6048000,
- "volume": "1000",
- "activated_at": "2022-10-27T14:25:53Z"
}
Returns a list of all LedgerEntries associated with the Account specified in the request URL by its ID.
The request was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/ledger_entries?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "1c0fb8dbafa519adba070bba252b1263lent",
- "account_id": "1570f8eba8a6cffebf6354b718c138e7acct",
- "transaction_id": "ce9e6e3d62d7d0811a3f8c8aabbac466tran",
- "type": "WITHDRAWAL_AMOUNT",
- "amount": "-1.00000000",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns the LedgerEntry specified in the request URL by its ID.
The request was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/ledger_entries/{ledger_entry_id}'
{- "id": "1c0fb8dbafa519adba070bba252b1263lent",
- "account_id": "1570f8eba8a6cffebf6354b718c138e7acct",
- "transaction_id": "ce9e6e3d62d7d0811a3f8c8aabbac466tran",
- "type": "WITHDRAWAL_AMOUNT",
- "amount": "-1.00000000",
- "created_at": "2019-03-01T22:31:06Z",
- "updated_at": "2019-03-01T22:31:06Z"
}
Returns an array containing all Tiers configured for you.
Successfully retrieved the list of Tiers.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/tiers?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "56fae07897534327a5275ab2a28a15ff",
- "level": 1,
- "send_limit": "20000",
- "send_interval": 604800,
- "advancement_volume": "200000",
- "advancement_interval": 6048000,
- "created_at": "2022-10-27T14:25:53Z",
- "updated_at": "2022-10-27T14:25:53Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns information about the Tier specified in the request URL.
Successfully fetched a single Tier.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/tiers/{tier_id}'
{- "id": "56fae07897534327a5275ab2a28a15ff",
- "level": 1,
- "send_limit": "20000",
- "send_interval": 604800,
- "advancement_volume": "200000",
- "advancement_interval": 6048000,
- "created_at": "2022-10-27T14:25:53Z",
- "updated_at": "2022-10-27T14:25:53Z"
}
Returns the currently activated Tier (if any) for the Entity specified in the request URL. The response includes information about when the Tier was activated and how much volume has been transacted in that Tier.
Successfully fetched the Entity's activated Tier info.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/tier'
{- "id": "56fae07897534327a5275ab2a28a15ff",
- "send_limit": "20000",
- "send_interval": 604800,
- "advancement_volume": "200000",
- "advancement_interval": 6048000,
- "volume": "1000",
- "activated_at": "2022-10-27T14:25:53Z"
}
Returns a list of all Transactions associated with the Account specified in the request URL by its ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/transactions?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "f59e8c8188500efce5be51eb71e9db08tran",
- "account_id": "ff6dc60c4f76dcea784bdc2ffed66e6facct",
- "type": "DEPOSIT",
- "state": "PENDING",
- "amount": "1.23450000",
- "end_to_end_id": "7a444b4839658d2a0c0c8c02a74b6a1207b1f579d9c79afe491a6fe4d56fb0f6",
- "fee_amount": "0.00000000",
- "fee_account_id": "ff6dc60c4f76dcea784bdc2ffed66e6facct",
- "address": "1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN",
- "blockchain_txid": "b2715bcc492ccfa30beaa7cf0d64bee751d5247a459966ce5b9d190eb1c2f185",
- "blockchain_output_n": 0,
- "created_at": "2019-03-01T20:31:38Z",
- "updated_at": "2019-03-01T20:46:07Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Cancels the Transaction specified in the request URL by its ID.
The Transaction was successfully canceled.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
The request could not be processed because the referenced resource's current state prevents it.
For example, the API would return this error for an attempt to approve a
FAILED
ApprovalRequest, as this is not possible.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X POST \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/transactions/{transaction_id}/cancel'
{- "id": "f59e8c8188500efce5be51eb71e9db08tran",
- "account_id": "ff6dc60c4f76dcea784bdc2ffed66e6facct",
- "type": "DEPOSIT",
- "state": "PENDING",
- "amount": "1.23450000",
- "end_to_end_id": "7a444b4839658d2a0c0c8c02a74b6a1207b1f579d9c79afe491a6fe4d56fb0f6",
- "fee_amount": "0.00000000",
- "fee_account_id": "ff6dc60c4f76dcea784bdc2ffed66e6facct",
- "address": "1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN",
- "blockchain_txid": "b2715bcc492ccfa30beaa7cf0d64bee751d5247a459966ce5b9d190eb1c2f185",
- "blockchain_output_n": 0,
- "created_at": "2019-03-01T20:31:38Z",
- "updated_at": "2019-03-01T20:46:07Z"
}
Returns the Transaction specified in the request URL by its ID.
The request was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/accounts/{account_id}/transactions/{transaction_id}'
{- "id": "f59e8c8188500efce5be51eb71e9db08tran",
- "account_id": "ff6dc60c4f76dcea784bdc2ffed66e6facct",
- "type": "DEPOSIT",
- "state": "PENDING",
- "amount": "1.23450000",
- "end_to_end_id": "7a444b4839658d2a0c0c8c02a74b6a1207b1f579d9c79afe491a6fe4d56fb0f6",
- "fee_amount": "0.00000000",
- "fee_account_id": "ff6dc60c4f76dcea784bdc2ffed66e6facct",
- "address": "1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN",
- "blockchain_txid": "b2715bcc492ccfa30beaa7cf0d64bee751d5247a459966ce5b9d190eb1c2f185",
- "blockchain_output_n": 0,
- "created_at": "2019-03-01T20:31:38Z",
- "updated_at": "2019-03-01T20:46:07Z"
}
Issues a request to create a new Transfer from the Account specified in the request URL to another Account associated with the same Asset.
The API creates two Transactions in the course of processing a Transfer:
The required reference
property acts as an idempotency key and must be
unique for each Transaction. If you make two requests with identical
attributes, including the value of the reference
attribute, the API will
respond with the same response body each time and only create one Transfer.
You must specify either the amount
or the total_amount
in this request.
The amount
property indicates the "transacted amount," i.e., the exact
amount that will be sent to the recipient Account. The total_amount
property indicates indicates the amount that will be deducted from the
sender Account balance. Solaris determines the amount that will be sent to
the recipient after calculating and applying the fees. Use total_amount
if, for example, the sender wishes to transfer the entire Account balance.
The 201
response contains an ID for a Transaction, but the API will not
create the underlying Transaction right away. If you attempt to get this
Transaction by its ID and receive a 404
error, then please wait a bit
before trying again.
Successfully processed the Transfer request.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "reference": "something-d4cbde56778cc85c2baf4d1b24c4097f-unique",
- "receiver_account_id": "8edc66729b14bf1921292ad7ee0fbce8acct",
- "total_amount": "10.00000000"
}
{- "transaction_id": "afa4bcc92adaad64fdaad3c48b8cb840tran"
}
Issues a request to create a new Withdrawal Transaction from the Account specified in the request URL to an address specified in the request body.
The required reference
property acts as an idempotency key and must be unique for each Transaction. If you make two requests with identical attributes, including the value of the reference
attribute, the API will respond with the same response body each time and only create one Withdrawal.
You must specify either the amount
or the total_amount
in this request. The amount
property indicates the "transacted amount," i.e., the exact amount that will be withdrawn to the recipient Address. The total_amount
property indicates indicates the amount that will be deducted from the sender Account balance; Solaris determines the amount that will be withdrawn after calculating and applying the fees. Use total_amount
if, for example, the sender wishes to withdraw the entire Account balance.
The 201
response contains an ID for a Transaction, but the API will not create the underlying Transaction right away. If you attempt to get this Transaction by its ID and receive a 404
error, then please wait a bit before trying again.
Successfully processed the Withdrawal request.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "reference": "something-daada07e2bcd43ccc443750568effbe2-unique",
- "address": "1MbH8VxfH74VLcv8q3BjBQizcnV2c7Tmre",
- "amount": "1.15000000"
}
{- "transaction_id": "afa4bcc92adaad64fdaad3c48b8cb840tran"
}