Integrate the Issuance & Redemption Universal API
Last updated
X-API-Key: <keyId>.<secret>
Content-Type: application/json{
"walletAddress": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b1"
}{
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresAt": 1735689600
}curl -X POST https://api.universal.xyz/auth/token \
-H "X-API-Key: partner_abc123.sk_live_1234567890abcdef" \
-H "Content-Type: application/json" \
-d '{"walletAddress": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b1"}'Authorization: Bearer <token>curl -X GET https://api.universal.xyz/issuance-redemption/mint/wallets \
-H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."curl -X POST https://api.universal.xyz/auth/token/refresh \
-H "X-API-Key: partner_abc123.sk_live_1234567890abcdef" \
-H "Content-Type: application/json" \
-d '{"walletAddress": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b1"}'// Wallet 1
const token1 = await getJWTToken(apiKey, '0xWallet1...');
// Use token1 for operations with 0xWallet1
// Wallet 2
const token2 = await getJWTToken(apiKey, '0xWallet2...');
// Use token2 for operations with 0xWallet2