Transactions

List transactions

Changed on

Retrieve a paginated list of transactions with optional filtering. The transactions can be filtered by customer ID, platform customer ID, UMA address, date range, status, and transaction type.

Card transactions are included and identified by type: CARD. In Sandbox this is how you discover a CardTransaction id after simulating an authorization — list the transactions, take the card transaction's id, and pass it as the cardTransactionId to the clearing and return simulate endpoints.

get/transactions

Request

  • Base URL: https://api.lightspark.com/grid/2025-10-13
  • URL: https://api.lightspark.com/grid/2025-10-13/transactions
  • Auth: HTTP basic

Query parameters

customerIdstring

Filter by system customer ID. To filter to transactions made on behalf of the platform, specify the platform ID as the customer ID.

platformCustomerIdstring

Filter by platform-specific customer ID

accountIdentifierstring

Filter by account identifier (matches either sender or receiver)

senderAccountIdentifierstring

Filter by sender account identifier

receiverAccountIdentifierstring

Filter by receiver account identifier

status'CREATED' | 'PENDING' | 'PENDING_AUTHORIZATION' | 'PROCESSING' | 'COMPLETED' | 'REJECTED' | 'FAILED' | 'REFUNDED' | 'EXPIRED'

Status of a payment transaction.

StatusDescription
CREATEDInitial lookup has been created
PENDINGQuote has been created
PENDING_AUTHORIZATIONAwaiting Strong Customer Authentication. Only occurs for customers in a region where SCA is required (e.g. EU). The challenge is carried by the quote, not the transaction — fetch GET /quotes/{quoteId} using the transaction's quoteId, then authorize its scaChallenge via POST /quotes/{quoteId}/authorize.
PROCESSINGFunding has been received and payment initiated
COMPLETEDCross border payment has been received, converted and payment has been sent to the offramp network
REJECTEDReceiving institution or wallet rejected payment, payment has been refunded
FAILEDAn error occurred during payment
REFUNDEDPayment was unable to complete and refunded
EXPIREDQuote has expired

Filter by transaction status. Applies to payment transactions only: card transactions carry a card lifecycle status (see CardTransactionStatus) and are excluded from status-filtered queries. Combining status with type=CARD is rejected with a 400.

type'INCOMING' | 'OUTGOING' | 'CARD'

Type of transaction

Filter by transaction type

cardIdstring
Example:Card:019542f5-b3e7-1d02-0000-000000000010

Filter to card transactions made on a single card. Accepts a Card: LSID or a bare UUID. Only card transactions match, so this implies type=CARD and can be combined with customerId to list one card of a multi-card cardholder.

referencestring

Filter by reference

startDatestring date-time

Filter by start date (inclusive) in ISO 8601 format

endDatestring date-time

Filter by end date (inclusive) in ISO 8601 format

limitinteger

Maximum number of results to return (default 20, max 100)

cursorstring

Cursor for pagination (returned from previous request)

sortOrder'asc' | 'desc'

Order to sort results in

Response

Successful operation

hasMoreboolean required

Indicates if more results are available beyond this page

nextCursorstring

Cursor to retrieve the next page of results (only present if hasMore is true)

totalCountinteger

Total number of transactions matching the criteria (excluding pagination)

Example response

{
  "data": [
    {
      "id": "Transaction:019542f5-b3e7-1d02-0000-000000000004",
      "destination": {
        "destinationType": "ACCOUNT",
        "currency": "EUR",
        "accountId": "ExternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
        "onChainTransaction": {
          "transactionHash": "h82pJGF9p7kpzb6eU326EFZf2cDnimbTFVeJtx1qtBmUNJAEqN76R7PwPfHt3oWb8R6cKvhgyxQdDn53jFrK6wFx",
          "network": "SOLANA"
        }
      },
      "customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
      "platformCustomerId": "18d3e5f7b4a9c2",
      "settledAt": "2025-08-15T14:30:00Z",
      "createdAt": "2025-08-15T14:25:18Z",
      "updatedAt": "2025-08-15T14:30:00Z",
      "receiptDeliveryConfirmedAt": "2025-08-15T14:31:00Z",
      "agentId": "Agent:019542f5-b3e7-1d02-0000-000000000042",
      "description": "Payment for invoice #1234",
      "sentAmount": {
        "amount": 12550,
        "currency": {
          "code": "USD",
          "name": "United States Dollar",
          "symbol": "$",
          "decimals": 2
        }
      },
      "exchangeRate": 1.08,
      "quoteId": "Quote:019542f5-b3e7-1d02-0000-000000000006",
      "refund": {
        "reference": "UMA-Q12345-REFUND",
        "initiatedAt": "2025-08-15T14:30:00Z",
        "settledAt": "2025-08-15T14:35:00Z",
        "status": "COMPLETED",
        "reason": "TRANSACTION_FAILED"
      },
      "counterpartyInformation": {
        "FULL_NAME": "John Sender",
        "BIRTH_DATE": "1985-06-15",
        "NATIONALITY": "DE"
      },
      "source": {
        "sourceType": "ACCOUNT",
        "currency": "USD",
        "accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
        "onChainTransaction": {
          "transactionHash": "h82pJGF9p7kpzb6eU326EFZf2cDnimbTFVeJtx1qtBmUNJAEqN76R7PwPfHt3oWb8R6cKvhgyxQdDn53jFrK6wFx",
          "network": "SOLANA"
        }
      },
      "receivedAmount": {
        "amount": 12550,
        "currency": {
          "code": "USD",
          "name": "United States Dollar",
          "symbol": "$",
          "decimals": 2
        }
      },
      "fees": 10,
      "reconciliationInstructions": {
        "reference": "UMA-Q12345-REF",
        "transactionHash": "0x9f2c6b6f4b6c8f2a8d9e0b1c2d3e4f5061728394a5b6c7d8e9f00112233445566"
      }
    }
  ]
}

Changes

    • warning

      added the new ACH_SAME_DAY enum value to the /////////// response property for the response status

    • warning

      added the new ACH_SAME_DAY enum value to the ////////////// response property for the response status

    • warning

      added the new ACH_SAME_DAY enum value to the //////// response property for the response status

    • warning

      added the new ACH_SAME_DAY enum value to the /////////// response property for the response status

    • warning

      removed the optional property //////////////// from the response with the status

    • info

      added the optional property ///////////// to the response with the status