Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
In this example we will review the first step of the deposit contract origination flow that starts with creating a deposit offer.
We will create a deposit offer for a test person whose account ID is ID-2660
.
...persons/ID-2660/offers
The deposit is offered with the 3 month duration. The interest will be payed at the end of the contract period. The deposit country is Estonia.
The deposit amount is 5000 EUR.
Upon maturity of the deposit contract, the deposit API transfers the payout to the designated payout account. If payout details are not provided, the payout is automatically directed to the servicing account.
The default deposit interest rate is set at 0.35.
Note: If the deposit product has a defined minimum and maximum interest rate range, you can set a custom interest rate within this range to override the default rate. If no interest range is defined for the deposit product, the default interest rate of 0.35 is applied.
POST
/deposit-api.sandbox.tuumplatform.com/api/v2/persons/{personId}/offers
Below is an example request body of the API call for creating a deposit offer.
Below you find an example response body to the API call above.
As an outcome, a new deposit offer ID-1718024058
was created.
The deposit offer is opened for a PREMIUMthat was created earlier.
The account ID that is tied to the deposit. Note: see the article to learn more about the account creation.
See more information about the endpoint in the Tuum developer portal.
...v2/persons/ID-2660/applications
This API call requires mandatory query parameters pageSize and pageNumber.
...?pageSize=1&pageNumber=1
To find a deposit application, make the following API call.
Below you find an example response body to the API call above.
As a result we found the deposit application with the ID-1696407202
and fetched other information related to the deposit application.
In this example, we will review how to create a deposit application with a minimum data set.
Below is an example request body of the API call for creating a deposit application.
Below you find an example response body to the API call above.
As a result, a new deposit application ID-1696407202
was created.
In this case, we will review how to find the ID of a using person ID.
We will find an existing that was created for the test person with ID-2660
.
deposit-api.sandbox.tuumplatform.com/api/v3/persons/{personId}/applications
See more about the endpoint in the Tuum developer portal.
deposit-api.sandbox.tuumplatform.com/api/v2/persons/{personId}/applications
See more information about the endpoint in the Tuum developer portal.
We will create a deposit application for a test person whose account ID is ID-2660
.
...persons/ID-2660/applications
The amount that the test person is going to deposit is 5000 EUR.
The deposit is offered with the 3 month duration. The interest will be paid at the end of the contract period. The deposit's jurisdiction country is Estonia.
The tax residency code determines which tax rate is enabled for this country when deducting the tax from the interest during the pay out. The tax exempt is false by default. Note: the taxResidencyCountryCode and taxExempt parameters are editable even after the deposit contract is created or activated.
In this example, we will review how to find a deposit offer using the application ID.
To find a deposit offer that was automatically created by the deposit application, make the following API call.
Below you find an example response body to the API call above.
As an outcome, we found the deposit offer ID ID-1696407305
and fetched related details.
The deposit application is opened for a PREMIUM created earlier.
The servicing account ID that is tied to the deposit. Note: see the article to learn more about the account creation.
deposit-api.sandbox.tuumplatform.com/api/v2/applications/{applicationId}/offers
See more about the endpoint in the Tuum developer portal.
...applications/ID-1696407202/offers
In this example, we will review how to edit a deposit offer.
To edit a deposit offer, make the following API call.
Below is an example request body of the API call for editing a deposit offer.
Below you find an example response body to the API call above.
As a result the deposit offer ID-1718024058
was updated. The initial offer amount was changed.
Searching the deposit offer that was created for the with ID-1696407202
.
deposit-api.sandbox.tuumplatform.com/api/v2/offers/{offerId}
See more about the endpoint in the Tuum developer portal.
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.
...v2/persons/ID-2660/contracts
This API call requires mandatory query parameters pageSize and pageNumber.
...?pageSize=1&pageNumber=1
Below you will find an example response body to the API call above.
As a result, we found the deposit contract number PR-EE-1000
with headerId ID-1696407222
and activeVersionId ID-1696407267
.
In this example, we will find the deposit contract that was automatically created by the Tuum system after .
We will find an existing deposit contract that was with the ID-2660
.
/deposit-api.sandbox.tuumplatform.com/api/v3/persons/{personId}/contracts
See more information about the endpoint in the Tuum developer portal.
In this block, you will learn how to open a deposit contract flow. There are two flows available:
The first deposit flow starts from a deposit application and includes the following steps:
You can use this flow if your organisation processes deposit applications outside the Tuum system.
This deposit contract flow starts from a deposit offer and includes the following steps:
Below, you will find the following chapters:
,
.
- once the deposit application is created, the Tuum system automatically creates a related deposit offer.
- once the deposit offer is accepted, the Tuum system automatically creates a related deposit contract. Or - reject the offer and terminate the flow.
- to enter the required deposit information into the Tuum system.
- once the deposit offer is accepted, the Tuum system will automatically create a deposit contract based on the deposit offer. Or - to reject the deposit offer and terminate the flow.
In this example, we will review how to decline a deposit offer.
We will decline a deposit offer ID-1718023944.
...offers/ID-1718023944/decline
Below is an example request body of the API call for declining a deposit offer.
Below you find an example response body to the API call above.
As a result, a deposit offer ID-1718023943
was declined.
deposit-api.sandbox.tuumplatform.com/api/v3/offers/{offerId}/decline
See more information about the endpoint in the Tuum developer portal.
In this example, we will review how to accept a deposit offer.
We will accept the deposit offer ID-1696407305
.
...v1/offers/ID-1696407305/accept
To accept a deposit offer, make the following API call.
Below you find an example response body to the API call above.
As a result the deposit offer ID-1696407305
was accepted.
deposit-api.sandbox.tuumplatform.com/api/v2/offers/{offerId}/accept
See more about the endpoint in the Tuum developer portal.