Skip to content

Saving the operation "Reverse"

POST

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

1.initialize the Storno operation.

  1. perform calculating the "Storno" operation .

-> 3. and then save the "Reverse" operation calculated in the previous step.

We insert the result obtained in the previous step into the request body and save the operation. If necessary, in the previous step, correct the value of the "date" and "totalAmount" parameters and make a new calculation. In the field actionTypeId (type of payment) the identifier 101026 - Reverse, and in the field paymentTypeId (type of payment) identifier 101173 - Empty. The field actionsReq ._. Sign must have a value of 1, since there must be a "-" sign

Parameters

Query Parameters

line-violation

line-violation

Type
boolean

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"