LoyaltyBalanceProgramsByPid_TransactionHistoryTransactionHistory: Brevo Loyalty Balance Programme Transaction History Items by Programme ID
read only REST
- Catalog:
Brevo - Schema:
Balance - Label: Loyalty Balance Programme Transaction History Items by Programme ID
Get Transaction History API Returns transaction history
Can only retrieve data.
Summary
Returns transaction history
API Source
- Endpoint:
/loyalty/balance/programs/{pid}/transaction-history - Operation:
get /loyalty/balance/programs/{pid}/transaction-history
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 126 |
| Full scan rows per minute | 414,000 |
| Point query rows per minute | 476 |
| Write rows per minute | 496 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
balance |
`` | Balance Definition ID | ||
contact |
`` | Contact ID | ||
loyalty |
`` | Loyalty Subscription ID filter | ||
pid |
`` | Loyalty Program Id | ||
sort |
`` | Field to sort by (Values: createdAt) | ||
status |
`` | Transaction status filter (Values: draft, completed, rejected, cancelled, expired) | ||
transaction |
`` | Transaction type filter (Values: credit, debit) |
Table Columns
The columns of the table LoyaltyBalanceProgramsByPid_TransactionHistoryTransactionHistory are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
amount |
double |
itgen_sib_amount | writable, amount |
The transaction amount. | |
balance |
varchar2 |
itgen_sib_balancedefinitionid | filters on the platform, writable, ::ancestor. |
Unique identifier of the associated balance definition. | |
balance |
varchar2 |
itgen_sib_balanceexpirationdate | writable, balance |
Expiration date of the balance associated with this transaction. | |
cancelled |
varchar2 |
itgen_sib_cancelledat | writable, cancelled |
Timestamp when the transaction was canceled, if applicable. | |
completed |
varchar2 |
itgen_sib_completedat | writable, completed |
Timestamp when the transaction was successfully completed. | |
contact |
int64 |
itgen_sib_contactid | filters on the platform, writable, ::ancestor. |
Unique identifier of the contact related to the transactions. | |
count |
int64 |
Count | filters on the platform, writable, ::ancestor. |
Total number of transactions in the history. | |
created |
varchar2 |
Creation Date | writable, created |
Timestamp when the transaction was initiated. | |
id |
varchar2 |
ID | writable, id |
Unique identifier of the transaction. | |
loyalty |
varchar2 |
itgen_sib_loyaltyprogramid | filters on the platform, writable, ::ancestor. |
Unique identifier of the associated loyalty program. | |
meta |
varchar2 |
itgen_sib_meta | writable | Optional metadata associated with the transaction. The JSON text of the nested object. | |
reject |
varchar2 |
itgen_sib_rejectreason | writable, reject |
Reason for rejection, if the transaction was declined. | |
rejected |
varchar2 |
itgen_sib_rejectedat | writable, rejected |
Timestamp when the transaction was rejected. | |
status |
varchar2 |
Status | writable, status |
Current status of the transaction (e.g., pending, completed, rejected). | |
transaction |
varchar2 |
itgen_sib_transactiontype | writable, transaction |
The type of the transaction. |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: