Activate subscription and retrieve API token
Authentication
Activate subscription and retrieve API token
Activate a user subscription and issue a long-lived API token. Supports three modes based on the on-chain transaction:
- Legacy subscriptions (pass empty leagues array).
- Standard matrix subscriptions (pass empty leagues array).
- Custom matrix subscriptions (pass requested league IDs up to the purchased limit). The entire request intent must be cryptographically signed by the user’s wallet.
POST
Activate subscription and retrieve API token
Authorizations
User's session JWT.
Headers
Bearer token for the user session JWT.
Body
application/json
The cryptographic payload containing the transaction signature, wallet signature, and requested leagues.
Response
The newly generated API token.
The response is of type string.