Wallet
Last updated
Last updated
GET /wallets
GET
https://api.slyk.io/wallets
Retrieves a paginated list of wallets
.
The name
filter performs a SQL
query using the like
operator.
GET /wallets/:id
GET
https://api.slyk.io/wallets/:id
Gets the wallet details of the given id
.
GET /wallets/:id/activity
GET
https://api.slyk.io/wallets/:id/activity
Returns the wallet
activity of the given id
.
GET /wallets/:id/balance
GET
https://api.slyk.io/wallets/:id/balance
Retrieves a wallet's balance for the various assets it contains. Only assets that were ever transacted on the wallet will be shown (even if their balance is currently zero).
GET /wallets/:id/movements
GET
https://api.slyk.io/wallets/:id/movements
Convenience endpoint to get a paginated list of movements
from the wallet of the given id
.
GET /wallets/:id/transactions
GET
https://api.slyk.io/wallets/:id/transactions
Convenience endepoint endpoint to get a paginated list of transactions
where the wallet id
may be either the destinationWalletId
or the originWalletId
of the Transaction object.
GET /wallets/activity
GET
https://api.slyk.io/wallets/activity
Returns the wallets
activity.
GET /wallets/balance
GET
https://api.slyk.io/wallets/balance
Retrieves a Slyk balance for the various assets it contains. Only assets that were ever transacted on the wallet will be shown (even if their balance is currently zero).
PATCH /wallets/:id
PATCH
https://api.slyk.io/wallets/:id
Patch the wallet
details of the given id
.
POST /wallets
POST
https://api.slyk.io/wallets
Creates a new wallet
.
Name
Type
Example
id
=
in
nin
filter[id]=in:fc78d28f-a8dd-49de-a22f-722fe3bd26c7
locked
=
filter[locked]=true
name
like
filter[name]=foobar
ownerId
=
filter[ownerId]=3feaac72-7330-4b32-9801-28b6f69aaf25
reference
=
filter[reference]=123456789A
Name
Example
createdAt
sort=createdAt
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:ltc
code
=
in
nin
filter[code]=in:issue
status
=
in
nin
filter[status]=in:pending
type
=
in
nin
filter[type]=in:deposit
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Example
users
include=users
wallets
include=wallets
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:btc,eth,ltc
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:eur,btc
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Example
transaction
include=transaction
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:usd,eur
code
=
in
nin
filter[code]=in:issue
status
=
in
nin
filter[status]=in:pending
type
=
in
nin
filter[type]=in:deposit
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:btc
code
=
in
nin
filter[code]=in:issue
status
=
in
nin
filter[status]=in:pending
type
=
in
nin
filter[type]=in:deposit
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Example
users
include=users
wallets
include=wallets
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:usd,eur
Name
Type
Required
Description
customData
object
false
Custom data object
locked
boolean
false
Wallet lock status
ownerId
string
false
Wallet owner user
id
Name
Type
Required
Description
customData
object
false
Custom data object
locked
boolean
false
Wallet lock status
name
string
false
Wallet Name
ownerId
string
false
Wallet owner user
id