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