Find deposit offer
Use case
In this example, we will review how to find a deposit offer using the application ID.
Use case data
API parameters with values
...applications/ID-1696407202/offers
Sample API call
To find a deposit offer that was automatically created by the deposit application, make the following API call.
Sample response
Below you find an example response body to the API call above.
Response
{
"errors": null,
"validationErrors": null,
"data": {
"offerId": "ID-1696407305",
"personId": "ID-2660",
"applicationId": "ID-1696407202",
"depositGroupCode": "TIME_DEPOSIT",
"depositTypeCode": "PREMIUM_TEST",
"terminationType": "WITHOUT_INTEREST",
"statusCode": "PRESENTED",
"reasonCode": null,
"accountId": "ID-1012",
"interestRate": 0.25,
"period": 3,
"periodTypeCode": "MONTH",
"endDate": null,
"initialMoney": {
"amount": 5000.00,
"currencyCode": "EUR"
},
"interestPaymentFreqCode": "END",
"prolongationCode": null,
"countryCode": "EE",
"maturityDate": "2025-02-15",
"returnAmount": {
"amount": 5003.13,
"currencyCode": "EUR"
},
"postingDate": "2024-11-15",
"lastValidDate": "2024-11-16",
"channelCode": "SYSTEM",
"tenantCode": "MB",
"contractHeaderId": null,
"contractNumber": null,
"depositClassCode": "PREMIUM_CUSTOMER",
"payoutDetails": null,
"personTypeCode": "P",
"taxResidencyCountryCode": "EE",
"taxExempt": false
}
}
Result
As an outcome, we found the deposit offer ID ID-1696407305
and fetched related details.