Skip to main content

Add Entitlement

POST 

/tnt/:tid/entitlement/add

Take a resolved payment, SKU, and metadata for a third-party purchase and processes it, generating an entitlement. The SKU will indicate one or more tokens to be minted into the matching user's wallet. There are both synchronous and asynchronous versions of this. If include_pending_claims is set, the response will include asset_claims diagnostic information. If set_async and asset_claimer are both set, the response will include asset_claims_tokens: a refreshed CSAT (with include_asset_claims applied) for the session identified by asset_claimer. asset_claimer.exp and asset_claimer.exp_refresh control the returned fabric_token's and refresh_token's expirations respectively, in seconds (0 defaults to 2 weeks / 12 months; exp_refresh is capped at 12 months).

Request

Responses

ok