Skip to main content
POST

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
operation_type_id
integer
required

ID of the operation type (must be UP or DOWN type)

internal_account_id
integer
required

ID of the internal account

external_client_id
integer
required

ID of the external client

external_currency
string
required

Currency for the external client account

internal_amount
number
required

Amount for the internal transaction

Required range: x >= 0.01
external_amount
number
required

Amount for the external transaction

Required range: x >= 0.01
description
string

Optional operation description

counterparty_client_id
integer | null

Optional soft Client link (customer or supplier). Associates the operation with that party without creating transactions, ledger rows, or balance changes on their accounts. Omit for backward compatibility.

Required range: x >= 1
date
string<date-time>

Optional operation date (ISO timestamp or YYYY-MM-DD). Sets Operation.date and each created Transaction.created_at/updated_at. Omitted → NOW().

internal_description
string

Optional description for internal transaction

external_description
string

Optional description for external transaction

external_transaction_id
string

Optional client reference for idempotent creates. Stored on the external transaction. Retries with the same value return 409 when a pending or completed operation already exists.

Maximum string length: 200
commissions
object[]

Optional array of commission transactions

Response

Operation created successfully

operation_id
integer

ID of the created operation

message
string

Success message

transactions
integer[]

List of created transaction IDs