Movement
Module endpoints
GET /movements
GET /movements
GET
https://api.slyk.io/movements
Returns a paginated list of movements
.
{
"data": [
{
"amount": "4.50",
"assetCode": "USD",
"code": "deposit",
"createdAt": "2019-07-20T14:30:37.483Z",
"id": "4617b329-eca0-487d-9086-9bbf833b6c86",
"transactionId": "307d1665-23ba-4ff1-9f0a-1a5f480e5a10",
"updatedAt": "2019-07-20T14:30:37.483Z",
"walletId": "d4f146bf-4c01-4efc-bc3e-2f9663dc7256"
},
{
"amount": "6.00",
"assetCode": "USD",
"code": "deposit",
"createdAt": "2017-10-18T11:39:26.732Z",
"id": "5c4a04cc-4e48-4829-bd81-692bb0f0ac08",
"transactionId": "e3fd199c-b137-4cb3-9644-533345239772",
"updatedAt": "2017-10-18T11:39:26.732Z",
"walletId": "c7b0fddf-48a9-4867-b712-c71559cf81ac"
}
],
"total": 7
}
GET /movements/:id
GET /movements/:id
GET
https://api.slyk.io/movements/:id
Returns the movement
of the given id
.
{
"data": {
"amount": "4.50000000",
"assetCode": "USD",
"code": "deposit",
"createdAt": "2019-07-20T14:30:37.483Z",
"id": "82f5ff09-8afe-41be-8f12-519d78251f5b",
"transaction": {
"amount": "4.50000000",
"assetCode": "garply",
"code": "internal",
"createdAt": "2019-07-20T14:30:37.483Z",
"customData": { "foo": "bar" },
"description": "foobar",
"destinationAddress": null,
"destinationWalletId": "d4f146bf-4c01-4efc-bc3e-2f9663dc7256",
"externalId": null,
"externalReference": null,
"id": "307d1665-23ba-4ff1-9f0a-1a5f480e5a10",
"metadata": {},
"originAddress": null,
"originWalletId": null,
"status": "confirmed",
"type": "deposit",
"updatedAt": "2019-07-20T14:30:37.483Z"
},
"transactionId": "307d1665-23ba-4ff1-9f0a-1a5f480e5a10",
"updatedAt": "2019-07-20T14:30:37.483Z",
"walletId": "d4f146bf-4c01-4efc-bc3e-2f9663dc7256"
}
}
Last updated