POST
/
transactions
Enrich a transaction
curl --request POST \
  --url https://api.ledgerbeam.com/v1/transactions \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "APPLE.COM/BILL"
}'
{
  "id": "ee02c3be-3825-449c-a35f-7b7cc47675e8",
  "entity": {
    "description": "Apple is a multinational technology company known for its consumer electronics, software, and online services. The transaction was processed through Apple's own payment system, with no external intermediaries involved.",
    "id": "6890b942-df95-43f5-8f38-a5dcee46d24a",
    "intermediaries": [],
    "logo": "https://logos.ledgerbeam.com/www.apple.com",
    "name": "Apple",
    "type": "merchant",
    "website": "https://www.apple.com"
  },
  "category": {
    "primary": "Entertainment",
    "secondary": [
      "Streaming Service",
      "Digital Content",
      "Subscription Service"
    ],
    "accounting_category": "Subscriptions",
    "tags": [
      "streaming",
      "digital-content",
      "subscription"
    ]
  },
  "location": {
    "address": "1 Infinite Loop, Cupertino, CA 95014, USA",
    "street": "1 Infinite Loop",
    "city": "Cupertino",
    "state": "California",
    "country": "United States",
    "country_code": "US",
    "postal_code": "95014",
    "latitude": 37.33182,
    "longitude": -122.03118,
    "maps": {
      "google_maps_url": "https://www.google.com/maps/search/?api=1&query=1+Infinite+Loop,+Cupertino,+CA+95014+USA",
      "apple_maps_url": "https://maps.apple.com/?q=1+Infinite+Loop,+Cupertino,+CA+95014+USA",
      "waze_url": "https://waze.com/ul?q=1+Infinite+Loop,+Cupertino,+CA+95014+USA"
    }
  },
  "recurrence": {
    "is_recurring": true,
    "frequency": "monthly",
    "next_occurrence": "2025-07-24",
    "confidence_score": 0.95
  },
  "confidence_score": 0.95
}

Authorizations

API-KEY
string
header
required

API key for authentication

Body

application/json

Response

200
application/json

Transaction enriched successfully

The response is of type object.