For the complete documentation index, see llms.txt. This page is also available as Markdown.

A4

Endpoint

POST /api/v1/preview-token-A4

Download an SVG file to preview an A4 token output


Headers

Name
Value

Content-Type

application/json

Authorization


Body

Name
Type
Description

tokenText

string

The text content that is stamped in the token output

walletPrivateKey

string

For authorizing wallet transaction

fontFamily

string (optional), defaults to serif

Font-family that is used in the token output text

documentTitle

string (optional)

Document title, displayed on the top of the first page

documentSubtitle

string (optional)

Document subtitle, displayed below the document title


Response

Downloads SVG file.

{
  "success": false,
  "status": "Failed to preview token: {error.message}"
}
{
  "success": false,
  "status": "The wallet does not own any valid Xyxyx API Key or XIN"
}
{
  "success": false,
  "status": "This wallet has already consumed its 24-hour request quota"
}

Last updated