---
title: "Wallet balance and ledger entries"
method: GET
path: "/v1/wallet"
tags: ["wallet"]
---

# Wallet balance and ledger entries

`GET /v1/wallet`

## Request

- Base URL: `https://api.portproof.org`
- URL: `https://api.portproof.org/v1/wallet`
- Auth: one of:
  - API key in cookie `pp_session`
  - HTTP bearer

Cursor-paginated: `?limit=` (default 50, max 200) and `?cursor=` from the previous `next_cursor`.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Default Response

- object
  - `balance_cents` integer, required
  - `currency` 'EUR' | 'USD', required
  - `cap_cents` integer, required
  - `entries` object[], required
    - `id` string, required
    - `type` 'charge' | 'credit_sla' | 'credit_support' | 'refund' | 'payout' | 'topup' | 'order_debit' | 'affiliate_credit' | 'adjustment', required
    - `amount_cents` integer, required
    - `balance_after_cents` integer, nullable, required
    - `ref_type` string, nullable, required
    - `ref_id` string, nullable, required
    - `description` string, nullable, required
    - `item_kinds` string[]
    - `port_id` string, nullable
    - `created_at` string, date-time, required
  - `next_cursor` string, nullable

## Other responses

- `401`: Default Response
- `403`: Default Response

---

[API](https://skmtc.dev/portproof/apis/portproof-api.md) · [All operations](https://skmtc.dev/portproof/apis/portproof-api/llms.txt) · [OpenAPI document](https://skmtc.dev/portproof/apis/portproof-api/revisions/4143916c0fac?raw)
