Get Token Charges

Changed on

Get the charges on a pay or kya-pay token as a buyer or seller agent.

get/api/v1/tokens/{tokenId}/charges

Request

  • Base URL
    https://api.skyfire.xyz
  • URL
    https://api.skyfire.xyz/api/v1/tokens/{tokenId}/charges
  • Auth
    API key in header skyfire-api-key

Path parameters

tokenIdstring uuid required

Unique identifier of the pay or kya-pay token. This is the value of the jti claim in the token payload. e.g. "82e7dded-ca08-445e-ac01-332b61bb49ce"

Query parameters

sizeinteger

Maximum number of charges to return per page. e.g. 50

pageCursorstring

Cursor for fetching the next page of results, from a previous response's nextPageCursor.

Response

Ok

nextPageCursorstring

Cursor-based pagination. Non-empty if there are more results to fetch; pass it as the pageCursor query parameter to get the next page.

Changes

    • breaking

      for the path request parameter tokenId, the format changed from no format to uuid

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • info

      added the new optional query request parameter pageCursor

    • info

      added the new optional query request parameter size

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status