Home / Servers / Brevo API / get_loyalty_balance_programs_by_pid_transaction_history
Get Transaction History API
An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.
Get Transaction History API Returns transaction history [GET /loyalty/balance/programs/{pid}/transaction-history]
Name on the gateway: brevo_api__get_loyalty_balance_programs_by_pid_transaction_history · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
pid required | string | Loyalty Program Id |
limit | integer | Limit the number of records returned |
offset | integer | Page number to retrieve |
sortField | createdAt | Field to sort by |
sort | asc | desc | Sort order |
contactId required | integer | Contact ID |
balanceDefinitionId required | string | Balance Definition ID |
status | draft | completed | rejected | cancelled | expired | Transaction status filter |
transactionType | credit | debit | Transaction type filter |
loyaltySubscriptionId | string | Loyalty Subscription ID filter |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "brevo_api__get_loyalty_balance_programs_by_pid_transaction_history",
"arguments": {
"pid": "…",
"contactId": 0,
"balanceDefinitionId": "…"
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get transaction history api tool with pid set to ….