GET
/
v1
/
transactions
curl -X GET 'https://api.tolt.com/v1/transactions?program_id=prg_YRsbPDAKhWfdqJbFACheh' \
-H 'Authorization: Bearer <API_KEY>'
{
  "success": true,
  "has_more": true,
  "total_count": 45,
  "data": [
    {
      "id": "txn_eK9bzRGn46BhVgNFHD6fDgXW",
      "amount": 9999,
      "customer_id": "cust_dK9bzRGn46BhVgNFHD6fDgXW",
      "billing_type": "subscription",
      "charge_id": "ch_9bzRGn46BhVgNFHD6fDgXW",
      "click_id": "clk_7mbzRGn46BhVgNFHD6fDgXW",
      "product_id": "prod_123",
      "product_name": "Premium Plan",
      "source": "stripe",
      "interval": "month",
      "created_at": "2025-01-15T14:30:00.000Z",
      "updated_at": "2025-01-15T14:30:00.000Z",
      "program_id": "prg_YRsbPDAKhWfdqJbFACheh",
      "partner_id": "part_JE3jbmkL9ci7sFaJazAv2"
    }
  ]
}

Base URL https://api.tolt.com


Query Parameters

program_id*
string
The program ID from where you want to list the transactions
partner_id
string - optional
Only return transactions from this partner
customer_id
string - optional
Only return transactions for this customer
order
asc | desc - optional
The order of the transactions to return by created_at. Default is desc
expand
array - optional
Specify which related objects to include in the response. Valid values are ‘customer’, ‘program’, and ‘partner’. Use expand[]=customer, expand[]=program, or expand[]=partner to include the related objects.
created_gte
string - optional
Only return transactions created after this date
created_lte
string - optional
Only return transactions created before this date
limit
string - optional
A limit on the number of transactions to return. Default is 10, max is 100
starting_after
string - optional
A cursor for use in pagination. starting_after is an object ID that defines your place in the list
ending_before
string - optional
A cursor for use in pagination. ending_before is an object ID that defines your place in the list

Response

success
boolean
Whether the request was successful
has_more
boolean
Whether there are more pages of results available
total_count
integer
Total number of transactions matching the query
data
array[Object]
curl -X GET 'https://api.tolt.com/v1/transactions?program_id=prg_YRsbPDAKhWfdqJbFACheh' \
-H 'Authorization: Bearer <API_KEY>'
{
  "success": true,
  "has_more": true,
  "total_count": 45,
  "data": [
    {
      "id": "txn_eK9bzRGn46BhVgNFHD6fDgXW",
      "amount": 9999,
      "customer_id": "cust_dK9bzRGn46BhVgNFHD6fDgXW",
      "billing_type": "subscription",
      "charge_id": "ch_9bzRGn46BhVgNFHD6fDgXW",
      "click_id": "clk_7mbzRGn46BhVgNFHD6fDgXW",
      "product_id": "prod_123",
      "product_name": "Premium Plan",
      "source": "stripe",
      "interval": "month",
      "created_at": "2025-01-15T14:30:00.000Z",
      "updated_at": "2025-01-15T14:30:00.000Z",
      "program_id": "prg_YRsbPDAKhWfdqJbFACheh",
      "partner_id": "part_JE3jbmkL9ci7sFaJazAv2"
    }
  ]
}