Skip to main content
GET
/
v1
/
transactions
List transactions
curl --request GET \
  --url https://api.ledger.so/v1/transactions \
  --header 'Api-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "cardId": "<string>",
      "amount": 123,
      "currency": "<string>",
      "status": "pending",
      "createdAt": 123,
      "agentId": "<string>",
      "userId": "<string>",
      "authorizedAmount": 123,
      "localAmount": 123,
      "localCurrency": "<string>",
      "merchant": {
        "name": "<string>",
        "id": "<string>",
        "category": "<string>",
        "categoryCode": "<string>",
        "city": "<string>",
        "country": "<string>",
        "enrichedName": "<string>",
        "enrichedIcon": "<string>",
        "enrichedCategory": "<string>"
      },
      "declinedReason": "<string>",
      "attestationStatus": "attested",
      "notes": "<string>",
      "tags": [
        "<string>"
      ],
      "category": "<string>",
      "receipt": {
        "hasReceipt": true,
        "mimeType": "<string>",
        "uploadedAt": 123
      },
      "authorizedAt": 123,
      "postedAt": 123,
      "updatedAt": 123
    }
  ],
  "hasMore": true,
  "cursor": "<string>"
}

Authorizations

Api-Key
string
header
required

API key for authentication. Get your key from the Dashboard.

Query Parameters

cardId
string

Filter by card ID

userId
string

Filter by user ID

status
enum<string>

Filter by transaction status

Available options:
pending,
completed,
declined,
reversed
limit
integer
default:20

Number of items per page (max 100)

Required range: 1 <= x <= 100
cursor
string

Pagination cursor from previous response

Response

Transaction list

data
object[]
required
hasMore
boolean
required
cursor
string | null