ReconifyDocumentation

List ledger sources

Returns all ledger sources belonging to your organization.

GET
/ledger/sources

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Org-level API key (sk_live_*). Create keys from the dashboard at Settings → API Keys.

In: header

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/ledger/sources"
{  "$schema": "/v1/schemas/ListSourcesOutputBody.json",  "sources": [    {      "createdAt": "2019-08-24T14:15:22Z",      "id": "018f1a2b-3c4d-5e6f-7a8b-9c0d1e2f3a4b",      "name": "Stripe Payments",      "orgId": "string",      "schemaMapping": {        "amountCol": "string",        "currencyCol": "string",        "dateCol": "string",        "dateLayout": "2006-01-02",        "decimal": ".",        "directionCol": "string",        "nameCol": "string",        "refCol": "string",        "thousands": ",",        "typeCol": "string"      },      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}
{  "$schema": "/v1/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}