Skip to main content
POST
/
v0
/
pint
/
exchange
Exchange Pint
curl --request POST \
  --url https://api.sumvin.com/v0/pint/exchange \
  --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": 12345
}
'
{
  "_links": {},
  "sig": "<string>",
  "id": "<string>",
  "audience": "<string>",
  "scopes": [
    "<string>"
  ],
  "expires_at": 123,
  "sri": "<string>"
}

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-sumvin-token
string | null
x-juno-jwt
string | null

Body

application/json
pint
PurchaseIntentPayload · object
required
signature
string
required
audience
string
required
source_chat_message_id
integer | null

Optional chat message ID correlating this PINT back to the conversation that generated it. When provided, the message must belong to a chat session owned by the authenticated user.

Example:

12345

Response

Successful Response

HAL-style hypermedia links for navigation and available actions.

sig
string
required

JWT token issued for the PINT

id
string
required

PINT URI

audience
string
required
scopes
string[]
required
expires_at
integer
required
sri
string | null

Sumvin Resource Identifier for the signer