Skip to main content

Transfers

GET 

/api/accounting/transfers

Transfers

Request

Header Parameters

    X-Company-Slug stringrequired

Responses

Successful response

Schema

    meta

    object

    required

    total numberrequired
    per_page numberrequired
    current_page numberrequired
    last_page numberrequired
    first_page numberrequired
    first_page_url stringrequired
    last_page_url stringrequired
    next_page_url stringnullablerequired
    previous_page_url stringnullablerequired

    data

    object[]

    required

  • Array [

  • id stringrequired
    created_by_id stringrequired
    income_transaction_id stringrequired
    expense_transaction_id stringrequired
    amount floatrequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    created_at date-timerequired
    updated_at date-timerequired

    income

    get_transaction_single

    required

    id string
    document_id stringnullable
    account_id string
    contact_id stringnullable
    created_by_id string
    amount numbernullable
    currency CurrencyEnum (string)

    Possible values: [EUR, USD, GBP, TRY]

    type TransactionTypeEnum (string)

    Possible values: [income, expense, order, reservation]

    reference stringnullable
    description stringnullable
    paid_at string
    created_at string
    updated_at string
    order_id stringnullable
    reservation_id stringnullable
    tips numbernullable
    discount numbernullable
    payment_method TransactionPaymentMethodEnums (string)

    Possible values: [cash, credit_card, bank_transfer, qr]

    account

    object

    id stringrequired
    created_by_id stringrequired
    name stringrequired
    number stringnullablerequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    bank_name stringnullablerequired
    bank_phone stringnullablerequired
    bank_address stringnullablerequired
    enabled booleanrequired
    created_at date-timerequired
    updated_at date-timerequired
    deleted_at date-timenullablerequired
    total integerrequired

    expense

    get_transaction_single

    required

    id string
    document_id stringnullable
    account_id string
    contact_id stringnullable
    created_by_id string
    amount numbernullable
    currency CurrencyEnum (string)

    Possible values: [EUR, USD, GBP, TRY]

    type TransactionTypeEnum (string)

    Possible values: [income, expense, order, reservation]

    reference stringnullable
    description stringnullable
    paid_at string
    created_at string
    updated_at string
    order_id stringnullable
    reservation_id stringnullable
    tips numbernullable
    discount numbernullable
    payment_method TransactionPaymentMethodEnums (string)

    Possible values: [cash, credit_card, bank_transfer, qr]

    account

    object

    id stringrequired
    created_by_id stringrequired
    name stringrequired
    number stringnullablerequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    bank_name stringnullablerequired
    bank_phone stringnullablerequired
    bank_address stringnullablerequired
    enabled booleanrequired
    created_at date-timerequired
    updated_at date-timerequired
    deleted_at date-timenullablerequired
    total integerrequired
  • ]

Loading...