A transaction in Paylias represents a finalized commitment to move money
payment_id
transaction_lines
Field | Type | Description |
---|---|---|
token | string | Unique identifier for the transaction |
transaction_id | string | External-facing reference for the transaction |
payment_id | string | ID of the related payment |
status | enum | Lifecycle status of the transaction |
transaction_lines | array | List of credit/debit entries (see below) |
response_code | string | Optional processor response code |
approval_code | string | Optional authorization code |
initiated_on | integer | Timestamp when the transaction began |
processed_on | integer | Timestamp when the transaction was processed |
settled_on | integer | Timestamp when the transaction was settled |
expires_on | integer | Timestamp when the transaction expires |
created_on | integer | Timestamp when the transaction was created |
updated_on | integer | Timestamp of last update |
Field | Type | Description |
---|---|---|
token | string | Unique identifier for this transaction line |
transaction_id | string | Parent transaction |
partner_id | string | ID of the partner associated with this line |
direction | enum | Direction of funds (see below) |
transaction_type | enum | Type of transaction (e.g., payment, refund) |
amount | object | Object with currency and total (amount in minor units) |
Enum | Value | Description |
---|---|---|
TS_INITIATED | 1 | Transaction started |
TS_PROCESSING | 2 | Transaction is being processed |
TS_COMPLETED | 3 | Successfully completed |
TS_FAILED | 4 | Failed to complete |
TS_REVERSED | 5 | Manually or programmatically reversed |
TS_EXPIRED | 6 | Timed out |
TS_RECOVERED | 7 | Recovered from a failure |
Enum | Value | Description |
---|---|---|
TD_Credit | 1 | Funds received |
TD_Debit | 2 | Funds sent |
Enum | Value | Description |
---|---|---|
TT_PAYMENT | 1 | Normal payment transaction |
TT_REFUND | 2 | Refund transaction |
TT_REVERSAL | 3 | Payment reversal |
TT_FEE | 4 | Service or platform fee |