Skip to main content
PATCH
/
v0
/
pint
/
{pint_id}
Submit Pint Signature
curl --request PATCH \
  --url https://api.sumvin.com/v0/pint/{pint_id} \
  --header 'Content-Type: application/json' \
  --header 'x-sumvin-pat: <api-key>' \
  --data '
{
  "signature": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
'
{
  "_links": {
    "issue_token": {
      "href": "/v0/sis/token/pint",
      "method": "POST"
    },
    "revoke": {
      "href": "/v0/pint/sr%3Aus%3Apint%3Aabc123def456",
      "method": "DELETE"
    },
    "self": {
      "href": "/v0/pint/sr%3Aus%3Apint%3Aabc123def456"
    },
    "status": {
      "href": "/v0/sis/pint/sr%3Aus%3Apint%3Aabc123def456/status"
    },
    "tokens": {
      "href": "/v0/pint/sr%3Aus%3Apint%3Aabc123def456/tokens"
    }
  },
  "pint": {
    "created_at": 1704067200000,
    "enforcement_mode": "strict",
    "expires_at": 1704153600000,
    "id": "sr:us:pint:abc123def456",
    "nonce": 1,
    "scopes": [
      "read:portfolio"
    ],
    "signed_at": 1704067200500,
    "signer_type": "user",
    "status": "active",
    "token_count": 2,
    "transaction_count": 0,
    "wallet_address": "0xaabbccdd11223344556677889900aabbccddeeff"
  }
}

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"

Path Parameters

pint_id
string
required

Body

application/json
signature
string
required

65-byte EIP-712 signature (0x + 130 hex chars) over pint.eip712_message.

Pattern: ^0x[0-9a-fA-F]{130}$

Response

Successful Response

HAL-style hypermedia links for navigation and available actions.

pint
PintDetailData · object
required

PINT resource details.

tokens
PintTokenIssuanceEntry · object[] | null

JWT token issuances. Populated when ?expand=tokens is requested.

transactions
PintTransactionData · object[] | null

Transactions linked to this PINT. Populated when ?expand=transactions is requested.

agent_tasks
PintAgentTaskData · object[] | null

Agent tasks linked to this PINT. Populated when ?expand=agent_tasks is requested.