api_external.payments
View
Payments an org made to the caller's account, for its Account Owners, Admins and Finance members, or to the caller as an individual (Section 4.4.5). Payments are the party's own records and never close.
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | Yes | Payment. |
| org_id | uuid | Yes | Paying org. |
| org_name | text | Yes | Paying org name. |
| account_id | uuid | Yes | Account paid; NULL for a payment to an individual. |
| amount_minor | bigint | Yes | Amount in minor units. |
| currency_code | character(3) | Yes | Currency. |
| paid_on | date | Yes | Payment date. |
| reference_identifier | text | Yes | Remittance reference. |
| payment_state | app.payment_state | Yes | Payment state. |
| payee_person_id | uuid | Yes | The caller, for a payment to them as an individual. |