Skip to content

Calculation of the "Storno" operation

POST

When using kernel methods to reverse a transaction, you must:

1.initialize the Storno operation.

-> 2. perform calculating the "Storno" operation .

Insert the result obtained in the previous step into the request body. To calculate the "Reverse" operation, the value 101026 (Reverse) must be passed in the "actionTypeId" parameter, the value 101173 (Empty) in the paymentTypeId, and in the totalAmount field, a value equal to the amount to be reversed (see also the description of the parameters). p>

  1. and then save the "Reverse" operation calculated in the previous step

Request Body

application/json
object
Format"int64"
object[]

Operations ledger movements (common fields for display and storage)

object

Transaction amount

Tranche start date in YYYY-MM-DD format

Format"date"

Tranche end date in YYYY-MM-DD format

Format"date"

Action sign (0, +, Receipt (Credit)) / (1, -, Expense (Debit))

Format"int32"
Format"int64"
Format"int64"
Format"int64"

Id of the Contract

Format"int64"

Date of operation in unix timestamp format in milliseconds

Format"date-time"

id

Format"int64"

Behind the balance

Format"int64"

Id Storage locations

Format"int64"
object

Amount

Calculated interest in foreign currency

Format"double"

Calculated interest in national currency

Format"double"

Responses

OK

*/*
object
object

Id Type of movement

Format"int64"
object[]

Movement

Format"int64"

An indication that the operation was created by DDS auto-acceptance

Id of the type of movement of the deposit

Format"int64"

Pledge Id

Format"int64"

Id of the Contract

Format"int64"

date

Format"date-time"

Document id

Format"int64"

Document type

DDSa Id (for accepting transactions)

Format"int64"

Id

Format"int64"

Behind the balance

Id of the type of payment

Format"int64"

Actual creation date of the operation

Format"date-time"
object[]

Pledge movements

Id Storage locations

Format"int64"

Time in milliseconds

Format"int64"
object

Amount

Id of the user who created the operation

Format"int32"
Valid values"error""ok"
Format"int64"