curl --request GET \
--url https://api.platform.dakota.xyz/self-serve/credits/ledger \
--header 'x-api-key: <api-key>'{
"entries": [
{
"id": "2WCn7YQ2QqA4oQ7wYpQyQ1QZKp1",
"entry_type": "purchase",
"amount_cents": 10000,
"balance_after_cents": 10000,
"transaction_id": null,
"description": "Purchased 10000 cents of credits",
"created_at": "2026-03-19T10:15:00Z"
},
{
"id": "2WCn7d4W2KzGdYJZmkQ8q2rKQm8",
"entry_type": "deduction",
"amount_cents": -250,
"balance_after_cents": 9750,
"transaction_id": "2WCn7kNcM6Yd3D2d4nY1Ld4Z1mV",
"description": "Transfer fee for transaction 2WCn7kNcM6Yd3D2d4nY1Ld4Z1mV",
"created_at": "2026-03-19T10:16:00Z"
}
],
"has_more": false
}Returns paginated credit ledger entries for the authenticated self-serve client.
curl --request GET \
--url https://api.platform.dakota.xyz/self-serve/credits/ledger \
--header 'x-api-key: <api-key>'{
"entries": [
{
"id": "2WCn7YQ2QqA4oQ7wYpQyQ1QZKp1",
"entry_type": "purchase",
"amount_cents": 10000,
"balance_after_cents": 10000,
"transaction_id": null,
"description": "Purchased 10000 cents of credits",
"created_at": "2026-03-19T10:15:00Z"
},
{
"id": "2WCn7d4W2KzGdYJZmkQ8q2rKQm8",
"entry_type": "deduction",
"amount_cents": -250,
"balance_after_cents": 9750,
"transaction_id": "2WCn7kNcM6Yd3D2d4nY1Ld4Z1mV",
"description": "Transfer fee for transaction 2WCn7kNcM6Yd3D2d4nY1Ld4Z1mV",
"created_at": "2026-03-19T10:16:00Z"
}
],
"has_more": false
}Return entries created before this timestamp.
Maximum number of entries to return.
1 <= x <= 100Optional ledger entry type filter.
purchase, deduction, refund Was this page helpful?