Skip to main content
POST
/
v0
/
sis
/
token
/
pint
Exchange Pint For Token
curl --request POST \
  --url https://sis.sumvin.com/v0/sis/token/pint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pint": {
    "wallet": "<string>",
    "nonce": 123,
    "statement": "<string>",
    "scopes": [
      "<string>"
    ],
    "resources": [
      "<string>"
    ],
    "max_amount": "<string>",
    "max_amount_token": "<string>",
    "expires_at": 123
  },
  "signature": "<string>",
  "audience": "<string>",
  "source_chat_message_id": 123,
  "enforcement_mode": "strict"
}
'
{
  "_links": {
    "self": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "pint": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "pint_status": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "pint_tokens": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "revoke": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "jwks": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    }
  },
  "sig": "<string>",
  "id": "<string>",
  "audience": "<string>",
  "scopes": [
    "<string>"
  ],
  "expires_at": 123,
  "sri": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
pint
PurchaseIntentPayload · object
required
signature
string
required
audience
string
required
source_chat_message_id
integer | null
enforcement_mode
enum<string>
default:strict
Available options:
strict,
advisory

Response

Successful Response

sig
string
required

JWT token issued for the PINT

id
string
required

PINT SRI (e.g. sr:us:pint:abc123)

audience
string
required

Audience the token was issued for

scopes
string[]
required

Authorized scopes for this PINT

expires_at
integer
required

Token expiry as epoch seconds

sri
string | null

Sumvin Resource Identifier for the signer