Create contract

POST {{backofficeURL}}/SolitxService/ContractService/contracts?access_token={{useraccessToken}}

Creates a new contract based on the product JSON.Contract will be created only if valid data is provided in terms and payment details.

Upon creation of new contract the initial contract schedule is computed according to the contract logic, respective events are stored in the BusinessEvents table. For newly created contract ContractStatus gets updated with 'PreDeal'. ContractStatus which describes the status of executed and running contracts during their lifecycle.

Below are the ContractStatus used based on the contract lifecycle:

performant : The contract is active and execution of terms proceeds as agreed.

Delinquent : The contract is active and execution of certain terms is delayed by more than the ACTUS GracePeriod.

Default : The contract is active and execution of certain terms is delayed by more than the ACTUS DelinquencyPeriod.

Request Params

KeyDatatypeRequiredDescription
access_tokenstring

Request Body

{"0"=>{"ProductID"=>"1", "Terms"=>[{"ProductIdentifier"=>"1", "InitialExchangeDate"=>"2023-05-02T06:30:00.000Z", "LegalEntityIDCounterparty"=>"{{profileID}}", "ContractStatus"=>"PreDeal"}], "PaymentDetails"=>{"CounterpartyPaymentChannelID"=>"{{paymentChannelID}}"}}}