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
  • Response Body
  • Dataset
  1. API Reference

Sources

Retrieve the list of Sources, including information on fetching times, files fetched, and any issues with fetching or parsing the data.

GET

/v1/api/:orgId/sources

Attribute
Definition

orgId UUID

Response Body

[{
  "id": ""
  "datasets": [{
    "id": "",
    "name": "",
    "revision": 0,
    "status": "",
    "createdAt": 0,
    "lastUpdatedBy": "",
    "lastUpdatedAt": 0,
    "lastReceived": 0,
    "latestTimestamp": 0,
    "failures": [{
      "type": "",
      "count": 0
    }],
    "lastFile": {
      "name": "",
      "fetchTime": 0
    }
  }]
}]
Attribute
Definition

id UUID

The Source ID

datasets Dataset[]

A collection of Dataset objects

Dataset

Attribute
Definition

id UUID

The dataset ID

name string

The dataset name

revision integer

An incremental integer representing the current dataset revision.

status string

One of the following values: pending, active, or deactivated.

createdAt integer

Epoch timestamp in milliseconds for creation of the dataset.

lastUpdatedBy string

Epoch timestamp in milliseconds for creation of the dataset.

lastUpdatedAt integer

Epoch timestamp in milliseconds for updates to the dataset (e.g. schema changes, rename, etc.).

lastReceived integer

Epoch timestamp in milliseconds for last time the dataset was updated with new data.

latestTimestamp integer

Epoch timestamp in milliseconds for the latest transaction on the dataset (i.e. "as-of" indication).

failures Failure[]

A collection of descriptions of failures in fetching and parsing data for the dataset.

lastFile FetchedFile[]

Details of the last file received into the dataset.

PreviousError HandlingNextTransactions

Last updated 4 months ago

Organization ID, can be found on the .

Developers page