Skip to main content
GET
/
v0
/
pint
/
List Pints Endpoint
curl --request GET \
  --url https://api.sumvin.com/v0/pint/ \
  --header 'x-sumvin-pat: <api-key>'
{
  "_links": {},
  "data": [
    {
      "pint": {
        "id": "<string>",
        "wallet_address": "<string>",
        "nonce": 123,
        "eip712_message": {},
        "scopes": [
          "<string>"
        ],
        "resources": [
          "<string>"
        ],
        "max_amount": "<string>",
        "signer_type": "<string>",
        "status": "<string>",
        "created_at": 123,
        "expires_at": 123,
        "revoked_at": 123,
        "token_count": 123,
        "signed_at": 123,
        "budget_consumed": "<string>",
        "budget_remaining": "<string>",
        "transaction_count": 0,
        "enforcement_mode": "strict",
        "source_chat_message_id": 123
      },
      "_links": {}
    }
  ],
  "has_more": true,
  "cursor": "<string>",
  "limit": 123
}

Authorizations

x-sumvin-pat
string
header
required

Personal access token issued to the Sumvin CLI. Send it in the x-sumvin-pat header to authenticate as the owning user.

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-sumvin-token
string | null
x-sumvin-pat
string | null
x-juno-jwt
string | null
X-Timestamp-Format
string

Controls how timestamp fields are serialized in JSON response bodies.

Default (header omitted or any other value): epoch milliseconds as integers. iso8601: UTC ISO 8601 strings of the form YYYY-MM-DDTHH:MM:SSZ.

Example: with X-Timestamp-Format: iso8601, the field value 1704067200000 becomes "2024-01-01T00:00:00Z".

Affected fields (recursively, in dicts and arrays): any field whose name ends in _at, plus the literal field names timestamp, period_start, and period_end. All other fields are passed through unchanged.

Only iso8601 is recognized. Any other value (or omitting the header) yields the default epoch-ms representation; the server does not reject unknown values, so this is documented as an example rather than an enum to keep generated clients permissive.

Example:

"iso8601"

Query Parameters

wallet
string
required
status
enum<string>
default:active
Available options:
pending,
active,
revoked,
expired
sort
enum<string>
default:created_at
Available options:
created_at,
expires_at
order
enum<string>
default:desc
Available options:
asc,
desc
limit
integer
default:20
Required range: 1 <= x <= 50
cursor
string | null

Response

Successful Response

HAL-style hypermedia links for navigation and available actions.

data
PintListItem · object[]
required

List of PINT resources.

has_more
boolean
required

Whether more results exist beyond this page.

cursor
string | null
required

Cursor for the next page, if has_more is true.

limit
integer
required

Maximum items per page.