Skip to main content
GET
/
v1
/
programs
/
{id}
/
history
Get program wallet transaction history
curl --request GET \
  --url https://api.scrip.dev/v1/programs/{id}/history \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "amount": "1000.00",
      "asset_id": "550e8400-e29b-41d4-a716-446655440000",
      "bucket": "AVAILABLE",
      "created_at": "2024-01-15T10:30:00Z",
      "created_by_api_key_id": "770e8400-e29b-41d4-a716-446655440000",
      "description": "Program funding",
      "event_id": "660e8400-e29b-41d4-a716-446655440000",
      "event_timestamp": "2025-01-15T10:30:00Z",
      "journal_entry_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}
Returns the transaction history for a program’s wallet. Each entry represents a fund, burn, or credit draw operation against the wallet for a given asset. Fund operations increase the wallet balance, burn operations decrease it, and credit draws are deducted automatically when rules issue credits from a PREFUNDED asset. This gives you a full audit trail of how a program’s budget was allocated and consumed over time. Use from / to to filter by ingestion time, and event_from / event_to to filter by the originating event’s occurrence time. Each event-driven transaction includes an event_timestamp field in the response.
For usage patterns and examples, see the Programs guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Program ID

Query Parameters

limit
integer
default:50

Maximum number of results (default 50, max 200)

Required range: x >= 1
cursor
string

Pagination cursor from previous response

asset_id
string<uuid>

Filter by asset ID

bucket
enum<string>

Filter by balance bucket

Available options:
AVAILABLE,
HELD,
DEFERRED
from
string<date-time>

Start of time window (RFC 3339) — filters on system ingestion time

to
string<date-time>

End of time window (RFC 3339) — filters on system ingestion time

event_from
string<date-time>

Start of event occurrence window (RFC 3339) — filters on event_timestamp

event_to
string<date-time>

End of event occurrence window (RFC 3339) — filters on event_timestamp

Response

Transaction history

data
object[]

Data contains the list of items

pagination
object

Pagination contains cursor information for fetching more results