PUT api/Investment/Save
Adds Investment information. Only ProjectID, Amount, and InterestDistributionTypeID is needed
Request Information
Authorization Tokens required
Partner
URI Parameters
None.
Body Parameters
[InvestmentEntity]
InvestmentEntityName | Description | Type | Additional information |
---|---|---|---|
ID |
Internal ID, generated by system |
string |
None. |
StatusID |
0 - New/Waiting, 2 - Declined/Withdrawn, 12 - Confirmed/Active, 15 - Sold, 20 - Paid-Off |
integer |
None. |
No |
Investment Number for referring in documents, generated by system |
string |
None. |
ProjectID |
ID of Project/Loan/Deal |
string |
Required |
ProjectPublicCode |
Code of the Project |
string |
None. |
ProjectName |
Name of the Project |
string |
None. |
TotalProjectValue |
Complete or total value of the project/loan/startup company or invoice. |
decimal number |
None. |
LoanTypeID |
Type of the Financial instrument of Project. The values should be taken from /Config/GetLoanTypes |
string |
String length: inclusive between 0 and 12 |
ProjectStageID |
Project Stage ID |
string |
None. |
RegistrationDate |
Date of Investment registration |
date |
None. |
StartDate |
Date of Investment start date, when project start's to work. |
date |
None. |
MaturityDate |
Date of Investment maturity, or approx. date when Investment should be returned in full. |
date |
None. |
MaturityMonths |
Investment maturity in months. Calculated using Investmanet start and current dates |
integer |
None. |
InterestRate |
Interest per annum(up to 11.0%), Percentage |
decimal number |
None. |
Amount |
Investment or Loan Amount |
decimal number |
Required |
CurrencyCode |
Investment or Loan Currency Code |
string |
None. |
AutoInvestmentConfigID |
ID of Autoinvestment config/strategy used for this investment. If is null or empty, investment is done manualy by investor. Read only |
string |
None. |
AutoInvestmentConfigCode |
Code of Autoinvestment config/strategy used for this investment. If is null or empty, investment is done manualy by investor. Used for references. Read only |
string |
None. |
SalePrice |
Current sale price, if loan is avalable for Sale. Set by owner |
decimal number |
None. |
IsAvailableForSale |
If true, investment is available on secondary market |
boolean |
None. |
InterestDistributionTypeID |
Ineterest Distribution frequency/type (12-monthly, 6-Bi Monthly, 4-Quarterly, 2-semi-annual, 1-annual, -1 - at the end of the project sale) |
integer |
None. |
AccruedInterest |
Interest to be paid on next payment date |
decimal number |
None. |
NextInterestPaymentDate |
Next Interest payment date |
date |
None. |
TotalInterest |
Total interest to be paid |
decimal number |
None. |
WaitingComissions |
Projected waiting comissions or interest calculated till project start date. Paid after project financing start date |
decimal number |
None. |
Bonuses |
Projected bonuses or cashback. Paid after project financing start date |
decimal number |
None. |
Fees |
Projected fees paid to Platform. Paid after project financing start date |
decimal number |
None. |
TotalRevenue |
Total projected revenue (projected interest + bonuses - fees) |
decimal number |
None. |
CompletionDate |
Date of Investment completion/paid-off |
date |
None. |
PaidInterest |
Paid interest for the investment to the |
decimal number |
None. |
PaidPrincipal |
Total sum of repayments of principal |
decimal number |
None. |
PaidFees |
Total sum of paid fees by Investor to Platform |
decimal number |
None. |
PaidBonuses |
Total sum of paid bonuses/cashback/waiting rates by Platform to Investor |
decimal number |
None. |
Balance |
Pricipal balance outstanding |
decimal number |
None. |
PaidTotalRevenue |
Total actual revenue (received interest + bonuses - fees) |
decimal number |
None. |
AnnualReturnRate |
Return rate per Annum, % |
decimal number |
None. |
ReturnRate |
Return rate of the investments. % |
decimal number |
None. |
OwnershipPer |
Part of ownership of loan or collection target, percentage |
decimal number |
None. |
TotalOwnershipPer |
Total ownership of overall project value, percentage |
decimal number |
None. |
PlatformSuccessOwnershipRate |
Platform Ownership of the project and investment in case of Success, percentage |
decimal number |
None. |
Request Formats
application/json, text/json
{ "ID": "sample string 1", "StatusID": 2, "No": "sample string 3", "ProjectID": "sample string 4", "ProjectPublicCode": "sample string 5", "ProjectName": "sample string 6", "TotalProjectValue": 7.0, "LoanTypeID": "sample string 8", "ProjectStageID": "sample string 9", "RegistrationDate": "2025-01-09T18:31:45.9496096+02:00", "StartDate": "2025-01-09T18:31:45.9496096+02:00", "MaturityDate": "2025-01-09T18:31:45.9496096+02:00", "MaturityMonths": 0, "InterestRate": 10.0, "Amount": 11.0, "CurrencyCode": "sample string 12", "AutoInvestmentConfigID": "sample string 13", "AutoInvestmentConfigCode": "sample string 14", "SalePrice": 15.0, "IsAvailableForSale": true, "InterestDistributionTypeID": 16, "AccruedInterest": 17.0, "NextInterestPaymentDate": "2025-01-09T18:31:45.9496096+02:00", "TotalInterest": 18.0, "WaitingComissions": 19.0, "Bonuses": 20.0, "Fees": 21.0, "TotalRevenue": 36.0, "CompletionDate": "2025-01-09T18:31:45.9496096+02:00", "PaidInterest": 22.0, "PaidPrincipal": 23.0, "PaidFees": 24.0, "PaidBonuses": 25.0, "Balance": -12.0, "PaidTotalRevenue": 23.0, "AnnualReturnRate": 26.0, "ReturnRate": 27.0, "OwnershipPer": 28.0, "TotalOwnershipPer": 29.0, "PlatformSuccessOwnershipRate": 30.0 }
application/x-www-form-urlencoded
Sample not available.
Response Information
HttpStatusCode=OK(200) and ID of created InvestmentEntity if succeeded, otherwise BadRequest (400), Unauthorized(401) or InternalServerError(500) with error description
stringResponse Data Formats and Samples
application/json, text/json
"sample string 1"