Skip to main content
PATCH
Update a Transaction

Authorizations

Authorization
string
header
required

API key for authentication. Get your key from the Dashboard > Settings > API Access.

Path Parameters

id
string
required

The id of the transaction. Expected to be a valid object id like 666666666666666666666666

Pattern: ^[0-9A-Fa-f]{24}$

Body

application/json
refNo
string | null

The reference number of the transaction

totalAmount
number

The total amount of the transaction. Same as the sum of the Total Credit = Total Debit.

transactionDate
string<date-time>

The transaction date of the transaction

paymentMethod
enum<string>

The payment method of the transaction

Available options:
CASH,
CHEQUE,
NEFT,
IMPS,
UPI,
CARD,
TRANSFER,
OTHER
isReconciled
boolean

The reconciliation status of the transaction

currency
string | null

The currency of the transaction. Use default currency if not provided

entries
object[]

The entries of the transaction

counterParty
string | null

The counter party id of the transaction. Expected to be a valid object id like 666666666666666666666666

Pattern: ^[0-9A-Fa-f]{24}$
account
string | null

The account id of the transaction. Expected to be a valid object id like 666666666666666666666666

Pattern: ^[0-9A-Fa-f]{24}$

Response

Update a Transaction executed successfully

message
string

Success message

metaData
object
data
object