Fetching Subscription Receipt and Connection Authorization Tokens

triangle-exclamation

Create Subscription Receipt(s)

post

This will use the Identity Token (e.g. OpenID Access Token) to fetch one or more Subscription Receipt Tokens.

Authorizations
AuthorizationstringRequired

An XV_Access Token

Header parameters
x-client-app-versionstringRequired

The app version of the client making the request.

Example: 8.10.123
x-client-device-modelstringRequired

The type of the device making the request

Example: ["desktop","mobile","tablet","firetv","appletv"]
x-client-osstringRequired

The operating system of the client making the request.

Example: ["windows","macos","linux","android","ios","web"]
x-client-os-versionstringRequired

The operating system version of the client making the request.

Example: 10.0.1234
x-sdk-versionstringRequired

The SDK version making the request

Example: 5.0.123
Responses
chevron-right
200

The response contains an array of Subscription Receipts

application/jwt
post
/srs2/subscription_receipts

Create Connection Authorization Token

post

Creates a new Connection Authorization Token using the Subscription Receipt to authorize. The Subscription Receipt needs to contain the VPN entitlement.

Authorizations
AuthorizationstringRequired

Uses the JWT Subscription Receipt Token

Header parameters
x-client-app-versionstringRequired

The app version of the client making the request.

Example: 8.10.123
x-client-device-modelstringRequired

The type of the device making the request

Example: ["desktop","mobile","tablet","firetv","appletv"]
x-client-osstringRequired

The operating system of the client making the request.

Example: ["windows","macos","linux","android","ios","web"]
x-client-os-versionstringRequired

The operating system version of the client making the request.

Example: 10.0.1234
x-sdk-versionstringRequired

The SDK version making the request

Example: 5.0.123
Responses
chevron-right
200

The response contains the raw, base4 encoded JWT

application/json
post
/srs2/connection_token

Last updated