Introspect Token

Changed on

Check whether a token is currently usable and get the remaining balance as a buyer or seller agent.

post/api/v1/tokens/introspect

Request

  • Base URL
    https://api.skyfire.xyz
  • URL
    https://api.skyfire.xyz/api/v1/tokens/introspect
  • Auth
    API key in header skyfire-api-key

Request body

tokenstring required

The complete JWT string as issued to the buyer, not a tokenId. Can be of any token type: kya, pay, or kya-pay.

Response

Ok

OR

Changes

    • breaking

      request body became required

    • breaking

      added subschema #1: kya tokens subschema #2: pay kya-pay tokens to the response body oneOf list for the response status

    • info

      removed subschema #1: KYA Tokens subschema #2: PAY KYA-PAY Tokens from the response body oneOf list for the response status