Finance Management.Savings Goals
ENTERPRISE
Deposit to Savings Goal
Deposit amount to a Savings Goal. If this is the first deposit to this Savings Goal the status will transition from <code>CREATED</code> to <code>IN_PROGRESS</code>.
post/api/v1/savings-goals/{id}/allocations/fund:deposit
Path parameters
idstring required
The Savings Goal ID
Request body
Example request
{
"currencyCode": "EUR",
"scale": 2,
"unscaledValue": 2000
}Response
The deposit Allocation.
Example response
{
"amount": {
"currencyCode": "EUR",
"scale": 2,
"unscaledValue": 2000
},
"createTime": "2020-05-14T13:30:45Z",
"destinationId": "d9f134ee2eb44846a4e02990ecc8d32e",
"id": "d9f134ee2eb44846a4e02990ecc8d32e",
"sourceId": "d9f134ee2eb44846a4e02990ecc8d32e"
}