latestSwagger 2.02026-08-20196638916.1 KB
23d8982b533d
Finance Management.Savings Goals
ENTERPRISE
List allocations by Account
get/api/v1/savings-goals/accounts/{id}/allocations
Path parameters
idstring required
The Savings Goal ID
Query parameters
page_sizeinteger
(Optional) Size of the page to fetch.
page_tokenstring
(Optional) The first token is presented on the response of the first call if there are multiple pages.
Response
The list of allocations withdraw from, and deposit to, the Account.
Example response
{
"allocations": [
{
"amount": {
"currencyCode": "EUR",
"scale": 2,
"unscaledValue": 2000
},
"createTime": "2020-05-14T13:30:45Z",
"destinationId": "d9f134ee2eb44846a4e02990ecc8d32e",
"id": "d9f134ee2eb44846a4e02990ecc8d32e",
"sourceId": "d9f134ee2eb44846a4e02990ecc8d32e"
}
]
}