Fetch Funq Credits

This API is for to get total funq credits available for the user


GRAPHQL


Headers

FieldsTypeDescriptionExampleData Management
URLstring{base_url}/creators
GRAPHQLstringQUERY
content-typestringJSONapplication/json
x-access-tokenstringsession token with validitytokencreator token

Request

{
  show_funq_credits {
    message
    data {
      credits
    }
  }
}


Success

{
    "data": {
        "show_funq_credits": {
            "message": "data listed",
            "data": {
                "credits": 35
            }
        }
    }
}

Error

{
    "errors": [
        {
            "message": "Unauthorized",
            "locations": [
                {
                    "line": 2,
                    "column": 3
                }
            ],
            "path": ["show_funq_credits"]
        }
    ],
    "data": {
        "show_funq_credits": null
    }
}