Skip to main content
GET
/
self-serve
/
credits
/
ledger
List prepaid credit ledger entries
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
}

Authorizations

x-api-key
string
header
required

Query Parameters

cursor
string<date-time>

Return entries created before this timestamp.

limit
integer<int32>
default:20

Maximum number of entries to return.

Required range: 1 <= x <= 100
type
enum<string>

Optional ledger entry type filter.

Available options:
purchase,
deduction,
refund

Response

Paginated credit ledger entries

entries
object[]
required
has_more
boolean
required
Example:

false