get_client_side_token
Retrieve a client-side token by ID for initializing Paddle.js in sandbox or production environments, with status indicators for active or revoked tokens.
Instructions
This tool will retrieve a client-side token from Paddle by its ID.
The returned token field is the client-side token that needs to be provided when initializing Paddle.js. Can be exposed client-side safely. If it starts with:
test_: The token is a test token for a sandbox environment and shouldn't be used in production.
live_: The token is a live token for a production environment. It can be used to test too but Paddle.js checkouts require real cards.
Client-side tokens have a status:
active: Client-side token can be used to authenticate with Paddle.js.
revoked: Client-side token has been revoked and can no longer be used to authenticate with Paddle.js.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientTokenId": "<clientTokenId>"
},
"name": "get_client_side_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientTokenId | Yes | Paddle ID of the client-side token. |