Skip to main content
PUT
Update a transaction for a bank account

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

accountId
integer
gerekli

The bank account identifier

transactionId
integer
gerekli

The transaction identifier

Gövde

application/json
type
enum<string>

The type.

Mevcut seçenekler:
collection,
payment,
transfer,
bank_commission,
opening_balance
amount
number

New amount of the transaction, placed on the side given by direction (or the current side). Cannot be sent with debit/credit.

Gerekli aralık: x >= 0.01
direction
enum<string>

The side the amount is recorded on: debit (money in) or credit (money out).

Mevcut seçenekler:
debit,
credit
debit
number

Debit amount.

Gerekli aralık: x >= 0
credit
number

Credit amount.

Gerekli aralık: x >= 0
currency_id
integer

The currency ID.

exchange_rate
number

Currency exchange rate.

Gerekli aralık: x >= 0
transaction_date
string<date-time>

Transaction date (YYYY-MM-DD).

payment_method
enum<string> | null

The payment method.

Mevcut seçenekler:
bank_account,
cash,
transfer_cash,
other,
clinic_credit_card,
credit_card,
private_insurance,
sgk
description
string | null

The description.

Maximum string length: 65535
invoice_number
string | null

Invoice number.

Maximum string length: 255

Yanıt

success
string
gerekli
data
AccountTransactionResource · object
gerekli