Record a deposit payment
Records a deposit payment the tenant made outside MagicDoor and applies it to the lease's outstanding deposits. The date may not be in the future.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease being paid. A Snowflake id, sent as a decimal string.
Body
application/json
amountnumberrequiredHow much was paid, as a decimal amount of at least 1.
datestring · daterequiredThe date the payment was taken. May not be in the future.
paymentMethodenum<string>How the tenant paid. Defaults to other when left out.
referencestringCheque number or similar. Up to 200 characters.
descriptionstringNote on the payment. Up to 1000 characters.
tenantIdstringWhich tenant paid. A Snowflake id, sent as a decimal string.
targetDepositIdsstring[]Apply the money only to these deposits. Leave it out to let MagicDoor allocate it.
Response
200 · The payment transaction that was recorded.
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.