Retrieve a specific transaction by key, including its associated rewards
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Transaction’s unique key |
Transaction — data
| Field | Type | Description |
|---|---|---|
key | string | Unique transaction identifier |
action | string | Transaction type |
amount | number | Transaction amount |
amount_units | string | Currency code |
partner | string | Partner key |
customer | string | Customer key |
credit | boolean | Whether this is a credit transaction |
is_currency | boolean | Whether the amount is monetary |
created_at | string | ISO 8601 timestamp |
deleted_at | string|null | Deletion timestamp if archived/refunded |
Rewards — data.rewards[]
| Field | Type | Description |
|---|---|---|
key | string | Reward identifier (matches transaction key) |
action | string | Reward origin |
status | string | Reward status (ok, review_period, rejected) |
customer | string | Customer key |
partner | string | Partner key |
amount | number | Commission amount |
amount_units | string | Currency code |
is_currency | boolean | Whether the amount is monetary |
credit | boolean | Whether this is a credit reward |
created_at | string | ISO 8601 timestamp |
deleted_at | string|null | Deletion timestamp |
product_type_data | object | Product ID and type (if provided) |