FTOS_CB_AddUpdateDepositLiquidation

Adds or updates a contract event record representing a deposit liquidation. The set of parameters sent via the request body determines the operation performed at the database level.

Syntax

The FTOS_CB_AddUpdateDepositLiquidation custom endpoint is called from within the Endpoint API endpoint. Visit the Endpoint API page for more details.

Copy
POST <host_address>/ftosapi/automation-processors/actions/FTOS_CB_AddUpdateDepositLiquidation
Content-Type: application/json
            
{
    "eventName":"<event_number>"
    "contractName":"<contract_number>",
    "destinationAccount":"<destination_bank_account_number>"
    "externalIdentifier": "<external_identifier>"
}

Here's a list of the available parameters:

Parameter Description
host_address URL of the FintechOS Platform server.
contractName Mandatory. The number of the contract.
eventName Mandatory only for update operations. Do not send it for add operations. The number of the deposit liquidation transaction.
destinationAccount Optional, string. The destination bank account number.
externalIdentifier Optional, string. The external identifier of the transaction.

Response

The response indicates the result of the code execution, specifically the result of creating or updating a contract event record, along with event number, value, and interest to recover.

Example

Error Responses