Brevo · Schema

transaction

Represents a transaction involving a balance, including status and timestamps.

MarketingMarketing AutomationEmail MarketingTransactional EmailSMS MarketingWhatsAppCampaignsCRMSalesE-CommerceLoyaltyEventLive ChatEmailSMSAutomationMessagingContacts

Properties

Name Type Description
id string Unique identifier (UUID) of the transaction.
amount string The transaction amount.
transactionType object The type of the transaction.
meta object Optional metadata associated with the transaction.
status object The current status of the transaction.
loyaltyProgramId string Unique identifier (UUID) of the associated loyalty program.
balanceDefinitionId string Unique identifier (UUID) of the associated balance definition.
contactId integer Unique identifier of the contact associated with the transaction.
eventTime string Optional timestamp indicating when the transaction event occurred (ISO 8601 format).
rejectReason string Reason for rejection if the transaction was declined (nullable).
rejectedAt string Timestamp when the transaction was rejected (nullable).
expirationDate string Expiry date of the transaction (nullable).
completedAt string Timestamp when the transaction was completed (nullable).
cancelledAt string Timestamp when the transaction was canceled (nullable).
createdAt string Timestamp when the transaction was created.
updatedAt string Timestamp when the transaction was last updated.
View JSON Schema on GitHub

JSON Schema

brevo-transaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-transaction-schema.json",
  "title": "transaction",
  "description": "Represents a transaction involving a balance, including status and timestamps.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-balance-api-openapi.yml#/components/schemas/transaction",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier (UUID) of the transaction."
    },
    "amount": {
      "type": "string",
      "title": "float",
      "description": "The transaction amount."
    },
    "transactionType": {
      "$ref": "#/$defs/TransactionTransactionType",
      "description": "The type of the transaction."
    },
    "meta": {
      "type": "object",
      "additionalProperties": {
        "description": "Any type"
      },
      "description": "Optional metadata associated with the transaction."
    },
    "status": {
      "$ref": "#/$defs/TransactionStatus",
      "description": "The current status of the transaction."
    },
    "loyaltyProgramId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier (UUID) of the associated loyalty program."
    },
    "balanceDefinitionId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier (UUID) of the associated balance definition."
    },
    "contactId": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier of the contact associated with the transaction."
    },
    "eventTime": {
      "type": "string",
      "format": "date-time",
      "description": "Optional timestamp indicating when the transaction event occurred (ISO 8601 format)."
    },
    "rejectReason": {
      "type": "string",
      "description": "Reason for rejection if the transaction was declined (nullable)."
    },
    "rejectedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the transaction was rejected (nullable)."
    },
    "expirationDate": {
      "type": "string",
      "format": "date-time",
      "description": "Expiry date of the transaction (nullable)."
    },
    "completedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the transaction was completed (nullable)."
    },
    "cancelledAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the transaction was canceled (nullable)."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the transaction was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the transaction was last updated."
    }
  },
  "$defs": {
    "TransactionStatus": {
      "type": "string",
      "enum": [
        "pending",
        "complete",
        "rejected",
        "cancelled",
        "expired"
      ],
      "description": "The current status of the transaction.",
      "title": "TransactionStatus"
    },
    "TransactionTransactionType": {
      "type": "string",
      "enum": [
        "credit",
        "debit"
      ],
      "description": "The type of the transaction.",
      "title": "TransactionTransactionType"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/brevo-transaction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.