Superomatic pay system API

Accounts

addAccountBulkPost

Create a bunch of accounts at once

Specify the prefix of the created logins and the required quantity. If a login already exists, the next one in turn is created. The number 01, 02, 03, etc. is added to the prefix. Available only for the Master!


/addAccountBulk

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addAccountBulk"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

import java.io.File;
import java.util.*;

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        AccountsApi apiInstance = new AccountsApi();
        Data_3 data = ; // Data_3 | 
        try {
            array[AddAccountBulkResult] result = apiInstance.addAccountBulkPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#addAccountBulkPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Data_3 data = ; // Data_3 | 
        try {
            array[AddAccountBulkResult] result = apiInstance.addAccountBulkPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#addAccountBulkPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_3 *data = ; // 

AccountsApi *apiInstance = [[AccountsApi alloc] init];

// Создать сразу пачку аккаунтов

[apiInstance addAccountBulkPostWith:data
              completionHandler: ^(array[AddAccountBulkResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.AccountsApi()

var data = ; // {Data_3} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addAccountBulkPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addAccountBulkPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new AccountsApi();
            var data = new Data_3(); // Data_3 | 

            try
            {
                // Создать сразу пачку аккаунтов

                array[AddAccountBulkResult] result = apiInstance.addAccountBulkPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.addAccountBulkPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\AccountsApi();
$data = ; // Data_3 | 

try {
    $result = $api_instance->addAccountBulkPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->addAccountBulkPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $data = WWW::SwaggerClient::Object::Data_3->new(); # Data_3 | 

eval { 
    my $result = $api_instance->addAccountBulkPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->addAccountBulkPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
data =  # Data_3 | 

try: 
    # Create a bunch of accounts at once

    api_response = api_instance.add_account_bulk_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->addAccountBulkPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation an array of created account IDs will be returned

Status: 500 - internal server error


addAccountPost

Add a new account, login must be unique

Available only for the "Master"!


/addAccount

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addAccount"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

import java.io.File;
import java.util.*;

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        AccountsApi apiInstance = new AccountsApi();
        Data_2 data = ; // Data_2 | 
        try {
            inline_response_200_1 result = apiInstance.addAccountPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#addAccountPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Data_2 data = ; // Data_2 | 
        try {
            inline_response_200_1 result = apiInstance.addAccountPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#addAccountPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_2 *data = ; // 

AccountsApi *apiInstance = [[AccountsApi alloc] init];

// Add a new account, login must be unique

[apiInstance addAccountPostWith:data
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.AccountsApi()

var data = ; // {Data_2} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addAccountPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addAccountPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new AccountsApi();
            var data = new Data_2(); // Data_2 | 

            try
            {
                // Add a new account, login must be unique

                inline_response_200_1 result = apiInstance.addAccountPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.addAccountPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\AccountsApi();
$data = ; // Data_2 | 

try {
    $result = $api_instance->addAccountPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->addAccountPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $data = WWW::SwaggerClient::Object::Data_2->new(); # Data_2 | 

eval { 
    my $result = $api_instance->addAccountPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->addAccountPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
data =  # Data_2 | 

try: 
    # Add a new account, login must be unique

    api_response = api_instance.add_account_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->addAccountPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the ID of the added account will be returned

Status: 500 - internal server error


deleteAccountPost

Delete account

The account itself and ALL its children will be deleted, as well as the terminals of the Subagents, that is, a whole piece of the user tree. Available only for the Master


/deleteAccount

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/deleteAccount"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

import java.io.File;
import java.util.*;

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        AccountsApi apiInstance = new AccountsApi();
        Data_5 data = ; // Data_5 | 
        try {
            inline_response_200_3 result = apiInstance.deleteAccountPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#deleteAccountPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Data_5 data = ; // Data_5 | 
        try {
            inline_response_200_3 result = apiInstance.deleteAccountPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#deleteAccountPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_5 *data = ; // 

AccountsApi *apiInstance = [[AccountsApi alloc] init];

// delete account

[apiInstance deleteAccountPostWith:data
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.AccountsApi()

var data = ; // {Data_5} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteAccountPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteAccountPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new AccountsApi();
            var data = new Data_5(); // Data_5 | 

            try
            {
                // Удалить аккаунт

                inline_response_200_3 result = apiInstance.deleteAccountPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.deleteAccountPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\AccountsApi();
$data = ; // Data_5 | 

try {
    $result = $api_instance->deleteAccountPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->deleteAccountPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $data = WWW::SwaggerClient::Object::Data_5->new(); # Data_5 | 

eval { 
    my $result = $api_instance->deleteAccountPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->deleteAccountPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
data =  # Data_5 | 

try: 
    # delete account

    api_response = api_instance.delete_account_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->deleteAccountPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - if the operation is successful, the number of deleted accounts will be returned in deleteCount

Status: 500 - internal server error


editAccountPost

Change account details

Only downstream accounts of one next level can be changed (the Agent can change his Subagent, Superagent can change his Agent), the fields that need to changed are passed in "info". You can set one or more fields, it is not necessary to pass all.


/editAccount

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/editAccount"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

import java.io.File;
import java.util.*;

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        AccountsApi apiInstance = new AccountsApi();
        Data_4 data = ; // Data_4 | 
        try {
            inline_response_200_2 result = apiInstance.editAccountPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#editAccountPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Data_4 data = ; // Data_4 | 
        try {
            inline_response_200_2 result = apiInstance.editAccountPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#editAccountPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_4 *data = ; // 

AccountsApi *apiInstance = [[AccountsApi alloc] init];

// Change account details

[apiInstance editAccountPostWith:data
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.AccountsApi()

var data = ; // {Data_4} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.editAccountPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class editAccountPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new AccountsApi();
            var data = new Data_4(); // Data_4 | 

            try
            {
                // Change account details

                inline_response_200_2 result = apiInstance.editAccountPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.editAccountPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\AccountsApi();
$data = ; // Data_4 | 

try {
    $result = $api_instance->editAccountPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->editAccountPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $data = WWW::SwaggerClient::Object::Data_4->new(); # Data_4 | 

eval { 
    my $result = $api_instance->editAccountPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->editAccountPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
data =  # Data_4 | 

try: 
    # Change account details

    api_response = api_instance.edit_account_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->editAccountPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the number of affected accounts (0 or 1) in updateCount will be returned, as well as the current account information after the change in info, fieldUpdateCount will be the number of affected fields

Status: 500 - internal server error


getAccountsPost

Get an array of all your child accounts as a tree


/getAccounts

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getAccounts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

import java.io.File;
import java.util.*;

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        AccountsApi apiInstance = new AccountsApi();
        Data_1 data = ; // Data_1 | 
        try {
            array[ReturnAccount] result = apiInstance.getAccountsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#getAccountsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Data_1 data = ; // Data_1 | 
        try {
            array[ReturnAccount] result = apiInstance.getAccountsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#getAccountsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_1 *data = ; //  (optional)

AccountsApi *apiInstance = [[AccountsApi alloc] init];

// Get an array of all your child accounts as a tree

[apiInstance getAccountsPostWith:data
              completionHandler: ^(array[ReturnAccount] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.AccountsApi()

var opts = { 
  'data':  // {Data_1} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAccountsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAccountsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new AccountsApi();
            var data = new Data_1(); // Data_1 |  (optional) 

            try
            {
                // Get an array of all your child accounts as a tree

                array[ReturnAccount] result = apiInstance.getAccountsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.getAccountsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\AccountsApi();
$data = ; // Data_1 | 

try {
    $result = $api_instance->getAccountsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->getAccountsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $data = WWW::SwaggerClient::Object::Data_1->new(); # Data_1 | 

eval { 
    my $result = $api_instance->getAccountsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->getAccountsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
data =  # Data_1 |  (optional)

try: 
    # Get an array of all your child accounts as a tree

    api_response = api_instance.get_accounts_post(data=data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->getAccountsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data

Responses

Status: 200 - successful operation

Status: 500 - internal server error


getInfoPost

Get information about the required account.


/getInfo

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getInfo"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

import java.io.File;
import java.util.*;

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        AccountsApi apiInstance = new AccountsApi();
        Data data = ; // Data | 
        try {
            Info result = apiInstance.getInfoPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#getInfoPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Data data = ; // Data | 
        try {
            Info result = apiInstance.getInfoPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#getInfoPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data *data = ; // 

AccountsApi *apiInstance = [[AccountsApi alloc] init];

// Get information about the required account.

[apiInstance getInfoPostWith:data
              completionHandler: ^(Info output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.AccountsApi()

var data = ; // {Data} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getInfoPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getInfoPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new AccountsApi();
            var data = new Data(); // Data | 

            try
            {
                // Get information about the required account.

                Info result = apiInstance.getInfoPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.getInfoPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\AccountsApi();
$data = ; // Data | 

try {
    $result = $api_instance->getInfoPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->getInfoPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $data = WWW::SwaggerClient::Object::Data->new(); # Data | 

eval { 
    my $result = $api_instance->getInfoPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->getInfoPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
data =  # Data | 

try: 
    # Get information about the required account.

    api_response = api_instance.get_info_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->getInfoPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - successful operation

Status: 500 - internal server error


Cashiers

editCashierPost

Edit cashier credentials. Fields for editing - login, password.


/editCashier

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/editCashier"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CashiersApi;

import java.io.File;
import java.util.*;

public class CashiersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        CashiersApi apiInstance = new CashiersApi();
        Data_43 data = ; // Data_43 | 
        try {
            Object result = apiInstance.editCashierPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CashiersApi#editCashierPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CashiersApi;

public class CashiersApiExample {

    public static void main(String[] args) {
        CashiersApi apiInstance = new CashiersApi();
        Data_43 data = ; // Data_43 | 
        try {
            Object result = apiInstance.editCashierPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CashiersApi#editCashierPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_43 *data = ; // 

CashiersApi *apiInstance = [[CashiersApi alloc] init];

// Edit cashier credentials. Fields for editing - login, password.

[apiInstance editCashierPostWith:data
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.CashiersApi()

var data = ; // {Data_43} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.editCashierPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class editCashierPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new CashiersApi();
            var data = new Data_43(); // Data_43 | 

            try
            {
                // Edit cashier credentials. Fields for editing - login, password.

                Object result = apiInstance.editCashierPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CashiersApi.editCashierPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\CashiersApi();
$data = ; // Data_43 | 

try {
    $result = $api_instance->editCashierPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CashiersApi->editCashierPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CashiersApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CashiersApi->new();
my $data = WWW::SwaggerClient::Object::Data_43->new(); # Data_43 | 

eval { 
    my $result = $api_instance->editCashierPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CashiersApi->editCashierPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CashiersApi()
data =  # Data_43 | 

try: 
    # Edit cashier credentials. Fields for editing - login, password.

    api_response = api_instance.edit_cashier_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CashiersApi->editCashierPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - a successful operation will return an empty object

Status: 500 - internal server error


getCashiersPost

Get a list of cashiers


/getCashiers

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getCashiers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CashiersApi;

import java.io.File;
import java.util.*;

public class CashiersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        CashiersApi apiInstance = new CashiersApi();
        Data_42 data = ; // Data_42 | 
        try {
            inline_response_200_29 result = apiInstance.getCashiersPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CashiersApi#getCashiersPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CashiersApi;

public class CashiersApiExample {

    public static void main(String[] args) {
        CashiersApi apiInstance = new CashiersApi();
        Data_42 data = ; // Data_42 | 
        try {
            inline_response_200_29 result = apiInstance.getCashiersPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CashiersApi#getCashiersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_42 *data = ; // 

CashiersApi *apiInstance = [[CashiersApi alloc] init];

// Get a list of cashiers

[apiInstance getCashiersPostWith:data
              completionHandler: ^(inline_response_200_29 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.CashiersApi()

var data = ; // {Data_42} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCashiersPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCashiersPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new CashiersApi();
            var data = new Data_42(); // Data_42 | 

            try
            {
                // Get a list of cashiers

                inline_response_200_29 result = apiInstance.getCashiersPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CashiersApi.getCashiersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\CashiersApi();
$data = ; // Data_42 | 

try {
    $result = $api_instance->getCashiersPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CashiersApi->getCashiersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CashiersApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CashiersApi->new();
my $data = WWW::SwaggerClient::Object::Data_42->new(); # Data_42 | 

eval { 
    my $result = $api_instance->getCashiersPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CashiersApi->getCashiersPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CashiersApi()
data =  # Data_42 | 

try: 
    # Get a list of cashiers

    api_response = api_instance.get_cashiers_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CashiersApi->getCashiersPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - if the operation is successful, the list of cashiers will be returned

Status: 500 - internal server error


Default

authPost

Login into the system. If successful, returns a Token object with a single token field. Password - password in md5. Instead of password, scryptHash can be passed - the hash of the password in scrypt. If both password and scryptHash are passed, then scryptHash will be used, because its priority is higher than that of password.


/auth

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/auth"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Auth auth = ; // Auth | 
        try {
            Token result = apiInstance.authPost(auth);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#authPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Auth auth = ; // Auth | 
        try {
            Token result = apiInstance.authPost(auth);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#authPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Auth *auth = ; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Login into the system.
        If successful, returns a Token object with a single token field.
        password - password in md5.
        instead of password, scryptHash can be passed - the hash of the password in scrypt.
        If both password and scryptHash are passed, then scryptHash will be used,
        because its priority is higher than that of password.

[apiInstance authPostWith:auth
              completionHandler: ^(Token output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.DefaultApi()

var auth = ; // {Auth} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.authPost(auth, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class authPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new DefaultApi();
            var auth = new Auth(); // Auth | 

            try
            {
                // Login into the system.
        If successful, returns a Token object with a single token field.
        password - password in md5.
        instead of password, scryptHash can be passed - the hash of the password in scrypt.
        If both password and scryptHash are passed, then scryptHash will be used,
        because its priority is higher than that of password.

                Token result = apiInstance.authPost(auth);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.authPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$auth = ; // Auth | 

try {
    $result = $api_instance->authPost($auth);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->authPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $auth = WWW::SwaggerClient::Object::Auth->new(); # Auth | 

eval { 
    my $result = $api_instance->authPost(auth => $auth);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->authPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
auth =  # Auth | 

try: 
    # Login into the system.
        If successful, returns a Token object with a single token field.
        password - password in md5.
        instead of password, scryptHash can be passed - the hash of the password in scrypt.
        If both password and scryptHash are passed, then scryptHash will be used,
        because its priority is higher than that of password.

    api_response = api_instance.auth_post(auth)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->authPost: %s\n" % e)

Parameters

Body parameters
Name Description
auth *

Responses

Status: 200 - successful operation

Status: 403 - authorization error

Status: 500 - internal server error


getVersionPost

Get the latest API version


/getVersion

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getVersion"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            inline_response_200 result = apiInstance.getVersionPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getVersionPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            inline_response_200 result = apiInstance.getVersionPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getVersionPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];


DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the latest API version

[apiInstance getVersionPostWithCompletionHandler: 
              ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getVersionPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getVersionPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                // Получить актуальную версию API

                inline_response_200 result = apiInstance.getVersionPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getVersionPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $result = $api_instance->getVersionPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getVersionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->getVersionPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getVersionPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    # Get the latest API version

    api_response = api_instance.get_version_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getVersionPost: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation

Status: 500 - internal server error


PaymentCards

activateCardPost

Payment card activation


/activateCard

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/activateCard"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentCardsApi;

import java.io.File;
import java.util.*;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        PaymentCardsApi apiInstance = new PaymentCardsApi();
        Data_26 data = ; // Data_26 | 
        try {
            inline_response_200_20 result = apiInstance.activateCardPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#activateCardPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentCardsApi;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        PaymentCardsApi apiInstance = new PaymentCardsApi();
        Data_26 data = ; // Data_26 | 
        try {
            inline_response_200_20 result = apiInstance.activateCardPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#activateCardPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_26 *data = ; // 

PaymentCardsApi *apiInstance = [[PaymentCardsApi alloc] init];

// Payment card activation
[apiInstance activateCardPostWith:data
              completionHandler: ^(inline_response_200_20 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.PaymentCardsApi()

var data = ; // {Data_26} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.activateCardPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class activateCardPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new PaymentCardsApi();
            var data = new Data_26(); // Data_26 | 

            try
            {
                // Активация карты оплаты
                inline_response_200_20 result = apiInstance.activateCardPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentCardsApi.activateCardPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\PaymentCardsApi();
$data = ; // Data_26 | 

try {
    $result = $api_instance->activateCardPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentCardsApi->activateCardPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PaymentCardsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PaymentCardsApi->new();
my $data = WWW::SwaggerClient::Object::Data_26->new(); # Data_26 | 

eval { 
    my $result = $api_instance->activateCardPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentCardsApi->activateCardPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentCardsApi()
data =  # Data_26 | 

try: 
    # Payment card activation
    api_response = api_instance.activate_card_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentCardsApi->activateCardPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - A transaction amount will be returned

Status: 500 - internal server error


addPaymentCardPost

Create a new payment card


/addPaymentCard

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addPaymentCard"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentCardsApi;

import java.io.File;
import java.util.*;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        PaymentCardsApi apiInstance = new PaymentCardsApi();
        Data_24 data = ; // Data_24 | 
        try {
            inline_response_200_19 result = apiInstance.addPaymentCardPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#addPaymentCardPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentCardsApi;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        PaymentCardsApi apiInstance = new PaymentCardsApi();
        Data_24 data = ; // Data_24 | 
        try {
            inline_response_200_19 result = apiInstance.addPaymentCardPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#addPaymentCardPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_24 *data = ; // 

PaymentCardsApi *apiInstance = [[PaymentCardsApi alloc] init];

// Create a new payment card

[apiInstance addPaymentCardPostWith:data
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.PaymentCardsApi()

var data = ; // {Data_24} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addPaymentCardPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addPaymentCardPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new PaymentCardsApi();
            var data = new Data_24(); // Data_24 | 

            try
            {
                // Создание новой карты оплаты

                inline_response_200_19 result = apiInstance.addPaymentCardPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentCardsApi.addPaymentCardPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\PaymentCardsApi();
$data = ; // Data_24 | 

try {
    $result = $api_instance->addPaymentCardPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentCardsApi->addPaymentCardPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PaymentCardsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PaymentCardsApi->new();
my $data = WWW::SwaggerClient::Object::Data_24->new(); # Data_24 | 

eval { 
    my $result = $api_instance->addPaymentCardPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentCardsApi->addPaymentCardPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentCardsApi()
data =  # Data_24 | 

try: 
    # Create a new payment card

    api_response = api_instance.add_payment_card_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentCardsApi->addPaymentCardPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, a list of created map IDs will be returned

Status: 500 - internal server error


getPaymentCardsPost

Get a list of prepaid cards

maximum number of rows per query =1000


/getPaymentCards

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getPaymentCards"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentCardsApi;

import java.io.File;
import java.util.*;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        PaymentCardsApi apiInstance = new PaymentCardsApi();
        try {
            inline_response_200_18 result = apiInstance.getPaymentCardsPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#getPaymentCardsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentCardsApi;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        PaymentCardsApi apiInstance = new PaymentCardsApi();
        try {
            inline_response_200_18 result = apiInstance.getPaymentCardsPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#getPaymentCardsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];


PaymentCardsApi *apiInstance = [[PaymentCardsApi alloc] init];

// Get a list of prepaid cards

[apiInstance getPaymentCardsPostWithCompletionHandler: 
              ^(inline_response_200_18 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.PaymentCardsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPaymentCardsPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getPaymentCardsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new PaymentCardsApi();

            try
            {
                // Get a list of prepaid cards

                inline_response_200_18 result = apiInstance.getPaymentCardsPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentCardsApi.getPaymentCardsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\PaymentCardsApi();

try {
    $result = $api_instance->getPaymentCardsPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentCardsApi->getPaymentCardsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PaymentCardsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PaymentCardsApi->new();

eval { 
    my $result = $api_instance->getPaymentCardsPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentCardsApi->getPaymentCardsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentCardsApi()

try: 
    # Get a list of prepaid cards

    api_response = api_instance.get_payment_cards_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentCardsApi->getPaymentCardsPost: %s\n" % e)

Parameters

Responses

Status: 200 - upon successful operation, a list of prepaid cards will be returned

Status: 500 - internal server error


revokePaymentCardPost

Cancellation of a payment card. It is necessary to pass either id or code of the card.


/revokePaymentCard

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/revokePaymentCard"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentCardsApi;

import java.io.File;
import java.util.*;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        PaymentCardsApi apiInstance = new PaymentCardsApi();
        Data_25 data = ; // Data_25 | 
        try {
            Object result = apiInstance.revokePaymentCardPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#revokePaymentCardPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentCardsApi;

public class PaymentCardsApiExample {

    public static void main(String[] args) {
        PaymentCardsApi apiInstance = new PaymentCardsApi();
        Data_25 data = ; // Data_25 | 
        try {
            Object result = apiInstance.revokePaymentCardPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentCardsApi#revokePaymentCardPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_25 *data = ; // 

PaymentCardsApi *apiInstance = [[PaymentCardsApi alloc] init];

// Cancellation of a payment card.
        It is necessary to pass either id or code of the card.

[apiInstance revokePaymentCardPostWith:data
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.PaymentCardsApi()

var data = ; // {Data_25} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.revokePaymentCardPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class revokePaymentCardPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new PaymentCardsApi();
            var data = new Data_25(); // Data_25 | 

            try
            {
                // Cancellation of a payment card.
        It is necessary to pass either id or code of the card.

                Object result = apiInstance.revokePaymentCardPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentCardsApi.revokePaymentCardPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\PaymentCardsApi();
$data = ; // Data_25 | 

try {
    $result = $api_instance->revokePaymentCardPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentCardsApi->revokePaymentCardPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PaymentCardsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PaymentCardsApi->new();
my $data = WWW::SwaggerClient::Object::Data_25->new(); # Data_25 | 

eval { 
    my $result = $api_instance->revokePaymentCardPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentCardsApi->revokePaymentCardPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentCardsApi()
data =  # Data_25 | 

try: 
    # Cancellation of a payment card.
        It is necessary to pass either id or code of the card.

    api_response = api_instance.revoke_payment_card_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentCardsApi->revokePaymentCardPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - an empty object will be returned

Status: 500 - internal server error


Reports

getGameReturnPost

Getting a report of games in the room (subagent).


/getGameReturn

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getGameReturn"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        ReportsApi apiInstance = new ReportsApi();
        Data_37 data = ; // Data_37 | 
        try {
            array[GameReturnResult] result = apiInstance.getGameReturnPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getGameReturnPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        Data_37 data = ; // Data_37 | 
        try {
            array[GameReturnResult] result = apiInstance.getGameReturnPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getGameReturnPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_37 *data = ; // 

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Getting a report of games in the room (subagent).

[apiInstance getGameReturnPostWith:data
              completionHandler: ^(array[GameReturnResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.ReportsApi()

var data = ; // {Data_37} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getGameReturnPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getGameReturnPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new ReportsApi();
            var data = new Data_37(); // Data_37 | 

            try
            {
                // Получение отчета игр по залу.

                array[GameReturnResult] result = apiInstance.getGameReturnPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.getGameReturnPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\ReportsApi();
$data = ; // Data_37 | 

try {
    $result = $api_instance->getGameReturnPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->getGameReturnPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $data = WWW::SwaggerClient::Object::Data_37->new(); # Data_37 | 

eval { 
    my $result = $api_instance->getGameReturnPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportsApi->getGameReturnPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
data =  # Data_37 | 

try: 
    # Getting a report of games in the room (subagent).

    api_response = api_instance.get_game_return_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportsApi->getGameReturnPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - Summary report.

Status: 500 - internal server error


getSubagentsReportPost

Getting a report on terminal transactions.


/getSubagentsReport

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getSubagentsReport"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        ReportsApi apiInstance = new ReportsApi();
        Data_35 data = ; // Data_35 | 
        try {
            inline_response_200_26 result = apiInstance.getSubagentsReportPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getSubagentsReportPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        Data_35 data = ; // Data_35 | 
        try {
            inline_response_200_26 result = apiInstance.getSubagentsReportPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getSubagentsReportPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_35 *data = ; // 

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Getting a report on terminal transactions.

[apiInstance getSubagentsReportPostWith:data
              completionHandler: ^(inline_response_200_26 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.ReportsApi()

var data = ; // {Data_35} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSubagentsReportPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSubagentsReportPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new ReportsApi();
            var data = new Data_35(); // Data_35 | 

            try
            {
                // Getting a report on terminal transactions.

                inline_response_200_26 result = apiInstance.getSubagentsReportPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.getSubagentsReportPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\ReportsApi();
$data = ; // Data_35 | 

try {
    $result = $api_instance->getSubagentsReportPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->getSubagentsReportPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $data = WWW::SwaggerClient::Object::Data_35->new(); # Data_35 | 

eval { 
    my $result = $api_instance->getSubagentsReportPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportsApi->getSubagentsReportPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
data =  # Data_35 | 

try: 
    # Getting a report on terminal transactions.

    api_response = api_instance.get_subagents_report_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportsApi->getSubagentsReportPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - Summary report.

Status: 500 - internal server error


getSummaryReportPost

Getting a report on terminal transactions.


/getSummaryReport

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getSummaryReport"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        ReportsApi apiInstance = new ReportsApi();
        Data_36 data = ; // Data_36 | 
        try {
            inline_response_200_27 result = apiInstance.getSummaryReportPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getSummaryReportPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        Data_36 data = ; // Data_36 | 
        try {
            inline_response_200_27 result = apiInstance.getSummaryReportPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#getSummaryReportPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_36 *data = ; // 

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Getting a report on terminal transactions.

[apiInstance getSummaryReportPostWith:data
              completionHandler: ^(inline_response_200_27 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.ReportsApi()

var data = ; // {Data_36} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSummaryReportPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSummaryReportPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new ReportsApi();
            var data = new Data_36(); // Data_36 | 

            try
            {
                // Getting a report on terminal transactions.

                inline_response_200_27 result = apiInstance.getSummaryReportPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.getSummaryReportPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\ReportsApi();
$data = ; // Data_36 | 

try {
    $result = $api_instance->getSummaryReportPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->getSummaryReportPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $data = WWW::SwaggerClient::Object::Data_36->new(); # Data_36 | 

eval { 
    my $result = $api_instance->getSummaryReportPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportsApi->getSummaryReportPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
data =  # Data_36 | 

try: 
    # Getting a report on terminal transactions.

    api_response = api_instance.get_summary_report_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportsApi->getSummaryReportPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - Summary report.

Status: 500 - internal server error


Rights

getRightsPost

Getting user rights.


/getRights

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getRights"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RightsApi;

import java.io.File;
import java.util.*;

public class RightsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        RightsApi apiInstance = new RightsApi();
        Data_29 data = ; // Data_29 | 
        try {
            inline_response_200_23 result = apiInstance.getRightsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RightsApi#getRightsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RightsApi;

public class RightsApiExample {

    public static void main(String[] args) {
        RightsApi apiInstance = new RightsApi();
        Data_29 data = ; // Data_29 | 
        try {
            inline_response_200_23 result = apiInstance.getRightsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RightsApi#getRightsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_29 *data = ; // 

RightsApi *apiInstance = [[RightsApi alloc] init];

// Getting user rights.

[apiInstance getRightsPostWith:data
              completionHandler: ^(inline_response_200_23 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.RightsApi()

var data = ; // {Data_29} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getRightsPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getRightsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new RightsApi();
            var data = new Data_29(); // Data_29 | 

            try
            {
                // Получение прав пользователя.

                inline_response_200_23 result = apiInstance.getRightsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RightsApi.getRightsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\RightsApi();
$data = ; // Data_29 | 

try {
    $result = $api_instance->getRightsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RightsApi->getRightsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RightsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RightsApi->new();
my $data = WWW::SwaggerClient::Object::Data_29->new(); # Data_29 | 

eval { 
    my $result = $api_instance->getRightsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RightsApi->getRightsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RightsApi()
data =  # Data_29 | 

try: 
    # Getting user rights.

    api_response = api_instance.get_rights_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RightsApi->getRightsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - user rights.

Status: 500 - internal server error


getRolesPost

Getting roles assigned to an account. Available only for the Master.


/getRoles

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getRoles"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RightsApi;

import java.io.File;
import java.util.*;

public class RightsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        RightsApi apiInstance = new RightsApi();
        Data_30 data = ; // Data_30 | 
        try {
            inline_response_200_24 result = apiInstance.getRolesPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RightsApi#getRolesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RightsApi;

public class RightsApiExample {

    public static void main(String[] args) {
        RightsApi apiInstance = new RightsApi();
        Data_30 data = ; // Data_30 | 
        try {
            inline_response_200_24 result = apiInstance.getRolesPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RightsApi#getRolesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_30 *data = ; // 

RightsApi *apiInstance = [[RightsApi alloc] init];

// Getting roles assigned to an account. Available only for the Master.

[apiInstance getRolesPostWith:data
              completionHandler: ^(inline_response_200_24 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.RightsApi()

var data = ; // {Data_30} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getRolesPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getRolesPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new RightsApi();
            var data = new Data_30(); // Data_30 | 

            try
            {
                // Getting roles assigned to an account. Available only for the Master.

                inline_response_200_24 result = apiInstance.getRolesPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RightsApi.getRolesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\RightsApi();
$data = ; // Data_30 | 

try {
    $result = $api_instance->getRolesPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RightsApi->getRolesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RightsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RightsApi->new();
my $data = WWW::SwaggerClient::Object::Data_30->new(); # Data_30 | 

eval { 
    my $result = $api_instance->getRolesPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RightsApi->getRolesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RightsApi()
data =  # Data_30 | 

try: 
    # Getting roles assigned to an account. Available only for the Master.

    api_response = api_instance.get_roles_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RightsApi->getRolesPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - user rights.

Status: 500 - internal server error


setRolePost

Manage roles associated with an account. Available only for the Master.


/setRole

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/setRole"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RightsApi;

import java.io.File;
import java.util.*;

public class RightsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        RightsApi apiInstance = new RightsApi();
        Data_31 data = ; // Data_31 | 
        try {
            inline_response_200_25 result = apiInstance.setRolePost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RightsApi#setRolePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RightsApi;

public class RightsApiExample {

    public static void main(String[] args) {
        RightsApi apiInstance = new RightsApi();
        Data_31 data = ; // Data_31 | 
        try {
            inline_response_200_25 result = apiInstance.setRolePost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RightsApi#setRolePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_31 *data = ; // 

RightsApi *apiInstance = [[RightsApi alloc] init];

// Manage roles associated with an account. Available only for the Master.

[apiInstance setRolePostWith:data
              completionHandler: ^(inline_response_200_25 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.RightsApi()

var data = ; // {Data_31} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.setRolePost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class setRolePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new RightsApi();
            var data = new Data_31(); // Data_31 | 

            try
            {
                // Manage roles associated with an account. Available only for the Master.

                inline_response_200_25 result = apiInstance.setRolePost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RightsApi.setRolePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\RightsApi();
$data = ; // Data_31 | 

try {
    $result = $api_instance->setRolePost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RightsApi->setRolePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RightsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RightsApi->new();
my $data = WWW::SwaggerClient::Object::Data_31->new(); # Data_31 | 

eval { 
    my $result = $api_instance->setRolePost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RightsApi->setRolePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RightsApi()
data =  # Data_31 | 

try: 
    # Manage roles associated with an account. Available only for the Master.

    api_response = api_instance.set_role_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RightsApi->setRolePost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - list of roles for the selected account.

Status: 500 - internal server error


System

addIpPost

Add IP to the list of allowed access to the system (all other IP-addresses will be denied access to the account)


/addIp

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addIp"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemApi;

import java.io.File;
import java.util.*;

public class SystemApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        SystemApi apiInstance = new SystemApi();
        Data_27 data = ; // Data_27 | 
        try {
            apiInstance.addIpPost(data);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemApi#addIpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemApi;

public class SystemApiExample {

    public static void main(String[] args) {
        SystemApi apiInstance = new SystemApi();
        Data_27 data = ; // Data_27 | 
        try {
            apiInstance.addIpPost(data);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemApi#addIpPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_27 *data = ; // 

SystemApi *apiInstance = [[SystemApi alloc] init];

// Add IP to the list of allowed access to the system
[apiInstance addIpPostWith:data
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.SystemApi()

var data = ; // {Data_27} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.addIpPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addIpPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new SystemApi();
            var data = new Data_27(); // Data_27 | 

            try
            {
                // Добавить ип в список разрешенных для доступа к системе
                apiInstance.addIpPost(data);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemApi.addIpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\SystemApi();
$data = ; // Data_27 | 

try {
    $api_instance->addIpPost($data);
} catch (Exception $e) {
    echo 'Exception when calling SystemApi->addIpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SystemApi->new();
my $data = WWW::SwaggerClient::Object::Data_27->new(); # Data_27 | 

eval { 
    $api_instance->addIpPost(data => $data);
};
if ($@) {
    warn "Exception when calling SystemApi->addIpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SystemApi()
data =  # Data_27 | 

try: 
    # Add IP to the list of allowed access to the system
    api_instance.add_ip_post(data)
except ApiException as e:
    print("Exception when calling SystemApi->addIpPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - Will return "ok"

Status: 500 - internal server error


getHeaderPost

"Header" (summary) information including: Information about the current user, his rights, balance and number of unread tickets.


/getHeader

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getHeader"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemApi;

import java.io.File;
import java.util.*;

public class SystemApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        SystemApi apiInstance = new SystemApi();
        try {
            inline_response_200_21 result = apiInstance.getHeaderPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemApi#getHeaderPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemApi;

public class SystemApiExample {

    public static void main(String[] args) {
        SystemApi apiInstance = new SystemApi();
        try {
            inline_response_200_21 result = apiInstance.getHeaderPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemApi#getHeaderPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];


SystemApi *apiInstance = [[SystemApi alloc] init];

// "Header" (summary) information including:
        Information about the current user, his rights, balance and number of unread tickets.

[apiInstance getHeaderPostWithCompletionHandler: 
              ^(inline_response_200_21 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.SystemApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getHeaderPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getHeaderPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new SystemApi();

            try
            {
                // "Header" (summary) information including:
        Information about the current user, his rights, balance and number of unread tickets.

                inline_response_200_21 result = apiInstance.getHeaderPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemApi.getHeaderPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\SystemApi();

try {
    $result = $api_instance->getHeaderPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemApi->getHeaderPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SystemApi->new();

eval { 
    my $result = $api_instance->getHeaderPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemApi->getHeaderPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SystemApi()

try: 
    # "Header" (summary) information including:
        Information about the current user, his rights, balance and number of unread tickets.

    api_response = api_instance.get_header_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemApi->getHeaderPost: %s\n" % e)

Parameters

Responses

Status: 200 - Information about the current user, his rights, balance and number of unread tickets.

Status: 500 - internal server error


getJackpotPost

Get information about jackpots (by game, by room, by all system, as well as top jackpots of games). All values are returned in hundredths (100 = 1 credit)


/getJackpot

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getJackpot"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemApi;

import java.io.File;
import java.util.*;

public class SystemApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        SystemApi apiInstance = new SystemApi();
        Data_28 data = ; // Data_28 | 
        try {
            inline_response_200_22 result = apiInstance.getJackpotPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemApi#getJackpotPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemApi;

public class SystemApiExample {

    public static void main(String[] args) {
        SystemApi apiInstance = new SystemApi();
        Data_28 data = ; // Data_28 | 
        try {
            inline_response_200_22 result = apiInstance.getJackpotPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemApi#getJackpotPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_28 *data = ; // 

SystemApi *apiInstance = [[SystemApi alloc] init];

// Get information about jackpots (by game, by room, by all system, as well as top jackpots of games). All values are returned in hundredths (100 = 1 credit)
[apiInstance getJackpotPostWith:data
              completionHandler: ^(inline_response_200_22 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.SystemApi()

var data = ; // {Data_28} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJackpotPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getJackpotPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new SystemApi();
            var data = new Data_28(); // Data_28 | 

            try
            {
                // Get information about jackpots (by game, by room, by all system, as well as top jackpots of games). All values are returned in hundredths (100 = 1 credit)
                inline_response_200_22 result = apiInstance.getJackpotPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemApi.getJackpotPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\SystemApi();
$data = ; // Data_28 | 

try {
    $result = $api_instance->getJackpotPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemApi->getJackpotPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SystemApi->new();
my $data = WWW::SwaggerClient::Object::Data_28->new(); # Data_28 | 

eval { 
    my $result = $api_instance->getJackpotPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemApi->getJackpotPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SystemApi()
data =  # Data_28 | 

try: 
    # Get information about jackpots (by game, by room, by all system, as well as top jackpots of games). All values are returned in hundredths (100 = 1 credit)
    api_response = api_instance.get_jackpot_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemApi->getJackpotPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - information about jackpots

Status: 500 - internal server error


Terminals

addCodesPost

Add game "codes" to a Subagent


/addCodes

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addCodes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_15 data = ; // Data_15 | 
        try {
            inline_response_200_11 result = apiInstance.addCodesPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#addCodesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_15 data = ; // Data_15 | 
        try {
            inline_response_200_11 result = apiInstance.addCodesPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#addCodesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_15 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Add game "codes" to a Subagent

[apiInstance addCodesPostWith:data
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_15} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addCodesPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addCodesPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_15(); // Data_15 | 

            try
            {
                // Add game "codes" to a Subagent

                inline_response_200_11 result = apiInstance.addCodesPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.addCodesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_15 | 

try {
    $result = $api_instance->addCodesPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->addCodesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_15->new(); # Data_15 | 

eval { 
    my $result = $api_instance->addCodesPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->addCodesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_15 | 

try: 
    # Add game "codes" to a Subagent

    api_response = api_instance.add_codes_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->addCodesPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, a list of created "codes" will be returned

Status: 500 - internal server error


addTerminalsPost

Add terminals to a Subagent

If a login already exists, the next one in turn is created. The number 01, 02, 03, and so on is added to the prefix. The password is generated automatically, it can then be changed with a separate request, the login can also be changed via the API. To create a terminal with a specific login, you need to pass it to the login field, and leave prefix empty.


/addTerminals

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addTerminals"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_14 data = ; // Data_14 | 
        try {
            array[TerminalAddResult] result = apiInstance.addTerminalsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#addTerminalsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_14 data = ; // Data_14 | 
        try {
            array[TerminalAddResult] result = apiInstance.addTerminalsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#addTerminalsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_14 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Add terminals to a Subagent

[apiInstance addTerminalsPostWith:data
              completionHandler: ^(array[TerminalAddResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_14} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addTerminalsPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addTerminalsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_14(); // Data_14 | 

            try
            {
                // Add terminals to a Subagent

                array[TerminalAddResult] result = apiInstance.addTerminalsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.addTerminalsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_14 | 

try {
    $result = $api_instance->addTerminalsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->addTerminalsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_14->new(); # Data_14 | 

eval { 
    my $result = $api_instance->addTerminalsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->addTerminalsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_14 | 

try: 
    # Add terminals to a Subagent

    api_response = api_instance.add_terminals_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->addTerminalsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, a list of created terminals will be returned

Status: 500 - internal server error


deleteTerminalPost

Delete terminal

Available only for the Master!


/deleteTerminal

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/deleteTerminal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_17 data = ; // Data_17 | 
        try {
            inline_response_200_12 result = apiInstance.deleteTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#deleteTerminalPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_17 data = ; // Data_17 | 
        try {
            inline_response_200_12 result = apiInstance.deleteTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#deleteTerminalPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_17 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Delete terminal

[apiInstance deleteTerminalPostWith:data
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_17} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteTerminalPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteTerminalPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_17(); // Data_17 | 

            try
            {
                // Delete terminal

                inline_response_200_12 result = apiInstance.deleteTerminalPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.deleteTerminalPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_17 | 

try {
    $result = $api_instance->deleteTerminalPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->deleteTerminalPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_17->new(); # Data_17 | 

eval { 
    my $result = $api_instance->deleteTerminalPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->deleteTerminalPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_17 | 

try: 
    # Delete terminal

    api_response = api_instance.delete_terminal_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->deleteTerminalPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - if the operation is successful, the number of remote terminals will be returned

Status: 500 - internal server error


editTerminalPost

Edit terminal credentials. Fields for editing - login, password.


/editTerminal

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/editTerminal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_18 data = ; // Data_18 | 
        try {
            inline_response_200_13 result = apiInstance.editTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#editTerminalPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_18 data = ; // Data_18 | 
        try {
            inline_response_200_13 result = apiInstance.editTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#editTerminalPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_18 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Edit terminal credentials. Fields for editing - login, password.

[apiInstance editTerminalPostWith:data
              completionHandler: ^(inline_response_200_13 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_18} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.editTerminalPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class editTerminalPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_18(); // Data_18 | 

            try
            {
                // Edit terminal credentials. Fields for editing - login, password.

                inline_response_200_13 result = apiInstance.editTerminalPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.editTerminalPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_18 | 

try {
    $result = $api_instance->editTerminalPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->editTerminalPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_18->new(); # Data_18 | 

eval { 
    my $result = $api_instance->editTerminalPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->editTerminalPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_18 | 

try: 
    # Edit terminal credentials. Fields for editing - login, password.

    api_response = api_instance.edit_terminal_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->editTerminalPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the number of affected terminals will be returned (should be 1)

Status: 500 - internal server error


getBalanceTerminalPost

Get terminal balance


/getBalanceTerminal

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getBalanceTerminal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_20 data = ; // Data_20 | 
        try {
            inline_response_200_15 result = apiInstance.getBalanceTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getBalanceTerminalPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_20 data = ; // Data_20 | 
        try {
            inline_response_200_15 result = apiInstance.getBalanceTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getBalanceTerminalPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_20 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Get terminal balance

[apiInstance getBalanceTerminalPostWith:data
              completionHandler: ^(inline_response_200_15 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_20} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getBalanceTerminalPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getBalanceTerminalPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_20(); // Data_20 | 

            try
            {
                // Get terminal balance

                inline_response_200_15 result = apiInstance.getBalanceTerminalPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.getBalanceTerminalPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_20 | 

try {
    $result = $api_instance->getBalanceTerminalPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->getBalanceTerminalPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_20->new(); # Data_20 | 

eval { 
    my $result = $api_instance->getBalanceTerminalPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->getBalanceTerminalPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_20 | 

try: 
    # Get terminal balance

    api_response = api_instance.get_balance_terminal_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->getBalanceTerminalPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the terminal balance will be returned

Status: 500 - internal server error


getTerminalLogExtPost

Extended game log of a terminal


/getTerminalLogExt

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTerminalLogExt"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_22 data = ; // Data_22 | 
        try {
            inline_response_200_17 result = apiInstance.getTerminalLogExtPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTerminalLogExtPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_22 data = ; // Data_22 | 
        try {
            inline_response_200_17 result = apiInstance.getTerminalLogExtPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTerminalLogExtPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_22 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Extended game log of a terminal
[apiInstance getTerminalLogExtPostWith:data
              completionHandler: ^(inline_response_200_17 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_22} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTerminalLogExtPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTerminalLogExtPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_22(); // Data_22 | 

            try
            {
                // Extended game log of a terminal
                inline_response_200_17 result = apiInstance.getTerminalLogExtPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.getTerminalLogExtPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_22 | 

try {
    $result = $api_instance->getTerminalLogExtPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->getTerminalLogExtPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_22->new(); # Data_22 | 

eval { 
    my $result = $api_instance->getTerminalLogExtPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->getTerminalLogExtPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_22 | 

try: 
    # Extended game log of a terminal
    api_response = api_instance.get_terminal_log_ext_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->getTerminalLogExtPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the terminal balance will be returned

Status: 500 - internal server error


getTerminalLogPost

Get the game log on the specified terminal

maximum number of rows per query = 5000


/getTerminalLog

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTerminalLog"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_21 data = ; // Data_21 | 
        try {
            inline_response_200_16 result = apiInstance.getTerminalLogPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTerminalLogPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_21 data = ; // Data_21 | 
        try {
            inline_response_200_16 result = apiInstance.getTerminalLogPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTerminalLogPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_21 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Get the game log on the specified terminal

[apiInstance getTerminalLogPostWith:data
              completionHandler: ^(inline_response_200_16 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_21} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTerminalLogPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTerminalLogPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_21(); // Data_21 | 

            try
            {
                // Get the game log on the specified terminal

                inline_response_200_16 result = apiInstance.getTerminalLogPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.getTerminalLogPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_21 | 

try {
    $result = $api_instance->getTerminalLogPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->getTerminalLogPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_21->new(); # Data_21 | 

eval { 
    my $result = $api_instance->getTerminalLogPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->getTerminalLogPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_21 | 

try: 
    # Get the game log on the specified terminal

    api_response = api_instance.get_terminal_log_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->getTerminalLogPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the terminal balance will be returned

Status: 500 - internal server error


getTerminalsPost

Get a list of terminals


/getTerminals

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTerminals"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_19 data = ; // Data_19 | 
        try {
            inline_response_200_14 result = apiInstance.getTerminalsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTerminalsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_19 data = ; // Data_19 | 
        try {
            inline_response_200_14 result = apiInstance.getTerminalsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTerminalsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_19 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Get a list of terminals

[apiInstance getTerminalsPostWith:data
              completionHandler: ^(inline_response_200_14 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_19} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTerminalsPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTerminalsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_19(); // Data_19 | 

            try
            {
                // Get a list of terminals

                inline_response_200_14 result = apiInstance.getTerminalsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.getTerminalsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_19 | 

try {
    $result = $api_instance->getTerminalsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->getTerminalsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_19->new(); # Data_19 | 

eval { 
    my $result = $api_instance->getTerminalsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->getTerminalsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_19 | 

try: 
    # Get a list of terminals

    api_response = api_instance.get_terminals_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->getTerminalsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, a list of the terminals will be returned

Status: 500 - internal server error


getTokenLinkPost

Get a link-token for a terminal


/getTokenLink

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTokenLink"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_23 data = ; // Data_23 | 
        try {
            Object result = apiInstance.getTokenLinkPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTokenLinkPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_23 data = ; // Data_23 | 
        try {
            Object result = apiInstance.getTokenLinkPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#getTokenLinkPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_23 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Get a link-token for a terminal

[apiInstance getTokenLinkPostWith:data
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_23} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTokenLinkPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTokenLinkPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_23(); // Data_23 | 

            try
            {
                // Get a link-token for a terminal

                Object result = apiInstance.getTokenLinkPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.getTokenLinkPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_23 | 

try {
    $result = $api_instance->getTokenLinkPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->getTokenLinkPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_23->new(); # Data_23 | 

eval { 
    my $result = $api_instance->getTokenLinkPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->getTokenLinkPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_23 | 

try: 
    # Get a link-token for a terminal

    api_response = api_instance.get_token_link_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->getTokenLinkPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - will return a link for authorization on this terminal using a token

Status: 500 - internal server error


heckTerminalExistPost

Check if the specified terminal exists


/сheckTerminalExist

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/сheckTerminalExist"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TerminalsApi;

import java.io.File;
import java.util.*;

public class TerminalsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TerminalsApi apiInstance = new TerminalsApi();
        Data_16 data = ; // Data_16 | 
        try {
            Object result = apiInstance.heckTerminalExistPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#heckTerminalExistPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TerminalsApi;

public class TerminalsApiExample {

    public static void main(String[] args) {
        TerminalsApi apiInstance = new TerminalsApi();
        Data_16 data = ; // Data_16 | 
        try {
            Object result = apiInstance.heckTerminalExistPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TerminalsApi#heckTerminalExistPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_16 *data = ; // 

TerminalsApi *apiInstance = [[TerminalsApi alloc] init];

// Check if the specified terminal exists

[apiInstance heckTerminalExistPostWith:data
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TerminalsApi()

var data = ; // {Data_16} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.heckTerminalExistPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class heckTerminalExistPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TerminalsApi();
            var data = new Data_16(); // Data_16 | 

            try
            {
                // Check if the specified terminal exists

                Object result = apiInstance.heckTerminalExistPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TerminalsApi.heckTerminalExistPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TerminalsApi();
$data = ; // Data_16 | 

try {
    $result = $api_instance->heckTerminalExistPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TerminalsApi->heckTerminalExistPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TerminalsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TerminalsApi->new();
my $data = WWW::SwaggerClient::Object::Data_16->new(); # Data_16 | 

eval { 
    my $result = $api_instance->heckTerminalExistPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TerminalsApi->heckTerminalExistPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TerminalsApi()
data =  # Data_16 | 

try: 
    # Check if the specified terminal exists

    api_response = api_instance.heck_terminal_exist_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TerminalsApi->heckTerminalExistPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful validation (terminal does not exist), an empty object will be returned

Status: 500 - internal server error


Tickets

addTicketPost

Add a support ticket.


/addTicket

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/addTicket"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TicketsApi;

import java.io.File;
import java.util.*;

public class TicketsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TicketsApi apiInstance = new TicketsApi();
        Data_38 data = ; // Data_38 | 
        try {
            inline_response_200_28 result = apiInstance.addTicketPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#addTicketPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TicketsApi;

public class TicketsApiExample {

    public static void main(String[] args) {
        TicketsApi apiInstance = new TicketsApi();
        Data_38 data = ; // Data_38 | 
        try {
            inline_response_200_28 result = apiInstance.addTicketPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#addTicketPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_38 *data = ; // 

TicketsApi *apiInstance = [[TicketsApi alloc] init];

// Add a support ticket.

[apiInstance addTicketPostWith:data
              completionHandler: ^(inline_response_200_28 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TicketsApi()

var data = ; // {Data_38} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addTicketPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addTicketPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TicketsApi();
            var data = new Data_38(); // Data_38 | 

            try
            {
                // Add a support ticket.

                inline_response_200_28 result = apiInstance.addTicketPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TicketsApi.addTicketPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TicketsApi();
$data = ; // Data_38 | 

try {
    $result = $api_instance->addTicketPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TicketsApi->addTicketPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TicketsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TicketsApi->new();
my $data = WWW::SwaggerClient::Object::Data_38->new(); # Data_38 | 

eval { 
    my $result = $api_instance->addTicketPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TicketsApi->addTicketPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TicketsApi()
data =  # Data_38 | 

try: 
    # Add a support ticket.

    api_response = api_instance.add_ticket_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TicketsApi->addTicketPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - ticket id.

Status: 500 - internal server error


editTicketPost

Editing a ticket: adding a reply, closing/reopening


/editTicket

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/editTicket"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TicketsApi;

import java.io.File;
import java.util.*;

public class TicketsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TicketsApi apiInstance = new TicketsApi();
        Data_39 data = ; // Data_39 | 
        try {
            inline_response_200_28 result = apiInstance.editTicketPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#editTicketPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TicketsApi;

public class TicketsApiExample {

    public static void main(String[] args) {
        TicketsApi apiInstance = new TicketsApi();
        Data_39 data = ; // Data_39 | 
        try {
            inline_response_200_28 result = apiInstance.editTicketPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#editTicketPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_39 *data = ; // 

TicketsApi *apiInstance = [[TicketsApi alloc] init];

// Editing a ticket: adding a reply, closing/reopening

[apiInstance editTicketPostWith:data
              completionHandler: ^(inline_response_200_28 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TicketsApi()

var data = ; // {Data_39} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.editTicketPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class editTicketPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TicketsApi();
            var data = new Data_39(); // Data_39 | 

            try
            {
                // Editing a ticket: adding a reply, closing/reopening

                inline_response_200_28 result = apiInstance.editTicketPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TicketsApi.editTicketPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TicketsApi();
$data = ; // Data_39 | 

try {
    $result = $api_instance->editTicketPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TicketsApi->editTicketPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TicketsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TicketsApi->new();
my $data = WWW::SwaggerClient::Object::Data_39->new(); # Data_39 | 

eval { 
    my $result = $api_instance->editTicketPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TicketsApi->editTicketPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TicketsApi()
data =  # Data_39 | 

try: 
    # Editing a ticket: adding a reply, closing/reopening

    api_response = api_instance.edit_ticket_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TicketsApi->editTicketPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - ticket id.

Status: 500 - internal server error


getTicketInfoPost

Get information about the ticket and messages in it


/getTicketInfo

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTicketInfo"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TicketsApi;

import java.io.File;
import java.util.*;

public class TicketsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TicketsApi apiInstance = new TicketsApi();
        Data_40 data = ; // Data_40 | 
        try {
            TicketInfo result = apiInstance.getTicketInfoPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#getTicketInfoPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TicketsApi;

public class TicketsApiExample {

    public static void main(String[] args) {
        TicketsApi apiInstance = new TicketsApi();
        Data_40 data = ; // Data_40 | 
        try {
            TicketInfo result = apiInstance.getTicketInfoPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#getTicketInfoPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_40 *data = ; // 

TicketsApi *apiInstance = [[TicketsApi alloc] init];

// get information about the ticket and messages in it

[apiInstance getTicketInfoPostWith:data
              completionHandler: ^(TicketInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TicketsApi()

var data = ; // {Data_40} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTicketInfoPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTicketInfoPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TicketsApi();
            var data = new Data_40(); // Data_40 | 

            try
            {
                // get information about the ticket and messages in it

                TicketInfo result = apiInstance.getTicketInfoPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TicketsApi.getTicketInfoPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TicketsApi();
$data = ; // Data_40 | 

try {
    $result = $api_instance->getTicketInfoPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TicketsApi->getTicketInfoPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TicketsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TicketsApi->new();
my $data = WWW::SwaggerClient::Object::Data_40->new(); # Data_40 | 

eval { 
    my $result = $api_instance->getTicketInfoPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TicketsApi->getTicketInfoPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TicketsApi()
data =  # Data_40 | 

try: 
    # get information about the ticket and messages in it

    api_response = api_instance.get_ticket_info_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TicketsApi->getTicketInfoPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - ticket id.

Status: 500 - internal server error


getTicketsPost

Get information about the ticket and messages in it


/getTickets

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTickets"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TicketsApi;

import java.io.File;
import java.util.*;

public class TicketsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TicketsApi apiInstance = new TicketsApi();
        Data_41 data = ; // Data_41 | 
        try {
            array[Tickets] result = apiInstance.getTicketsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#getTicketsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TicketsApi;

public class TicketsApiExample {

    public static void main(String[] args) {
        TicketsApi apiInstance = new TicketsApi();
        Data_41 data = ; // Data_41 | 
        try {
            array[Tickets] result = apiInstance.getTicketsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TicketsApi#getTicketsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_41 *data = ; // 

TicketsApi *apiInstance = [[TicketsApi alloc] init];

// get information about the ticket and messages in it

[apiInstance getTicketsPostWith:data
              completionHandler: ^(array[Tickets] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TicketsApi()

var data = ; // {Data_41} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTicketsPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTicketsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TicketsApi();
            var data = new Data_41(); // Data_41 | 

            try
            {
                // get information about the ticket and messages in it

                array[Tickets] result = apiInstance.getTicketsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TicketsApi.getTicketsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TicketsApi();
$data = ; // Data_41 | 

try {
    $result = $api_instance->getTicketsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TicketsApi->getTicketsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TicketsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TicketsApi->new();
my $data = WWW::SwaggerClient::Object::Data_41->new(); # Data_41 | 

eval { 
    my $result = $api_instance->getTicketsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TicketsApi->getTicketsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TicketsApi()
data =  # Data_41 | 

try: 
    # get information about the ticket and messages in it

    api_response = api_instance.get_tickets_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TicketsApi->getTicketsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - ticket id.

Status: 500 - internal server error


Transactions

collectTerminalPost

Withdrawal of funds from the terminal, this creates a payment transaction from the terminal to his Subagent, the amount of the transaction = the amount of funds on the terminal. After the transaction the balance on the terminal is reset to zero


/collectTerminal

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/collectTerminal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_8 data = ; // Data_8 | 
        try {
            inline_response_200_5 result = apiInstance.collectTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#collectTerminalPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_8 data = ; // Data_8 | 
        try {
            inline_response_200_5 result = apiInstance.collectTerminalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#collectTerminalPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_8 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Withdrawal of funds from the terminal, this creates a payment transaction from the terminal
        to his subagent, the amount of the transaction = the amount of funds on the terminal.
        After the transaction, the balance on the terminal is reset to zero

[apiInstance collectTerminalPostWith:data
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_8} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.collectTerminalPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class collectTerminalPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_8(); // Data_8 | 

            try
            {
                // Withdrawal of funds from the terminal, this creates a payment transaction from the terminal
        to his subagent, the amount of the transaction = the amount of funds on the terminal.
        After the transaction, the balance on the terminal is reset to zero

                inline_response_200_5 result = apiInstance.collectTerminalPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.collectTerminalPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_8 | 

try {
    $result = $api_instance->collectTerminalPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->collectTerminalPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_8->new(); # Data_8 | 

eval { 
    my $result = $api_instance->collectTerminalPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->collectTerminalPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_8 | 

try: 
    # Withdrawal of funds from the terminal, this creates a payment transaction from the terminal
        to his subagent, the amount of the transaction = the amount of funds on the terminal.
        After the transaction, the balance on the terminal is reset to zero

    api_response = api_instance.collect_terminal_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->collectTerminalPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the ID of the created transaction will be returned

Status: 500 - internal server error


doTransactionPost

Create a payment transaction from one account/terminal to another.


/doTransaction

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/doTransaction"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_7 data = ; // Data_7 | 
        try {
            inline_response_200_5 result = apiInstance.doTransactionPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#doTransactionPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_7 data = ; // Data_7 | 
        try {
            inline_response_200_5 result = apiInstance.doTransactionPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#doTransactionPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_7 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Create a payment transaction from one account/terminal to another.

[apiInstance doTransactionPostWith:data
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_7} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.doTransactionPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class doTransactionPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_7(); // Data_7 | 

            try
            {
                // Create a payment transaction from one account/terminal to another.

                inline_response_200_5 result = apiInstance.doTransactionPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.doTransactionPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_7 | 

try {
    $result = $api_instance->doTransactionPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->doTransactionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_7->new(); # Data_7 | 

eval { 
    my $result = $api_instance->doTransactionPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->doTransactionPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_7 | 

try: 
    # Create a payment transaction from one account/terminal to another.

    api_response = api_instance.do_transaction_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->doTransactionPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the ID of the created transaction will be returned

Status: 500 - internal server error


getBalancePost

Get the balance of the specified account, in the specified currency


/getBalance

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getBalance"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_6 data = ; // Data_6 | 
        try {
            inline_response_200_4 result = apiInstance.getBalancePost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getBalancePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_6 data = ; // Data_6 | 
        try {
            inline_response_200_4 result = apiInstance.getBalancePost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getBalancePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_6 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Get the balance of the specified account, in the specified currency

[apiInstance getBalancePostWith:data
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_6} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getBalancePost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getBalancePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_6(); // Data_6 | 

            try
            {
                // Get the balance of the specified account, in the specified currency

                inline_response_200_4 result = apiInstance.getBalancePost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.getBalancePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_6 | 

try {
    $result = $api_instance->getBalancePost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->getBalancePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_6->new(); # Data_6 | 

eval { 
    my $result = $api_instance->getBalancePost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->getBalancePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_6 | 

try: 
    # Get the balance of the specified account, in the specified currency

    api_response = api_instance.get_balance_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->getBalancePost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the account balance will be returned

Status: 500 - internal server error


getCurrenciesPost

Get a list of currencies in the system


/getCurrencies

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getCurrencies"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        try {
            array[Currency] result = apiInstance.getCurrenciesPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getCurrenciesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        try {
            array[Currency] result = apiInstance.getCurrenciesPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getCurrenciesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];


TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

//  Get a list of currencies in the system

[apiInstance getCurrenciesPostWithCompletionHandler: 
              ^(array[Currency] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCurrenciesPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCurrenciesPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();

            try
            {
                // Get a list of currencies in the system

                array[Currency] result = apiInstance.getCurrenciesPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.getCurrenciesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();

try {
    $result = $api_instance->getCurrenciesPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->getCurrenciesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();

eval { 
    my $result = $api_instance->getCurrenciesPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->getCurrenciesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()

try: 
    # Get a list of currencies in the system

    api_response = api_instance.get_currencies_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->getCurrenciesPost: %s\n" % e)

Parameters

Responses

Status: 200 - upon successful operation, the list of currencies in the system will be returned

Status: 500 - internal server error


getTerminalTransactionsPost

Get the transactions for terminals


/getTerminalTransactions

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTerminalTransactions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_12 data = ; // Data_12 | 
        try {
            inline_response_200_9 result = apiInstance.getTerminalTransactionsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTerminalTransactionsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_12 data = ; // Data_12 | 
        try {
            inline_response_200_9 result = apiInstance.getTerminalTransactionsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTerminalTransactionsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_12 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Get the transactions for terminals

[apiInstance getTerminalTransactionsPostWith:data
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_12} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTerminalTransactionsPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTerminalTransactionsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_12(); // Data_12 | 

            try
            {
                // Get the transactions for terminals

                inline_response_200_9 result = apiInstance.getTerminalTransactionsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.getTerminalTransactionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_12 | 

try {
    $result = $api_instance->getTerminalTransactionsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->getTerminalTransactionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_12->new(); # Data_12 | 

eval { 
    my $result = $api_instance->getTerminalTransactionsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->getTerminalTransactionsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_12 | 

try: 
    # Get the transactions for terminals

    api_response = api_instance.get_terminal_transactions_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->getTerminalTransactionsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, a list of transactions will be returned

Status: 500 - internal server error


getTerminalTransactionsTotalPost

Get summary information on the terminal transactions, be sure to specify the sampling period. The period is required to display summary information on the sample (to calculate how many pages match the conditions in total)


/getTerminalTransactionsTotal

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTerminalTransactionsTotal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_11 data = ; // Data_11 | 
        try {
            inline_response_200_8 result = apiInstance.getTerminalTransactionsTotalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTerminalTransactionsTotalPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_11 data = ; // Data_11 | 
        try {
            inline_response_200_8 result = apiInstance.getTerminalTransactionsTotalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTerminalTransactionsTotalPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_11 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Get summary information on the terminal transactions, be sure to specify the sampling period.
        The period is required to display summary information on the sample
        (to calculate how many pages match the conditions in total)

[apiInstance getTerminalTransactionsTotalPostWith:data
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_11} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTerminalTransactionsTotalPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTerminalTransactionsTotalPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_11(); // Data_11 | 

            try
            {
                // Get summary information on the terminal transactions, be sure to specify the sampling period.
        The period is required to display summary information on the sample
        (to calculate how many pages match the conditions in total)

                inline_response_200_8 result = apiInstance.getTerminalTransactionsTotalPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.getTerminalTransactionsTotalPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_11 | 

try {
    $result = $api_instance->getTerminalTransactionsTotalPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->getTerminalTransactionsTotalPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_11->new(); # Data_11 | 

eval { 
    my $result = $api_instance->getTerminalTransactionsTotalPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->getTerminalTransactionsTotalPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_11 | 

try: 
    # Get summary information on the terminal transactions, be sure to specify the sampling period.
        The period is required to display summary information on the sample
        (to calculate how many pages match the conditions in total)

    api_response = api_instance.get_terminal_transactions_total_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->getTerminalTransactionsTotalPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, summary statistics will be returned

Status: 500 - internal server error


getTransactionsPost

Get the transactions for your own account, be sure to specify the sampling period


/getTransactions

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTransactions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_10 data = ; // Data_10 | 
        try {
            inline_response_200_7 result = apiInstance.getTransactionsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTransactionsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_10 data = ; // Data_10 | 
        try {
            inline_response_200_7 result = apiInstance.getTransactionsPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTransactionsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_10 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Get the transactions for your own account, be sure to specify the sampling period

[apiInstance getTransactionsPostWith:data
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_10} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTransactionsPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTransactionsPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_10(); // Data_10 | 

            try
            {
                // Get the transactions for your own account, be sure to specify the sampling period

                inline_response_200_7 result = apiInstance.getTransactionsPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.getTransactionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_10 | 

try {
    $result = $api_instance->getTransactionsPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->getTransactionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_10->new(); # Data_10 | 

eval { 
    my $result = $api_instance->getTransactionsPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->getTransactionsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_10 | 

try: 
    # Get the transactions for your own account, be sure to specify the sampling period

    api_response = api_instance.get_transactions_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->getTransactionsPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, a list of transactions will be returned

Status: 500 - internal server error


getTransactionsTotalPost

Get summary information about the transactions, be sure to specify the sampling period. The period is required to display summary information on the sample (to calculate how many pages match the conditions in total)


/getTransactionsTotal

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/getTransactionsTotal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_9 data = ; // Data_9 | 
        try {
            inline_response_200_6 result = apiInstance.getTransactionsTotalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTransactionsTotalPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_9 data = ; // Data_9 | 
        try {
            inline_response_200_6 result = apiInstance.getTransactionsTotalPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#getTransactionsTotalPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_9 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Get summary information about the transactions, be sure to specify the sampling period.
        The period is required to display summary information on the sample
        (to calculate how many pages match the conditions in total)

[apiInstance getTransactionsTotalPostWith:data
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_9} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTransactionsTotalPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTransactionsTotalPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_9(); // Data_9 | 

            try
            {
                // Get summary information about the transactions, be sure to specify the sampling period.
        The period is required to display summary information on the sample
        (to calculate how many pages match the conditions in total)

                inline_response_200_6 result = apiInstance.getTransactionsTotalPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.getTransactionsTotalPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_9 | 

try {
    $result = $api_instance->getTransactionsTotalPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->getTransactionsTotalPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_9->new(); # Data_9 | 

eval { 
    my $result = $api_instance->getTransactionsTotalPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->getTransactionsTotalPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_9 | 

try: 
    # Get summary information about the transactions, be sure to specify the sampling period.
        The period is required to display summary information on the sample
        (to calculate how many pages match the conditions in total)

    api_response = api_instance.get_transactions_total_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->getTransactionsTotalPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the summary statistics will be returned

Status: 500 - internal server error


setTransactionTagPost

Update transaction. Set a new value for the TAG field


/setTransactionTag

Usage and SDK Samples

curl -X POST -H "Token: [[apiKey]]" "https://api.superplat.pw/api/v1/setTransactionTag"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Token
        ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
        Token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Token.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Data_13 data = ; // Data_13 | 
        try {
            inline_response_200_10 result = apiInstance.setTransactionTagPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#setTransactionTagPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Data_13 data = ; // Data_13 | 
        try {
            inline_response_200_10 result = apiInstance.setTransactionTagPost(data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#setTransactionTagPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Token"];

Data_13 *data = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Update transaction. Set a new value for the TAG field

[apiInstance setTransactionTagPostWith:data
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SuperomaticPaySystemApi = require('superomatic_pay_system_api');
var defaultClient = SuperomaticPaySystemApi.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Token.apiKeyPrefix['Token'] = "Token"

var api = new SuperomaticPaySystemApi.TransactionsApi()

var data = ; // {Data_13} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.setTransactionTagPost(data, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class setTransactionTagPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Token
            Configuration.Default.ApiKey.Add("Token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Token", "Bearer");

            var apiInstance = new TransactionsApi();
            var data = new Data_13(); // Data_13 | 

            try
            {
                // Update transaction. Set a new value for the TAG field

                inline_response_200_10 result = apiInstance.setTransactionTagPost(data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.setTransactionTagPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Token
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Token', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$data = ; // Data_13 | 

try {
    $result = $api_instance->setTransactionTagPost($data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->setTransactionTagPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: Token
$WWW::SwaggerClient::Configuration::api_key->{'Token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $data = WWW::SwaggerClient::Object::Data_13->new(); # Data_13 | 

eval { 
    my $result = $api_instance->setTransactionTagPost(data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->setTransactionTagPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
swagger_client.configuration.api_key['Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
data =  # Data_13 | 

try: 
    # Update transaction. Set a new value for the TAG field

    api_response = api_instance.set_transaction_tag_post(data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->setTransactionTagPost: %s\n" % e)

Parameters

Body parameters
Name Description
data *

Responses

Status: 200 - upon successful operation, the number of affected transactions will be returned

Status: 500 - internal server error