Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| payment_instrument_status_history_id | int8 | 19 | null |
|
|
The primary key of this table. |
|||||
| payment_instrument_id | int8 | 19 | √ | null |
|
|
The payment instrument whose status changed. Always a standard payment instrument id (positive) — bank-account direct-debit rows in |
||||
| customer_id | int8 | 19 | √ | null |
|
|
The customer whose account this payment instrument belongs to. Null in rare cases where the instrument’s billing setup could not be linked back to an account. |
||||
| paying_customer_id | int8 | 19 | √ | null |
|
|
The customer who actually pays for this instrument. Equals |
||||
| payment_responsibility_type | varchar | 64 | √ | null |
|
|
Who is financially responsible for this instrument. One of:
|
||||
| organization_unit_id | int8 | 19 | √ | null |
|
|
The studio (organization unit) of the customer who owns the payment instrument whose status changed. |
||||
| status | varchar | 64 | √ | null |
|
|
The new status value at this log entry. One of:
|
||||
| invalid_reason | varchar | 64 | √ | null |
|
|
Populated when
|
||||
| charged_back_reason | varchar | 64 | √ | null |
|
|
Populated when
|
||||
| message | varchar | 65535 | √ | null |
|
|
Free-text message with additional detail about this status transition (e.g. provider error message). |
||||
| event_date_time | timestamptz | 35 | √ | null |
|
|
The UTC date and time at which this status transition occurred. |
||||
| last_updated | timestamptz | 35 | √ | null |
|
|
System column. UTC Timestamp at which entry was calculated (lags shortly behind source system). |
||||
| data_landing_time | timestamptz | 35 | getdate() |
|
|
System column. UTC timestamp assigned when a table batch is applied on Redshift. It represents warehouse landing order at table-batch granularity, not source event order. Usable to filter for incremental extractions. |



