Wallet
Module endpoints
GET /wallets
GET /wallets
GEThttps://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
Name
Example
createdAt
sort=createdAt
{
"data": [
{
"createdAt": "2019-03-20T14:30:37.483Z",
"customData": {},
"description": null,
"id": "fc78d28f-a8dd-49de-a22f-722fe3bd26c7",
"locked": false,
"metadata": {},
"name": "Waldo Fred wallet",
"ownerId": "5a9cf5ad-3999-497a-927e-da7157dc43a6",
"reference": "123456789A",
"updatedAt": "2019-03-20T14:30:37.483Z"
},
{
"createdAt": "2019-03-20T15:30:37.483Z",
"customData": {},
"description": null,
"id": "d9227cef-82b3-4753-b576-46735971774d",
"locked": false,
"metadata": {},
"name": "Corge Garply wallet",
"ownerId": "0bf8ee88-aed1-442c-a191-ffcee735b38a",
"reference": "123456789B",
"updatedAt": "2019-03-20T15:30:37.483Z"
}
],
"total": 2
}GET /wallets/:id
GET /wallets/:id
GEThttps://api.slyk.io/wallets/:id
Gets the wallet details of the given id.
GET /wallets/:id/activity
GET /wallets/:id/activity
GEThttps://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
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Example
users
include=users
wallets
include=wallets
GET /wallets/:id/balance
GET /wallets/:id/balance
GEThttps://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
GEThttps://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
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Example
transaction
include=transaction
GET /wallets/:id/transactions
GET /wallets/:id/transactions
GEThttps://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
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
GET /wallets/activity
GET /wallets/activity
GEThttps://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
Name
Example
amount
sort=amount
createdAt
sort=-createdAt
Name
Example
users
include=users
wallets
include=wallets
GET /wallets/balance
GET /wallets/balance
GEThttps://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
PATCHhttps://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 userid
POST /wallets
POST /wallets
POSThttps://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
200 Success
Last updated
Was this helpful?