Skip to main content

Create a new transaction

POST 

/v1/accounts/:id/transactions

Create a new transaction

Request

Path Parameters

    id uuidrequired

    ID of Account

Query Parameters

    q string

    Search query for transactions

    page int64

    Page number

    limit int64

    Number of transactions per page

Body

required

    payeeId uuid
    Example: 01926b84-93cb-75b9-b445-a5a744f7a59f
    categoryId uuid
    Example: 01926b84-93cb-75b9-b445-a5a744f7a59f
    name string
    Example: House Party Food
    notes string
    Example: Sample markdown notes
    credit float
    Example: 12.25
    debit float
    Example: 10.49
    clearedAt date-time
    Example: 2024-10-07T01:02:03Z

Responses

Success

Schema

    id uuid
    Example: 01926b84-93cb-75b9-b445-a5a744f7a59f
    accountId uuid
    Example: 01926b84-93cb-75b9-b445-a5a744f7a59f
    payeeId uuid
    Example: 01926b84-93cb-75b9-b445-a5a744f7a59f
    payeeName string
    Example: Swiggy
    categoryId uuid
    Example: 01926b84-93cb-75b9-b445-a5a744f7a59f
    categoryName string
    Example: Online Food
    name string
    Example: House Party Food
    notes string
    Example: Sample markdown notes
    credit float
    Example: 12.25
    debit float
    Example: 10.49
    clearedAt date-time
    Example: 2024-10-07T01:02:03Z
    createdAt date-time
    Example: 2024-10-07T01:02:03Z
    updatedAt date-time
    Example: 2024-10-07T01:02:03Z
Loading...