Adjust a deposit payment
Changes a payment recorded against the lease's deposits. Send only what you want to change. Note that leaving paymentMethod out sets it back to other rather than keeping the old value.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease the payment is on. A Snowflake id, sent as a decimal string.
paymentIdstringrequiredThe payment to adjust. A Snowflake id, sent as a decimal string.
Body
application/json
amountnumberNew amount, as a decimal of at least 1.
datestring · dateNew payment date. May not be in the future.
paymentMethodenum<string>How the tenant paid. Left out, this resets to other.
referencestringNew reference. Up to 200 characters.
descriptionstringNew note. Up to 1000 characters.
tenantIdstringWhich tenant paid. A Snowflake id, sent as a decimal string.
targetDepositIdsstring[]Reapply the money to only these deposits.
Response
200 · The adjusted payment.
idstringId of the transaction. A Snowflake id, sent as a decimal string.
createdstring · date-timeWhen the transaction was recorded, in the company's timezone.
updatedstring · date-timeWhen the transaction last changed.
creatorobjectWho created the record.
typeenum<string>What kind of movement this is.
identityenum<string>What the money is for.
directionenum<string>in when money comes to the company, out when it leaves.
amountnumberAmount moved, as a decimal.
paymentMethodenum<string>How the money moved.
statusenum<string>Where the transaction has got to.
transactionDatestring · dateThe date the transaction counts for.
finalizedDatestring · dateThe date it settled. Absent while it is still moving.
referencestringCheque number or other reference the payer gave.
memostringFree-text note.
bankAccountIdstringBank account the money moved through. A Snowflake id, sent as a decimal string.
chartOfAccountIdstringAccount the amount was booked to. A Snowflake id, sent as a decimal string.
portfolioIdstringPortfolio the transaction belongs to. A Snowflake id, sent as a decimal string.
propertyIdstringProperty the transaction belongs to. A Snowflake id, sent as a decimal string.
unitIdstringUnit the transaction belongs to. A Snowflake id, sent as a decimal string.
leaseIdstringLease the transaction belongs to. A Snowflake id, sent as a decimal string.
tenantIdstringTenant the money came from or went to. A Snowflake id, sent as a decimal string.
ownerIdstringOwner the money came from or went to. A Snowflake id, sent as a decimal string.
vendorIdstringVendor the money went to. A Snowflake id, sent as a decimal string.
subsidizerIdstringSubsidizer the money came from. A Snowflake id, sent as a decimal string.
rentalApplicationIdstringRental application the money relates to. A Snowflake id, sent as a decimal string.
externalTransactionTypeenum<string>Which system moved the money.
externalTransactionIdstringThat system's own id for the movement.
failureReasonenum<string>Why it failed. Present only on a failed transaction.
paymentProcessorErrorMessagestringThe processor's own message, when it failed.
transferGroupIdstringGroups the two halves of a transfer together.
linkedTransactionIdstringThe other transaction in a pair, such as the return of a payment. A Snowflake id, sent as a decimal string.
checkIdstringThe printed cheque this paid out on. A Snowflake id, sent as a decimal string.
recurringPaymentIdstringThe recurring payment that produced this. A Snowflake id, sent as a decimal string.
leaseSubsidyIdstringThe lease subsidy that produced this. A Snowflake id, sent as a decimal string.
allowedChartOfAccountIdsstring[]Accounts this transaction may be re-booked to.
metadataobjectFree-form key/value data carried on the transaction.
bankAccountobjectThe bank account the money moved through.
chartOfAccountobjectThe account the amount was booked to.
propertyobjectThe property, when the transaction has one.
unitobjectThe unit, when the transaction has one.
leaseobjectThe lease, when the transaction has one.
tenantobjectThe tenant, when the transaction has one.
subsidizerobjectThe subsidizer, when the transaction has one.
vendorobjectThe vendor, when the transaction has one.
ownerobjectThe owner, when the transaction has one.
checkobjectThe printed cheque, when the transaction paid out on one.
creatorInfoobjectThe full record of whoever created this, under whichever one key matches the creator's type.