---
title: "Payment data model"
url: "https://docs.unified.to/property/payment/model"
description: "The Payment data model object in Unified's Payment API: 16 fields, including created_at, updated_at and building_id, with types and enum values."
date: "2026-11-30T21:28:45.423Z"
updated: "2026-11-30T21:28:45.423Z"
---
# Payment data model

Updated: November 30, 2026

 View field support, webhooks, and list parameters for each integration on the [Supported Integrations](https://docs.unified.to/property/integrations.md) page. 

| Field                    | Type                 | Required | Description                                                                                                                                                  |
| ------------------------ | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id                       | string               | No       | unique identifier for the payment                                                                                                                            |
| created\_at              | string (date-time)   | No       | when the payment was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                        |
| updated\_at              | string (date-time)   | No       | when the payment was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                   |
| building\_id             | string               | No       | pointer to the Property Building                                                                                                                             |
| unit\_id                 | string               | No       | pointer to the Property Unit                                                                                                                                 |
| lease\_id                | string               | No       | pointer to the Property Lease                                                                                                                                |
| resident\_id             | string               | No       | pointer to the Property Resident                                                                                                                             |
| charge\_ids              | string\[\]           | No       | Property Charges this payment was applied to                                                                                                                 |
| currency                 | string               | No       | ISO 4217 currency code                                                                                                                                       |
| total\_amount            | number               | No       | the payment amount                                                                                                                                           |
| method                   | enum                 | No       | the payment method Values: ACH, CREDIT\_CARD, DEBIT\_CARD, CHECK, CASH, MONEY\_ORDER, OTHER                                                                  |
| status                   | enum                 | No       | the payment status Values: PENDING, COMPLETED, FAILED, REVERSED, OTHER                                                                                       |
| paid\_at                 | string (date-time)   | No       | when the payment was made (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                           |
| reference                | string               | No       | the check number or transaction reference                                                                                                                    |
| notes                    | string               | No       | free-text notes about the payment                                                                                                                            |
| metadata                 | PropertyMetadata\[\] | No       | custom field values                                                                                                                                          |
| metadata\[\].id          | string               | No       | the custom field identifier                                                                                                                                  |
| metadata\[\].slug        | string               | No       | the custom field key                                                                                                                                         |
| metadata\[\].value       | object               | No       | the custom field value                                                                                                                                       |
| metadata\[\].namespace   | string               | No       | the scope or origin of the custom field                                                                                                                      |
| metadata\[\].format      | enum                 | No       | the data type of the value Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE\_SELECT, MULTIPLE\_SELECT, MEASUREMENT, PRICE, YES\_NO, CURRENCY, URL |
| metadata\[\].extra\_data | object               | No       | additional data about the custom field                                                                                                                       |

## TypeScript

```typescript
export type PropertyPayment = {
	id?: string; // unique identifier for the payment
	created_at?: string-time; // when the payment was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // when the payment was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	building_id?: string; // pointer to the Property Building
	unit_id?: string; // pointer to the Property Unit
	lease_id?: string; // pointer to the Property Lease
	resident_id?: string; // pointer to the Property Resident
	charge_ids?: string[]; // Property Charges this payment was applied to
	currency?: string; // ISO 4217 currency code
	total_amount?: number; // the payment amount
	method?: 'ACH' | 'CREDIT_CARD' | 'DEBIT_CARD' | 'CHECK' | 'CASH' | 'MONEY_ORDER' | 'OTHER'; // the payment method
	status?: 'PENDING' | 'COMPLETED' | 'FAILED' | 'REVERSED' | 'OTHER'; // the payment status
	paid_at?: string-time; // when the payment was made (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	reference?: string; // the check number or transaction reference
	notes?: string; // free-text notes about the payment
	metadata?: []; // custom field values
	raw?: any; // raw data from the integration
} 
```

## Zod

```typescript
import { z } from 'zod';

export const ZodPropertyPayment = z.object({
	id: z.string().optional().describe("unique identifier for the payment"),
	created_at: z.string-time().optional().describe("when the payment was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("when the payment was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	building_id: z.string().optional().describe("pointer to the Property Building"),
	unit_id: z.string().optional().describe("pointer to the Property Unit"),
	lease_id: z.string().optional().describe("pointer to the Property Lease"),
	resident_id: z.string().optional().describe("pointer to the Property Resident"),
	charge_ids: z.array().optional().describe("Property Charges this payment was applied to"),
	currency: z.string().optional().describe("ISO 4217 currency code"),
	total_amount: z.number().optional().describe("the payment amount"),
	method: z.enum("ACH", "CREDIT_CARD", "DEBIT_CARD", "CHECK", "CASH", "MONEY_ORDER", "OTHER").optional().describe("the payment method"),
	status: z.enum("PENDING", "COMPLETED", "FAILED", "REVERSED", "OTHER").optional().describe("the payment status"),
	paid_at: z.string-time().optional().describe("when the payment was made (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	reference: z.string().optional().describe("the check number or transaction reference"),
	notes: z.string().optional().describe("free-text notes about the payment"),
	metadata: z.array().optional().describe("custom field values"),

});
```

## Python

```python
import dataclasses

@dataclasses.dataclass
class PropertyPaymentMethod(str, Enum):
	ACH = 'ACH'
	CREDIT_CARD = 'CREDIT_CARD'
	DEBIT_CARD = 'DEBIT_CARD'
	CHECK = 'CHECK'
	CASH = 'CASH'
	MONEY_ORDER = 'MONEY_ORDER'
	OTHER = 'OTHER'

@dataclasses.dataclass
class PropertyPaymentStatus(str, Enum):
	PENDING = 'PENDING'
	COMPLETED = 'COMPLETED'
	FAILED = 'FAILED'
	REVERSED = 'REVERSED'
	OTHER = 'OTHER'

@dataclasses.dataclass
class PropertyPayment:
	"""unique identifier for the payment"""
	id: Optional[str]
	"""when the payment was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""when the payment was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""pointer to the Property Building"""
	building_id: Optional[str]
	"""pointer to the Property Unit"""
	unit_id: Optional[str]
	"""pointer to the Property Lease"""
	lease_id: Optional[str]
	"""pointer to the Property Resident"""
	resident_id: Optional[str]
	"""Property Charges this payment was applied to"""
	charge_ids: Optional[List[List[str]]]
	"""ISO 4217 currency code"""
	currency: Optional[str]
	"""the payment amount"""
	total_amount: Optional[int]
	"""the payment method"""
	method: Optional[PropertyPaymentMethod]
	"""the payment status"""
	status: Optional[PropertyPaymentStatus]
	"""when the payment was made (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	paid_at: Optional[str]
	"""the check number or transaction reference"""
	reference: Optional[str]
	"""free-text notes about the payment"""
	notes: Optional[str]
	"""custom field values"""
	metadata: Optional[PropertyPropertyPaymentMetadata]

```
