Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.13 KB

CategoryApi.md

File metadata and controls

53 lines (36 loc) · 1.13 KB

CategoryApi

All URIs are relative to https://api.swirepay.com/v1

Method HTTP request Description
getCategory GET /category Get category

getCategory

InlineResponse2001 getCategory(xApiKey)

Get category

Get category

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.CategoryApi;


CategoryApi apiInstance = new CategoryApi();
String xApiKey = "xApiKey_example"; // String | 
try {
    InlineResponse2001 result = apiInstance.getCategory(xApiKey);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CategoryApi#getCategory");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
xApiKey String

Return type

InlineResponse2001

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json