1. Within your product, specify a string constant with the value %%__NONCE__%% .
  2. Within your product, make a HTTP request to our Buyer latest endpoint.
    1. The full endpoint URL to use is: https://api.builtbybit.com/v2/resources/buyer/latest?nonce=
    2. You’ll need to specify the Authentication header as per our API documentation.
    3. You’ll need to pass in the value of the string constant as the nonce query parameter.
  3. Parse the JSON response and check the boolean value of data.has_usage_rights.
  4. You’ll likely want to disable your product when this value is false and provide an error message.