LogoLogo
  • Getting Started
  • Sources
    • Overview
    • Data Ingestion
  • Transaction Matching
    • Overview
    • Matching Rules
  • Reconciliation
    • Overview
    • Payment Flows
  • INTEGRATION GUIDES
    • Payment Service Providers
      • How-to Guide: Generating Amazon Pay’s Payments Report
      • How-to Guide: Generating Braintree’s Transaction Report
      • How-to Guide: Generating Braintree API Credentials
      • How-to Guide: Generating Checkout's Settlement Reports
      • How-to Guide: Generating Checkout.com API Token
      • How-to Guide: Generating Klarna’s Settlements Report
      • How-to Guide: Generating Klarna’s SFTP Credentials
      • How-to Guide: Generating Method's API Key
      • How-to Guide: Generating PayPal’s Activity Report
      • How-to Guide: Generating PayPal API Credentials
      • How-to Guide: Generating Recurly’s Transactions Report
      • How-to Guide: Generating Stripe’s Payout Reconciliation Report
      • How-to Guide: Exporting Stripe Invoices
      • Generating & using Stripe API key
      • How-to Guide: Generating Worldpay's Settlement Report
      • How-to Guide: Generating Vitesse API Token
      • How-to Guide: Generating Adyen's API Token
      • How-to Guide: Generating Ramp API Credentials
    • Banks
      • How-to Guide: Generating Mercury’s API Token
      • How-to Guide: Generating Wells Fargo’s Account Activity Report
      • How-to Guide: Connect Bank of America CashPro to Ledge
    • ERPs & Platforms
      • How-to Guide: Set Up the Ledge Integration on NetSuite
      • How-to Guide: Connect NetSuite to Ledge (without installing a bundle)
      • How-to Guide: Connect Sage Intacct to Ledge
      • How-to Guide: Generating Shopify API token
    • Databases & Data Warehouses
      • How-to Guide: Locating The Required Details to Connect Snowflake
      • How-to Guide: Locating The Required Details to Connect Postgres
      • How-to Guide: Locating The Required Details to Connect Microsoft SQL Server
  • API Reference
    • Getting Started
    • Fundamentals
      • Authentication
      • Fine-Grained Permissions
      • Pagination
      • Status Codes
      • Error Handling
    • Sources
    • Transactions
      • Querying
  • Changelog
    • 2024
      • Fall Product Releases
      • Spring Product Releases
Powered by GitBook
On this page
  • Request Body
  • Response Body
  • Example
  1. API Reference

Transactions

Retrieve the list of Transactions, their matches, and their reconciliation status.

POST

/v1/api/:orgId/transactions

Attribute
Definition

orgId UUID

Request Body

{
  "datasetId": UUID,
  "limit": 0,
  "offest": 0,
  "from": 0,
  "to": 0,
  "search": [],
  "columns": []
}
Attribute
Definition

datasetId UUID

limit integer

offset integer

from integer

Transaction epoch timestamp in milliseconds from which to fetch optional

to integer

Transaction epoch timestamp in milliseconds to which to fetch optional

search SearchQuery[]

columns SearchQuery[]

List of columns to include in the response optional

Response Body

[{
  "id": "",
  "datasetId": "",
  "reconciliationStatus": "",
  "incomingMatches": [],
  "outgoingMatches": [],
  "description": "",
  "type": "",
  "timestamp": 0
}]
Attribute
Definition

id UUID

Ledge ID for the line

datasetId UUID

reconciliationStatus string

One of the following values: none, partial, full, informative, out of scope

incomingMatches Match[]

List of matches in which the listed transaction is the origin.

outgoingMatches Match[]

List of matches in which the listed transaction is the target.

description string

The value of the description field of the transaction.

type string

The value of the type field of the transaction.

timestamp integer

Epoch timestamp in milliseconds.

Example

Request:

{
  "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "limit": 100
  "offest": 0,
  "from": 1704067200000,
  "to": 1706745600,
  "search": [{
    "path": "Description",
    "search": {
      "type": "string",
      "value": "INV-340174"
    }
  }]
}

Response:

[{
  "id": "bb3e52d3-ce21-44be-b16c-e28f7d3d44da",
  "datasetId": "8872aec1-6a21-423b-a7ad-e813f4419f75",
  "reconciliationStatus": "none",
  "incomingMatches": [],
  "outgoingMatches": [],
  "description": "Transfer to Vendor A/INV-12345/Jan-2024 PYMT",
  "type": "ACH Credit",
  "timestamp": 1704067200000
}]

PreviousSourcesNextQuerying

Last updated 4 months ago

Organization ID, can be found on the .

Source ID, see for more details

Number of records to fetch, see for more details optional

Number of records to fetch, see for more details optional

An array of filters, with an AND operator between criteria. See for more details optional

Source ID, see for more details

Pagination
Pagination
Querying
Developers page
Sources
Sources