Skip to main content
POST
Create 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

Gövde

application/json
type
enum<string>
gerekli

The type.

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

Monetary amount.

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

Transaction date (YYYY-MM-DD).

direction
enum<string> | null

The direction.

Mevcut seçenekler:
debit,
credit,
null
currency_id
integer | null

The currency ID.

exchange_rate
number | null

Currency exchange rate.

Gerekli aralık: x >= 0
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
customer_id
integer | null

The customer ID.

Yanıt

success
string
gerekli
data
AccountTransactionResource · object
gerekli