Edit deposit offer
Use case
In this example, we will review how to edit a deposit offer.
Use case data
API parameters with values
We will change the deposit offer ID-1718024058
.
...offers/ID-1718024058
We will change the deposit offer initial amount from 5000 EUR to 6000 EUR.
"initialMoney": {
"amount": 6000,
"currencyCode": "EUR"
}
Sample API call
To edit a deposit offer, make the following API call.
deposit-api.sandbox.tuumplatform.com/api/v2/offers/{offerId}
Sample request
Below is an example request body of the API call for editing a deposit offer.
{
"initialMoney": {
"amount": 6000,
"currencyCode": "EUR"
},
"period": 3,
"interestPaymentFreqCode": "END",
"taxResidencyCountryCode": "EE",
"prolongationCode": "PRINCIPAL",
"taxExempt": "false",
"interestRate": 0.35
}
Sample response
Below you find an example response body to the API call above.
Result
As a result the deposit offer ID-1718024058
was updated. The initial offer amount was changed.
Last updated
Was this helpful?