Skip to content
Last updated

Generate a transaction report

Prerequisites

Option A: List transactions (summary)

Send GET /v1/transactions to retrieve a paginated list of transactions.

Query parameters

ParameterTypeDescription
skipstringNumber of records to skip (offset)
takestringNumber of records to return per page
sort_columnstringColumn to sort by
sort_orderstringasc or desc
search_textstringFree-text search across transaction fields
termstringFilter term (for example, date range or status)

Example: List recent transactions

curl -G \
  https://api.dev.paradisegateway.net/v1/transactions \
  -H "APIKEY: YOUR-API-KEY" \
  -d skip=0 \
  -d take=25 \
  -d sort_order=desc

Response

{
  "count": 142,
  "results": [
    {
      "id": "TXN-01KFDKXMQ637EKEAY410MSQSXB",
      "type": "card_sale",
      "status": "approved",
      "amount": 4999,
      "currency": "usd",
      "created_at": "2026-03-24T14:30:00Z"
    }
  ],
  "correlation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Use count and skip/take to implement pagination. See List transactions with filters for advanced filtering examples.

Option B: Retrieve a single transaction (full details)

Send GET /v1/transactions/{id} to get the complete record for one transaction.

curl https://api.dev.paradisegateway.net/v1/transactions/TXN-01KFDKXMQ637EKEAY410MSQSXB \
  -H "APIKEY: YOUR-API-KEY"

Response example from the API

The response includes the full transaction record: payment method details (masked), processor response, fraud signals, and related transaction IDs.

See Retrieve transaction details for a detailed field-by-field guide.

Common reporting patterns

GoalApproach
Daily sales summaryGET /v1/transactions?term=today&sort_order=desc
Search by last four digitsGET /v1/transactions?search_text=1111
Page through large result setsIncrement skip by take on each request
Export all transactionsLoop with skip/take until results is empty

Next steps