Wallet
Module endpoints
GET /wallets
GET /wallets
GET
https://api.slyk.io/wallets
Retrieves a paginated list of wallets
.
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
The name
filter performs a SQL
query using the like
operator.
GET /wallets/:id
GET /wallets/:id
GET
https://api.slyk.io/wallets/:id
Gets the wallet details of the given id
.
GET /wallets/:id/activity
GET /wallets/:id/activity
GET
https://api.slyk.io/wallets/:id/activity
Returns the wallet
activity of the given id
.
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
GET /wallets/:id/balance
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).
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:btc,eth,ltc
GET /wallets/:id/movements
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
.
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:eur,btc
GET /wallets/:id/transactions
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.
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
GET /wallets/activity
GET /wallets/activity
GET
https://api.slyk.io/wallets/activity
Returns the wallets
activity.
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
GET /wallets/balance
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).
Name
Type
Example
assetCode
=
in
nin
filter[assetCode]=in:usd,eur
PATCH /wallets/:id
PATCH /wallets/:id
PATCH
https://api.slyk.io/wallets/:id
Patch the wallet
details of the given id
.
Name
Type
Required
Description
customData
object
false
Custom data object
locked
boolean
false
Wallet lock status
ownerId
string
false
Wallet owner user
id
POST /wallets
POST /wallets
POST
https://api.slyk.io/wallets
Creates a new wallet
.
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
Last updated