API для аутентификации и платежных сервисов

Authentication

authToken

Получить токен доступа

Возвращает OAuth2 токен доступа, используя grant type client_credentials. Клиент должен аутентифицироваться через Basic Authentication.


/oauth2/token

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:9443/oauth2/token" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthenticationApi;

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

public class AuthenticationApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        AuthenticationApi apiInstance = new AuthenticationApi();
        AuthTokenRequest authTokenRequest = ; // AuthTokenRequest | 

        try {
            authToken_200_response result = apiInstance.authToken(authTokenRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthenticationApi#authToken");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final AuthTokenRequest authTokenRequest = new AuthTokenRequest(); // AuthTokenRequest | 

try {
    final result = await api_instance.authToken(authTokenRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->authToken: $e\n');
}

import org.openapitools.client.api.AuthenticationApi;

public class AuthenticationApiExample {
    public static void main(String[] args) {
        AuthenticationApi apiInstance = new AuthenticationApi();
        AuthTokenRequest authTokenRequest = ; // AuthTokenRequest | 

        try {
            authToken_200_response result = apiInstance.authToken(authTokenRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthenticationApi#authToken");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
AuthenticationApi *apiInstance = [[AuthenticationApi alloc] init];
AuthTokenRequest *authTokenRequest = ; // 

// Получить токен доступа
[apiInstance authTokenWith:authTokenRequest
              completionHandler: ^(authToken_200_response output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.AuthenticationApi()
var authTokenRequest = ; // {AuthTokenRequest} 

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

namespace Example
{
    public class authTokenExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new AuthenticationApi();
            var authTokenRequest = new AuthTokenRequest(); // AuthTokenRequest | 

            try {
                // Получить токен доступа
                authToken_200_response result = apiInstance.authToken(authTokenRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthenticationApi.authToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthenticationApi();
$authTokenRequest = ; // AuthTokenRequest | 

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

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthenticationApi->new();
my $authTokenRequest = WWW::OPenAPIClient::Object::AuthTokenRequest->new(); # AuthTokenRequest | 

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

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.AuthenticationApi()
authTokenRequest =  # AuthTokenRequest | 

try:
    # Получить токен доступа
    api_response = api_instance.auth_token(authTokenRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthenticationApi->authToken: %s\n" % e)
extern crate AuthenticationApi;

pub fn main() {
    let authTokenRequest = ; // AuthTokenRequest

    let mut context = AuthenticationApi::Context::default();
    let result = client.authToken(authTokenRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры тела запроса
Название Описание
authTokenRequest *

Ответы


Currency

getCurrencyExchangeRates

Валютные курсы обмена


/buss-buss/1.0/api/currency_exchange_rates

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/currency_exchange_rates"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.CurrencyApi;

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

public class CurrencyApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        CurrencyApi apiInstance = new CurrencyApi();

        try {
            array[CurrencyBankResponse] result = apiInstance.getCurrencyExchangeRates();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CurrencyApi#getCurrencyExchangeRates");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.getCurrencyExchangeRates();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getCurrencyExchangeRates: $e\n');
}

import org.openapitools.client.api.CurrencyApi;

public class CurrencyApiExample {
    public static void main(String[] args) {
        CurrencyApi apiInstance = new CurrencyApi();

        try {
            array[CurrencyBankResponse] result = apiInstance.getCurrencyExchangeRates();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CurrencyApi#getCurrencyExchangeRates");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
CurrencyApi *apiInstance = [[CurrencyApi alloc] init];

// Валютные курсы обмена
[apiInstance getCurrencyExchangeRatesWithCompletionHandler: 
              ^(array[CurrencyBankResponse] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.CurrencyApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCurrencyExchangeRates(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getCurrencyExchangeRatesExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new CurrencyApi();

            try {
                // Валютные курсы обмена
                array[CurrencyBankResponse] result = apiInstance.getCurrencyExchangeRates();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling CurrencyApi.getCurrencyExchangeRates: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\CurrencyApi();

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

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::CurrencyApi->new();

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

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.CurrencyApi()

try:
    # Валютные курсы обмена
    api_response = api_instance.get_currency_exchange_rates()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CurrencyApi->getCurrencyExchangeRates: %s\n" % e)
extern crate CurrencyApi;

pub fn main() {

    let mut context = CurrencyApi::Context::default();
    let result = client.getCurrencyExchangeRates(&context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Ответы


Employee

listEmployees

Список сотрудников


/buss-buss/1.0/api/employees

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/employees"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.EmployeeApi;

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

public class EmployeeApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        EmployeeApi apiInstance = new EmployeeApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            array[EmployeeResponse] result = apiInstance.listEmployees(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmployeeApi#listEmployees");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 

try {
    final result = await api_instance.listEmployees(authorization, client);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listEmployees: $e\n');
}

import org.openapitools.client.api.EmployeeApi;

public class EmployeeApiExample {
    public static void main(String[] args) {
        EmployeeApi apiInstance = new EmployeeApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            array[EmployeeResponse] result = apiInstance.listEmployees(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmployeeApi#listEmployees");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
EmployeeApi *apiInstance = [[EmployeeApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)

// Список сотрудников
[apiInstance listEmployeesWith:authorization
    client:client
              completionHandler: ^(array[EmployeeResponse] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.EmployeeApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 

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

namespace Example
{
    public class listEmployeesExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new EmployeeApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)

            try {
                // Список сотрудников
                array[EmployeeResponse] result = apiInstance.listEmployees(authorization, client);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling EmployeeApi.listEmployees: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\EmployeeApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 

try {
    $result = $api_instance->listEmployees($authorization, $client);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EmployeeApi->listEmployees: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::EmployeeApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::EmployeeApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 

eval {
    my $result = $api_instance->listEmployees(authorization => $authorization, client => $client);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EmployeeApi->listEmployees: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.EmployeeApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)

try:
    # Список сотрудников
    api_response = api_instance.list_employees(authorization, client)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EmployeeApi->listEmployees: %s\n" % e)
extern crate EmployeeApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String

    let mut context = EmployeeApi::Context::default();
    let result = client.listEmployees(authorization, client, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required

Ответы


GCPayment

createBankPayment

Создание банковского платежа


/buss-buss/1.0/api/bank/ipoteka-bank-wta/payments

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/bank/ipoteka-bank-wta/payments" \
 -d '{
  "remittance" : {
    "payload" : {
      "encryption" : {
        "keyName" : "keyName",
        "initialVector" : "initialVector",
        "algorithm" : "algorithm"
      },
      "resource" : {
        "headers" : "{}",
        "url" : "url"
      },
      "compression" : "compression",
      "body" : {
        "contentEncoding" : "contentEncoding",
        "content" : "content"
      }
    },
    "resource" : {
      "headers" : "{}",
      "url" : "url"
    },
    "format" : "format",
    "subFormat" : "subFormat"
  }
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.GCPaymentApi;

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

public class GCPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        GCPaymentApi apiInstance = new GCPaymentApi();
        String authorization = authorization_example; // String | 
        String kyribaContext = kyribaContext_example; // String | 
        String idempotencyKey = idempotencyKey_example; // String | 
        PaymentRequest paymentRequest = ; // PaymentRequest | 

        try {
            PaymentResponse result = apiInstance.createBankPayment(authorization, kyribaContext, idempotencyKey, paymentRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GCPaymentApi#createBankPayment");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String kyribaContext = new String(); // String | 
final String idempotencyKey = new String(); // String | 
final PaymentRequest paymentRequest = new PaymentRequest(); // PaymentRequest | 

try {
    final result = await api_instance.createBankPayment(authorization, kyribaContext, idempotencyKey, paymentRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createBankPayment: $e\n');
}

import org.openapitools.client.api.GCPaymentApi;

public class GCPaymentApiExample {
    public static void main(String[] args) {
        GCPaymentApi apiInstance = new GCPaymentApi();
        String authorization = authorization_example; // String | 
        String kyribaContext = kyribaContext_example; // String | 
        String idempotencyKey = idempotencyKey_example; // String | 
        PaymentRequest paymentRequest = ; // PaymentRequest | 

        try {
            PaymentResponse result = apiInstance.createBankPayment(authorization, kyribaContext, idempotencyKey, paymentRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GCPaymentApi#createBankPayment");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
GCPaymentApi *apiInstance = [[GCPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *kyribaContext = kyribaContext_example; //  (default to null)
String *idempotencyKey = idempotencyKey_example; //  (default to null)
PaymentRequest *paymentRequest = ; // 

// Создание банковского платежа
[apiInstance createBankPaymentWith:authorization
    kyribaContext:kyribaContext
    idempotencyKey:idempotencyKey
    paymentRequest:paymentRequest
              completionHandler: ^(PaymentResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.GCPaymentApi()
var authorization = authorization_example; // {String} 
var kyribaContext = kyribaContext_example; // {String} 
var idempotencyKey = idempotencyKey_example; // {String} 
var paymentRequest = ; // {PaymentRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createBankPayment(authorization, kyribaContext, idempotencyKey, paymentRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createBankPaymentExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new GCPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var kyribaContext = kyribaContext_example;  // String |  (default to null)
            var idempotencyKey = idempotencyKey_example;  // String |  (default to null)
            var paymentRequest = new PaymentRequest(); // PaymentRequest | 

            try {
                // Создание банковского платежа
                PaymentResponse result = apiInstance.createBankPayment(authorization, kyribaContext, idempotencyKey, paymentRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling GCPaymentApi.createBankPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\GCPaymentApi();
$authorization = authorization_example; // String | 
$kyribaContext = kyribaContext_example; // String | 
$idempotencyKey = idempotencyKey_example; // String | 
$paymentRequest = ; // PaymentRequest | 

try {
    $result = $api_instance->createBankPayment($authorization, $kyribaContext, $idempotencyKey, $paymentRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GCPaymentApi->createBankPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::GCPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::GCPaymentApi->new();
my $authorization = authorization_example; # String | 
my $kyribaContext = kyribaContext_example; # String | 
my $idempotencyKey = idempotencyKey_example; # String | 
my $paymentRequest = WWW::OPenAPIClient::Object::PaymentRequest->new(); # PaymentRequest | 

eval {
    my $result = $api_instance->createBankPayment(authorization => $authorization, kyribaContext => $kyribaContext, idempotencyKey => $idempotencyKey, paymentRequest => $paymentRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GCPaymentApi->createBankPayment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.GCPaymentApi()
authorization = authorization_example # String |  (default to null)
kyribaContext = kyribaContext_example # String |  (default to null)
idempotencyKey = idempotencyKey_example # String |  (default to null)
paymentRequest =  # PaymentRequest | 

try:
    # Создание банковского платежа
    api_response = api_instance.create_bank_payment(authorization, kyribaContext, idempotencyKey, paymentRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GCPaymentApi->createBankPayment: %s\n" % e)
extern crate GCPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let kyribaContext = kyribaContext_example; // String
    let idempotencyKey = idempotencyKey_example; // String
    let paymentRequest = ; // PaymentRequest

    let mut context = GCPaymentApi::Context::default();
    let result = client.createBankPayment(authorization, kyribaContext, idempotencyKey, paymentRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Kyriba-Context*
String
Required
Idempotency-Key*
String
Required
Параметры тела запроса
Название Описание
paymentRequest *

Ответы


getBankPaymentStatus

Получить статус банковского платежа


/buss-buss/1.0/api/bank/ipoteka-bank-wta/payments/{paymentId}/status

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/bank/ipoteka-bank-wta/payments/{paymentId}/status"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.GCPaymentApi;

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

public class GCPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        GCPaymentApi apiInstance = new GCPaymentApi();
        String authorization = authorization_example; // String | 
        String kyribaContext = kyribaContext_example; // String | 
        String paymentId = paymentId_example; // String | 

        try {
            PaymentStatusResponse result = apiInstance.getBankPaymentStatus(authorization, kyribaContext, paymentId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GCPaymentApi#getBankPaymentStatus");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String kyribaContext = new String(); // String | 
final String paymentId = new String(); // String | 

try {
    final result = await api_instance.getBankPaymentStatus(authorization, kyribaContext, paymentId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getBankPaymentStatus: $e\n');
}

import org.openapitools.client.api.GCPaymentApi;

public class GCPaymentApiExample {
    public static void main(String[] args) {
        GCPaymentApi apiInstance = new GCPaymentApi();
        String authorization = authorization_example; // String | 
        String kyribaContext = kyribaContext_example; // String | 
        String paymentId = paymentId_example; // String | 

        try {
            PaymentStatusResponse result = apiInstance.getBankPaymentStatus(authorization, kyribaContext, paymentId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GCPaymentApi#getBankPaymentStatus");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
GCPaymentApi *apiInstance = [[GCPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *kyribaContext = kyribaContext_example; //  (default to null)
String *paymentId = paymentId_example; //  (default to null)

// Получить статус банковского платежа
[apiInstance getBankPaymentStatusWith:authorization
    kyribaContext:kyribaContext
    paymentId:paymentId
              completionHandler: ^(PaymentStatusResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.GCPaymentApi()
var authorization = authorization_example; // {String} 
var kyribaContext = kyribaContext_example; // {String} 
var paymentId = paymentId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getBankPaymentStatus(authorization, kyribaContext, paymentId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getBankPaymentStatusExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new GCPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var kyribaContext = kyribaContext_example;  // String |  (default to null)
            var paymentId = paymentId_example;  // String |  (default to null)

            try {
                // Получить статус банковского платежа
                PaymentStatusResponse result = apiInstance.getBankPaymentStatus(authorization, kyribaContext, paymentId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling GCPaymentApi.getBankPaymentStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\GCPaymentApi();
$authorization = authorization_example; // String | 
$kyribaContext = kyribaContext_example; // String | 
$paymentId = paymentId_example; // String | 

try {
    $result = $api_instance->getBankPaymentStatus($authorization, $kyribaContext, $paymentId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GCPaymentApi->getBankPaymentStatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::GCPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::GCPaymentApi->new();
my $authorization = authorization_example; # String | 
my $kyribaContext = kyribaContext_example; # String | 
my $paymentId = paymentId_example; # String | 

eval {
    my $result = $api_instance->getBankPaymentStatus(authorization => $authorization, kyribaContext => $kyribaContext, paymentId => $paymentId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GCPaymentApi->getBankPaymentStatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.GCPaymentApi()
authorization = authorization_example # String |  (default to null)
kyribaContext = kyribaContext_example # String |  (default to null)
paymentId = paymentId_example # String |  (default to null)

try:
    # Получить статус банковского платежа
    api_response = api_instance.get_bank_payment_status(authorization, kyribaContext, paymentId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GCPaymentApi->getBankPaymentStatus: %s\n" % e)
extern crate GCPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let kyribaContext = kyribaContext_example; // String
    let paymentId = paymentId_example; // String

    let mut context = GCPaymentApi::Context::default();
    let result = client.getBankPaymentStatus(authorization, kyribaContext, paymentId, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры пути
Название Описание
paymentId*
String
Required
Параметры заголовка
Название Описание
Authorization*
String
Required
Kyriba-Context*
String
Required

Ответы


listBanks

Список банков


/buss-buss/1.0/api/banks

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/banks?offset=56&limit=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.GCPaymentApi;

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

public class GCPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        GCPaymentApi apiInstance = new GCPaymentApi();
        Integer offset = 56; // Integer | 
        Integer limit = 56; // Integer | 

        try {
            BankListResponse result = apiInstance.listBanks(offset, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GCPaymentApi#listBanks");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer offset = new Integer(); // Integer | 
final Integer limit = new Integer(); // Integer | 

try {
    final result = await api_instance.listBanks(offset, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listBanks: $e\n');
}

import org.openapitools.client.api.GCPaymentApi;

public class GCPaymentApiExample {
    public static void main(String[] args) {
        GCPaymentApi apiInstance = new GCPaymentApi();
        Integer offset = 56; // Integer | 
        Integer limit = 56; // Integer | 

        try {
            BankListResponse result = apiInstance.listBanks(offset, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GCPaymentApi#listBanks");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
GCPaymentApi *apiInstance = [[GCPaymentApi alloc] init];
Integer *offset = 56; //  (optional) (default to 10)
Integer *limit = 56; //  (optional) (default to 0)

// Список банков
[apiInstance listBanksWith:offset
    limit:limit
              completionHandler: ^(BankListResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.GCPaymentApi()
var opts = {
  'offset': 56, // {Integer} 
  'limit': 56 // {Integer} 
};

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

namespace Example
{
    public class listBanksExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new GCPaymentApi();
            var offset = 56;  // Integer |  (optional)  (default to 10)
            var limit = 56;  // Integer |  (optional)  (default to 0)

            try {
                // Список банков
                BankListResponse result = apiInstance.listBanks(offset, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling GCPaymentApi.listBanks: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\GCPaymentApi();
$offset = 56; // Integer | 
$limit = 56; // Integer | 

try {
    $result = $api_instance->listBanks($offset, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GCPaymentApi->listBanks: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::GCPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::GCPaymentApi->new();
my $offset = 56; # Integer | 
my $limit = 56; # Integer | 

eval {
    my $result = $api_instance->listBanks(offset => $offset, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GCPaymentApi->listBanks: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.GCPaymentApi()
offset = 56 # Integer |  (optional) (default to 10)
limit = 56 # Integer |  (optional) (default to 0)

try:
    # Список банков
    api_response = api_instance.list_banks(offset=offset, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GCPaymentApi->listBanks: %s\n" % e)
extern crate GCPaymentApi;

pub fn main() {
    let offset = 56; // Integer
    let limit = 56; // Integer

    let mut context = GCPaymentApi::Context::default();
    let result = client.listBanks(offset, limit, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры запроса
Название Описание
offset
Integer (int32)
limit
Integer (int32)

Ответы


MunisPayment

checkMunisPaymentStatus

Проверка статуса платежа Munis


/buss-buss/1.0/api/munis/payment/status

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/payment/status" \
 -d '{
  "request_id" : "request_id",
  "sid" : "sid"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        MunisPaymentCheckRequest munisPaymentCheckRequest = ; // MunisPaymentCheckRequest | 

        try {
            MunisPaymentCheckResponse result = apiInstance.checkMunisPaymentStatus(authorization, client, munisPaymentCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#checkMunisPaymentStatus");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final MunisPaymentCheckRequest munisPaymentCheckRequest = new MunisPaymentCheckRequest(); // MunisPaymentCheckRequest | 

try {
    final result = await api_instance.checkMunisPaymentStatus(authorization, client, munisPaymentCheckRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->checkMunisPaymentStatus: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        MunisPaymentCheckRequest munisPaymentCheckRequest = ; // MunisPaymentCheckRequest | 

        try {
            MunisPaymentCheckResponse result = apiInstance.checkMunisPaymentStatus(authorization, client, munisPaymentCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#checkMunisPaymentStatus");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
MunisPaymentCheckRequest *munisPaymentCheckRequest = ; // 

// Проверка статуса платежа Munis
[apiInstance checkMunisPaymentStatusWith:authorization
    client:client
    munisPaymentCheckRequest:munisPaymentCheckRequest
              completionHandler: ^(MunisPaymentCheckResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var munisPaymentCheckRequest = ; // {MunisPaymentCheckRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkMunisPaymentStatus(authorization, client, munisPaymentCheckRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class checkMunisPaymentStatusExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var munisPaymentCheckRequest = new MunisPaymentCheckRequest(); // MunisPaymentCheckRequest | 

            try {
                // Проверка статуса платежа Munis
                MunisPaymentCheckResponse result = apiInstance.checkMunisPaymentStatus(authorization, client, munisPaymentCheckRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.checkMunisPaymentStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$munisPaymentCheckRequest = ; // MunisPaymentCheckRequest | 

try {
    $result = $api_instance->checkMunisPaymentStatus($authorization, $client, $munisPaymentCheckRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->checkMunisPaymentStatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $munisPaymentCheckRequest = WWW::OPenAPIClient::Object::MunisPaymentCheckRequest->new(); # MunisPaymentCheckRequest | 

eval {
    my $result = $api_instance->checkMunisPaymentStatus(authorization => $authorization, client => $client, munisPaymentCheckRequest => $munisPaymentCheckRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->checkMunisPaymentStatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
munisPaymentCheckRequest =  # MunisPaymentCheckRequest | 

try:
    # Проверка статуса платежа Munis
    api_response = api_instance.check_munis_payment_status(authorization, client, munisPaymentCheckRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->checkMunisPaymentStatus: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let munisPaymentCheckRequest = ; // MunisPaymentCheckRequest

    let mut context = MunisPaymentApi::Context::default();
    let result = client.checkMunisPaymentStatus(authorization, client, munisPaymentCheckRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
munisPaymentCheckRequest *

Ответы


createMunisBlankPayment

Создание пустого платежа Munis


/buss-buss/1.0/api/munis/blank

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/blank" \
 -d '{
  "supplier" : "supplier",
  "debit" : {
    "mfo" : "mfo",
    "account" : "account"
  },
  "request_id" : "request_id",
  "parameters" : [ {
    "subject" : "subject",
    "value" : "value"
  }, {
    "subject" : "subject",
    "value" : "value"
  } ],
  "settlement" : "settlement"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        MunisPaymentBlankRequest munisPaymentBlankRequest = ; // MunisPaymentBlankRequest | 

        try {
            MunisPaymentMunisBlankResponse result = apiInstance.createMunisBlankPayment(authorization, client, munisPaymentBlankRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#createMunisBlankPayment");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final MunisPaymentBlankRequest munisPaymentBlankRequest = new MunisPaymentBlankRequest(); // MunisPaymentBlankRequest | 

try {
    final result = await api_instance.createMunisBlankPayment(authorization, client, munisPaymentBlankRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createMunisBlankPayment: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        MunisPaymentBlankRequest munisPaymentBlankRequest = ; // MunisPaymentBlankRequest | 

        try {
            MunisPaymentMunisBlankResponse result = apiInstance.createMunisBlankPayment(authorization, client, munisPaymentBlankRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#createMunisBlankPayment");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
MunisPaymentBlankRequest *munisPaymentBlankRequest = ; // 

// Создание пустого платежа Munis
[apiInstance createMunisBlankPaymentWith:authorization
    client:client
    munisPaymentBlankRequest:munisPaymentBlankRequest
              completionHandler: ^(MunisPaymentMunisBlankResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var munisPaymentBlankRequest = ; // {MunisPaymentBlankRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createMunisBlankPayment(authorization, client, munisPaymentBlankRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createMunisBlankPaymentExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var munisPaymentBlankRequest = new MunisPaymentBlankRequest(); // MunisPaymentBlankRequest | 

            try {
                // Создание пустого платежа Munis
                MunisPaymentMunisBlankResponse result = apiInstance.createMunisBlankPayment(authorization, client, munisPaymentBlankRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.createMunisBlankPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$munisPaymentBlankRequest = ; // MunisPaymentBlankRequest | 

try {
    $result = $api_instance->createMunisBlankPayment($authorization, $client, $munisPaymentBlankRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->createMunisBlankPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $munisPaymentBlankRequest = WWW::OPenAPIClient::Object::MunisPaymentBlankRequest->new(); # MunisPaymentBlankRequest | 

eval {
    my $result = $api_instance->createMunisBlankPayment(authorization => $authorization, client => $client, munisPaymentBlankRequest => $munisPaymentBlankRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->createMunisBlankPayment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
munisPaymentBlankRequest =  # MunisPaymentBlankRequest | 

try:
    # Создание пустого платежа Munis
    api_response = api_instance.create_munis_blank_payment(authorization, client, munisPaymentBlankRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->createMunisBlankPayment: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let munisPaymentBlankRequest = ; // MunisPaymentBlankRequest

    let mut context = MunisPaymentApi::Context::default();
    let result = client.createMunisBlankPayment(authorization, client, munisPaymentBlankRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
munisPaymentBlankRequest *

Ответы


createMunisPayment

Создание платежа Munis


/buss-buss/1.0/api/munis/payment

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/payment" \
 -d '{
  "accountCredit" : "accountCredit",
  "ref_number" : "ref_number",
  "cardMfo" : "cardMfo",
  "initiator" : "initiator",
  "date_doc" : "date_doc",
  "innCredit" : "innCredit",
  "accountDebet" : "accountDebet",
  "program" : "program",
  "merchant_id" : "merchant_id",
  "paymentRef" : "paymentRef",
  "settlement" : "settlement",
  "sid" : "sid",
  "requestId" : "requestId",
  "supplier" : "supplier",
  "nameCredit" : "nameCredit",
  "naz_pla" : "naz_pla",
  "terminal_id" : "terminal_id",
  "ext" : "ext",
  "amount" : "amount",
  "kind" : "kind",
  "innDebit" : "innDebit",
  "mfoDebet" : "mfoDebet",
  "cardDateExp" : "2000-01-23T04:56:07.000+00:00",
  "nameDebet" : "nameDebet",
  "kod_pla" : "kod_pla",
  "mfoCredit" : "mfoCredit",
  "paymentID" : "paymentID",
  "bid" : "bid",
  "parameters" : {
    "subject" : "subject",
    "value" : "value"
  },
  "card" : "card",
  "num_doc" : "num_doc"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        MunisPaymentRequest munisPaymentRequest = ; // MunisPaymentRequest | 

        try {
            MunisPaymentResponse result = apiInstance.createMunisPayment(authorization, client, munisPaymentRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#createMunisPayment");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final MunisPaymentRequest munisPaymentRequest = new MunisPaymentRequest(); // MunisPaymentRequest | 

try {
    final result = await api_instance.createMunisPayment(authorization, client, munisPaymentRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createMunisPayment: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        MunisPaymentRequest munisPaymentRequest = ; // MunisPaymentRequest | 

        try {
            MunisPaymentResponse result = apiInstance.createMunisPayment(authorization, client, munisPaymentRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#createMunisPayment");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
MunisPaymentRequest *munisPaymentRequest = ; // 

// Создание платежа Munis
[apiInstance createMunisPaymentWith:authorization
    client:client
    munisPaymentRequest:munisPaymentRequest
              completionHandler: ^(MunisPaymentResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var munisPaymentRequest = ; // {MunisPaymentRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createMunisPayment(authorization, client, munisPaymentRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createMunisPaymentExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var munisPaymentRequest = new MunisPaymentRequest(); // MunisPaymentRequest | 

            try {
                // Создание платежа Munis
                MunisPaymentResponse result = apiInstance.createMunisPayment(authorization, client, munisPaymentRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.createMunisPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$munisPaymentRequest = ; // MunisPaymentRequest | 

try {
    $result = $api_instance->createMunisPayment($authorization, $client, $munisPaymentRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->createMunisPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $munisPaymentRequest = WWW::OPenAPIClient::Object::MunisPaymentRequest->new(); # MunisPaymentRequest | 

eval {
    my $result = $api_instance->createMunisPayment(authorization => $authorization, client => $client, munisPaymentRequest => $munisPaymentRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->createMunisPayment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
munisPaymentRequest =  # MunisPaymentRequest | 

try:
    # Создание платежа Munis
    api_response = api_instance.create_munis_payment(authorization, client, munisPaymentRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->createMunisPayment: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let munisPaymentRequest = ; // MunisPaymentRequest

    let mut context = MunisPaymentApi::Context::default();
    let result = client.createMunisPayment(authorization, client, munisPaymentRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
munisPaymentRequest *

Ответы


listMunisRequirements

Список требований Munis


/buss-buss/1.0/api/munis/require_list

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/require_list?settlement_code=settlementCode_example&supplier_code=supplierCode_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String settlementCode = settlementCode_example; // String | 
        String supplierCode = supplierCode_example; // String | 

        try {
            array[MunisPaymentRequireListResponse] result = apiInstance.listMunisRequirements(authorization, client, settlementCode, supplierCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisRequirements");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final String settlementCode = new String(); // String | 
final String supplierCode = new String(); // String | 

try {
    final result = await api_instance.listMunisRequirements(authorization, client, settlementCode, supplierCode);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listMunisRequirements: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String settlementCode = settlementCode_example; // String | 
        String supplierCode = supplierCode_example; // String | 

        try {
            array[MunisPaymentRequireListResponse] result = apiInstance.listMunisRequirements(authorization, client, settlementCode, supplierCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisRequirements");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
String *settlementCode = settlementCode_example; //  (default to null)
String *supplierCode = supplierCode_example; //  (default to null)

// Список требований Munis
[apiInstance listMunisRequirementsWith:authorization
    client:client
    settlementCode:settlementCode
    supplierCode:supplierCode
              completionHandler: ^(array[MunisPaymentRequireListResponse] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var settlementCode = settlementCode_example; // {String} 
var supplierCode = supplierCode_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listMunisRequirements(authorization, client, settlementCode, supplierCode, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class listMunisRequirementsExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var settlementCode = settlementCode_example;  // String |  (default to null)
            var supplierCode = supplierCode_example;  // String |  (default to null)

            try {
                // Список требований Munis
                array[MunisPaymentRequireListResponse] result = apiInstance.listMunisRequirements(authorization, client, settlementCode, supplierCode);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.listMunisRequirements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$settlementCode = settlementCode_example; // String | 
$supplierCode = supplierCode_example; // String | 

try {
    $result = $api_instance->listMunisRequirements($authorization, $client, $settlementCode, $supplierCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->listMunisRequirements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $settlementCode = settlementCode_example; # String | 
my $supplierCode = supplierCode_example; # String | 

eval {
    my $result = $api_instance->listMunisRequirements(authorization => $authorization, client => $client, settlementCode => $settlementCode, supplierCode => $supplierCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->listMunisRequirements: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
settlementCode = settlementCode_example # String |  (default to null)
supplierCode = supplierCode_example # String |  (default to null)

try:
    # Список требований Munis
    api_response = api_instance.list_munis_requirements(authorization, client, settlementCode, supplierCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->listMunisRequirements: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let settlementCode = settlementCode_example; // String
    let supplierCode = supplierCode_example; // String

    let mut context = MunisPaymentApi::Context::default();
    let result = client.listMunisRequirements(authorization, client, settlementCode, supplierCode, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры запроса
Название Описание
settlement_code*
String
Required
supplier_code*
String
Required

Ответы


listMunisSettlements

Список расчетов Munis


/buss-buss/1.0/api/munis/settlement_list

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/settlement_list?supplier_code=supplierCode_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String supplierCode = supplierCode_example; // String | 

        try {
            array[MunisPaymentSettlementResponse] result = apiInstance.listMunisSettlements(authorization, client, supplierCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisSettlements");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final String supplierCode = new String(); // String | 

try {
    final result = await api_instance.listMunisSettlements(authorization, client, supplierCode);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listMunisSettlements: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String supplierCode = supplierCode_example; // String | 

        try {
            array[MunisPaymentSettlementResponse] result = apiInstance.listMunisSettlements(authorization, client, supplierCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisSettlements");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
String *supplierCode = supplierCode_example; //  (default to null)

// Список расчетов Munis
[apiInstance listMunisSettlementsWith:authorization
    client:client
    supplierCode:supplierCode
              completionHandler: ^(array[MunisPaymentSettlementResponse] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var supplierCode = supplierCode_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listMunisSettlements(authorization, client, supplierCode, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class listMunisSettlementsExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var supplierCode = supplierCode_example;  // String |  (default to null)

            try {
                // Список расчетов Munis
                array[MunisPaymentSettlementResponse] result = apiInstance.listMunisSettlements(authorization, client, supplierCode);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.listMunisSettlements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$supplierCode = supplierCode_example; // String | 

try {
    $result = $api_instance->listMunisSettlements($authorization, $client, $supplierCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->listMunisSettlements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $supplierCode = supplierCode_example; # String | 

eval {
    my $result = $api_instance->listMunisSettlements(authorization => $authorization, client => $client, supplierCode => $supplierCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->listMunisSettlements: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
supplierCode = supplierCode_example # String |  (default to null)

try:
    # Список расчетов Munis
    api_response = api_instance.list_munis_settlements(authorization, client, supplierCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->listMunisSettlements: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let supplierCode = supplierCode_example; // String

    let mut context = MunisPaymentApi::Context::default();
    let result = client.listMunisSettlements(authorization, client, supplierCode, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры запроса
Название Описание
supplier_code*
String
Required

Ответы


listMunisSupplierCategories

Список категорий поставщиков Munis


/buss-buss/1.0/api/munis/supplier_category_list

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/supplier_category_list"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            array[MunisPaymentSupplierGroupListResponse] result = apiInstance.listMunisSupplierCategories(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisSupplierCategories");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 

try {
    final result = await api_instance.listMunisSupplierCategories(authorization, client);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listMunisSupplierCategories: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            array[MunisPaymentSupplierGroupListResponse] result = apiInstance.listMunisSupplierCategories(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisSupplierCategories");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)

// Список категорий поставщиков Munis
[apiInstance listMunisSupplierCategoriesWith:authorization
    client:client
              completionHandler: ^(array[MunisPaymentSupplierGroupListResponse] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 

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

namespace Example
{
    public class listMunisSupplierCategoriesExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)

            try {
                // Список категорий поставщиков Munis
                array[MunisPaymentSupplierGroupListResponse] result = apiInstance.listMunisSupplierCategories(authorization, client);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.listMunisSupplierCategories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 

try {
    $result = $api_instance->listMunisSupplierCategories($authorization, $client);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->listMunisSupplierCategories: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 

eval {
    my $result = $api_instance->listMunisSupplierCategories(authorization => $authorization, client => $client);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->listMunisSupplierCategories: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)

try:
    # Список категорий поставщиков Munis
    api_response = api_instance.list_munis_supplier_categories(authorization, client)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->listMunisSupplierCategories: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String

    let mut context = MunisPaymentApi::Context::default();
    let result = client.listMunisSupplierCategories(authorization, client, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required

Ответы


listMunisSuppliers

Список поставщиков Munis


/buss-buss/1.0/api/munis/supplier_list

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/munis/supplier_list?category_code=categoryCode_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MunisPaymentApi;

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

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String categoryCode = categoryCode_example; // String | 

        try {
            array[MunisPaymentSupplierListResponse] result = apiInstance.listMunisSuppliers(authorization, client, categoryCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisSuppliers");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final String categoryCode = new String(); // String | 

try {
    final result = await api_instance.listMunisSuppliers(authorization, client, categoryCode);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listMunisSuppliers: $e\n');
}

import org.openapitools.client.api.MunisPaymentApi;

public class MunisPaymentApiExample {
    public static void main(String[] args) {
        MunisPaymentApi apiInstance = new MunisPaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String categoryCode = categoryCode_example; // String | 

        try {
            array[MunisPaymentSupplierListResponse] result = apiInstance.listMunisSuppliers(authorization, client, categoryCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MunisPaymentApi#listMunisSuppliers");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
MunisPaymentApi *apiInstance = [[MunisPaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
String *categoryCode = categoryCode_example; //  (default to null)

// Список поставщиков Munis
[apiInstance listMunisSuppliersWith:authorization
    client:client
    categoryCode:categoryCode
              completionHandler: ^(array[MunisPaymentSupplierListResponse] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.MunisPaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var categoryCode = categoryCode_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listMunisSuppliers(authorization, client, categoryCode, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class listMunisSuppliersExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new MunisPaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var categoryCode = categoryCode_example;  // String |  (default to null)

            try {
                // Список поставщиков Munis
                array[MunisPaymentSupplierListResponse] result = apiInstance.listMunisSuppliers(authorization, client, categoryCode);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MunisPaymentApi.listMunisSuppliers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MunisPaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$categoryCode = categoryCode_example; // String | 

try {
    $result = $api_instance->listMunisSuppliers($authorization, $client, $categoryCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MunisPaymentApi->listMunisSuppliers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MunisPaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MunisPaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $categoryCode = categoryCode_example; # String | 

eval {
    my $result = $api_instance->listMunisSuppliers(authorization => $authorization, client => $client, categoryCode => $categoryCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MunisPaymentApi->listMunisSuppliers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.MunisPaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
categoryCode = categoryCode_example # String |  (default to null)

try:
    # Список поставщиков Munis
    api_response = api_instance.list_munis_suppliers(authorization, client, categoryCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MunisPaymentApi->listMunisSuppliers: %s\n" % e)
extern crate MunisPaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let categoryCode = categoryCode_example; // String

    let mut context = MunisPaymentApi::Context::default();
    let result = client.listMunisSuppliers(authorization, client, categoryCode, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры запроса
Название Описание
category_code*
String
Required

Ответы


Organization

getAccountInfo

Получение информации о счете


/buss-buss/1.0/api/organization/account/info

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/organization/account/info?balance_account=balanceAccount_example¤t_rest=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.OrganizationApi;

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

public class OrganizationApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String balanceAccount = balanceAccount_example; // String | 
        Boolean currentRest = true; // Boolean | 

        try {
            OrganizationAccountInfoResponse result = apiInstance.getAccountInfo(authorization, client, balanceAccount, currentRest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#getAccountInfo");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final String balanceAccount = new String(); // String | 
final Boolean currentRest = new Boolean(); // Boolean | 

try {
    final result = await api_instance.getAccountInfo(authorization, client, balanceAccount, currentRest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAccountInfo: $e\n');
}

import org.openapitools.client.api.OrganizationApi;

public class OrganizationApiExample {
    public static void main(String[] args) {
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String balanceAccount = balanceAccount_example; // String | 
        Boolean currentRest = true; // Boolean | 

        try {
            OrganizationAccountInfoResponse result = apiInstance.getAccountInfo(authorization, client, balanceAccount, currentRest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#getAccountInfo");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
OrganizationApi *apiInstance = [[OrganizationApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
String *balanceAccount = balanceAccount_example; //  (default to null)
Boolean *currentRest = true; //  (default to null)

// Получение информации о счете
[apiInstance getAccountInfoWith:authorization
    client:client
    balanceAccount:balanceAccount
    currentRest:currentRest
              completionHandler: ^(OrganizationAccountInfoResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.OrganizationApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var balanceAccount = balanceAccount_example; // {String} 
var currentRest = true; // {Boolean} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAccountInfo(authorization, client, balanceAccount, currentRest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getAccountInfoExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new OrganizationApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var balanceAccount = balanceAccount_example;  // String |  (default to null)
            var currentRest = true;  // Boolean |  (default to null)

            try {
                // Получение информации о счете
                OrganizationAccountInfoResponse result = apiInstance.getAccountInfo(authorization, client, balanceAccount, currentRest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling OrganizationApi.getAccountInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\OrganizationApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$balanceAccount = balanceAccount_example; // String | 
$currentRest = true; // Boolean | 

try {
    $result = $api_instance->getAccountInfo($authorization, $client, $balanceAccount, $currentRest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganizationApi->getAccountInfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::OrganizationApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::OrganizationApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $balanceAccount = balanceAccount_example; # String | 
my $currentRest = true; # Boolean | 

eval {
    my $result = $api_instance->getAccountInfo(authorization => $authorization, client => $client, balanceAccount => $balanceAccount, currentRest => $currentRest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrganizationApi->getAccountInfo: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.OrganizationApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
balanceAccount = balanceAccount_example # String |  (default to null)
currentRest = true # Boolean |  (default to null)

try:
    # Получение информации о счете
    api_response = api_instance.get_account_info(authorization, client, balanceAccount, currentRest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrganizationApi->getAccountInfo: %s\n" % e)
extern crate OrganizationApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let balanceAccount = balanceAccount_example; // String
    let currentRest = true; // Boolean

    let mut context = OrganizationApi::Context::default();
    let result = client.getAccountInfo(authorization, client, balanceAccount, currentRest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры запроса
Название Описание
balance_account*
String
Required
current_rest*
Boolean
Required

Ответы


getAccountStatement

Выписка по счету


/buss-buss/1.0/api/organization/account/statement

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/organization/account/statement" \
 -d '{
  "end_date" : "end_date",
  "mfo" : "mfo",
  "begin_date" : "begin_date",
  "operation_date" : "operation_date",
  "account" : "account"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.OrganizationApi;

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

public class OrganizationApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        OrganizationAccountStatementRequest organizationAccountStatementRequest = ; // OrganizationAccountStatementRequest | 

        try {
            OrganizationStatementResponse result = apiInstance.getAccountStatement(authorization, client, organizationAccountStatementRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#getAccountStatement");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final OrganizationAccountStatementRequest organizationAccountStatementRequest = new OrganizationAccountStatementRequest(); // OrganizationAccountStatementRequest | 

try {
    final result = await api_instance.getAccountStatement(authorization, client, organizationAccountStatementRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAccountStatement: $e\n');
}

import org.openapitools.client.api.OrganizationApi;

public class OrganizationApiExample {
    public static void main(String[] args) {
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        OrganizationAccountStatementRequest organizationAccountStatementRequest = ; // OrganizationAccountStatementRequest | 

        try {
            OrganizationStatementResponse result = apiInstance.getAccountStatement(authorization, client, organizationAccountStatementRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#getAccountStatement");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
OrganizationApi *apiInstance = [[OrganizationApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
OrganizationAccountStatementRequest *organizationAccountStatementRequest = ; // 

// Выписка по счету
[apiInstance getAccountStatementWith:authorization
    client:client
    organizationAccountStatementRequest:organizationAccountStatementRequest
              completionHandler: ^(OrganizationStatementResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.OrganizationApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var organizationAccountStatementRequest = ; // {OrganizationAccountStatementRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAccountStatement(authorization, client, organizationAccountStatementRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getAccountStatementExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new OrganizationApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var organizationAccountStatementRequest = new OrganizationAccountStatementRequest(); // OrganizationAccountStatementRequest | 

            try {
                // Выписка по счету
                OrganizationStatementResponse result = apiInstance.getAccountStatement(authorization, client, organizationAccountStatementRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling OrganizationApi.getAccountStatement: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\OrganizationApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$organizationAccountStatementRequest = ; // OrganizationAccountStatementRequest | 

try {
    $result = $api_instance->getAccountStatement($authorization, $client, $organizationAccountStatementRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganizationApi->getAccountStatement: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::OrganizationApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::OrganizationApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $organizationAccountStatementRequest = WWW::OPenAPIClient::Object::OrganizationAccountStatementRequest->new(); # OrganizationAccountStatementRequest | 

eval {
    my $result = $api_instance->getAccountStatement(authorization => $authorization, client => $client, organizationAccountStatementRequest => $organizationAccountStatementRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrganizationApi->getAccountStatement: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.OrganizationApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
organizationAccountStatementRequest =  # OrganizationAccountStatementRequest | 

try:
    # Выписка по счету
    api_response = api_instance.get_account_statement(authorization, client, organizationAccountStatementRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrganizationApi->getAccountStatement: %s\n" % e)
extern crate OrganizationApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let organizationAccountStatementRequest = ; // OrganizationAccountStatementRequest

    let mut context = OrganizationApi::Context::default();
    let result = client.getAccountStatement(authorization, client, organizationAccountStatementRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
organizationAccountStatementRequest *

Ответы


getOrganizationInfo

Информация об организации


/buss-buss/1.0/api/organization

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/organization"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.OrganizationApi;

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

public class OrganizationApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            OrganizationAccountResponse result = apiInstance.getOrganizationInfo(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#getOrganizationInfo");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 

try {
    final result = await api_instance.getOrganizationInfo(authorization, client);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getOrganizationInfo: $e\n');
}

import org.openapitools.client.api.OrganizationApi;

public class OrganizationApiExample {
    public static void main(String[] args) {
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            OrganizationAccountResponse result = apiInstance.getOrganizationInfo(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#getOrganizationInfo");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
OrganizationApi *apiInstance = [[OrganizationApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)

// Информация об организации
[apiInstance getOrganizationInfoWith:authorization
    client:client
              completionHandler: ^(OrganizationAccountResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.OrganizationApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 

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

namespace Example
{
    public class getOrganizationInfoExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new OrganizationApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)

            try {
                // Информация об организации
                OrganizationAccountResponse result = apiInstance.getOrganizationInfo(authorization, client);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling OrganizationApi.getOrganizationInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\OrganizationApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 

try {
    $result = $api_instance->getOrganizationInfo($authorization, $client);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganizationApi->getOrganizationInfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::OrganizationApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::OrganizationApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 

eval {
    my $result = $api_instance->getOrganizationInfo(authorization => $authorization, client => $client);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrganizationApi->getOrganizationInfo: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.OrganizationApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)

try:
    # Информация об организации
    api_response = api_instance.get_organization_info(authorization, client)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrganizationApi->getOrganizationInfo: %s\n" % e)
extern crate OrganizationApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String

    let mut context = OrganizationApi::Context::default();
    let result = client.getOrganizationInfo(authorization, client, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required

Ответы


listAccountsByCurrency

Список счетов по валюте


/buss-buss/1.0/api/organization/accounts/by_code

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/organization/accounts/by_code?currency_code=currencyCode_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.OrganizationApi;

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

public class OrganizationApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String currencyCode = currencyCode_example; // String | 

        try {
            array[OrganizationAccount] result = apiInstance.listAccountsByCurrency(authorization, client, currencyCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#listAccountsByCurrency");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final String currencyCode = new String(); // String | 

try {
    final result = await api_instance.listAccountsByCurrency(authorization, client, currencyCode);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listAccountsByCurrency: $e\n');
}

import org.openapitools.client.api.OrganizationApi;

public class OrganizationApiExample {
    public static void main(String[] args) {
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        String currencyCode = currencyCode_example; // String | 

        try {
            array[OrganizationAccount] result = apiInstance.listAccountsByCurrency(authorization, client, currencyCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#listAccountsByCurrency");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
OrganizationApi *apiInstance = [[OrganizationApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
String *currencyCode = currencyCode_example; //  (default to null)

// Список счетов по валюте
[apiInstance listAccountsByCurrencyWith:authorization
    client:client
    currencyCode:currencyCode
              completionHandler: ^(array[OrganizationAccount] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.OrganizationApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var currencyCode = currencyCode_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listAccountsByCurrency(authorization, client, currencyCode, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class listAccountsByCurrencyExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new OrganizationApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var currencyCode = currencyCode_example;  // String |  (default to null)

            try {
                // Список счетов по валюте
                array[OrganizationAccount] result = apiInstance.listAccountsByCurrency(authorization, client, currencyCode);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling OrganizationApi.listAccountsByCurrency: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\OrganizationApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$currencyCode = currencyCode_example; // String | 

try {
    $result = $api_instance->listAccountsByCurrency($authorization, $client, $currencyCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganizationApi->listAccountsByCurrency: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::OrganizationApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::OrganizationApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $currencyCode = currencyCode_example; # String | 

eval {
    my $result = $api_instance->listAccountsByCurrency(authorization => $authorization, client => $client, currencyCode => $currencyCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrganizationApi->listAccountsByCurrency: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.OrganizationApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
currencyCode = currencyCode_example # String |  (default to null)

try:
    # Список счетов по валюте
    api_response = api_instance.list_accounts_by_currency(authorization, client, currencyCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrganizationApi->listAccountsByCurrency: %s\n" % e)
extern crate OrganizationApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let currencyCode = currencyCode_example; // String

    let mut context = OrganizationApi::Context::default();
    let result = client.listAccountsByCurrency(authorization, client, currencyCode, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры запроса
Название Описание
currency_code*
String
Required

Ответы


listOrganizationAccounts

Список счетов организации


/buss-buss/1.0/api/organization/accounts

Примеры использования и SDK

curl -X GET \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/organization/accounts"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.OrganizationApi;

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

public class OrganizationApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            array[OrganizationAccount] result = apiInstance.listOrganizationAccounts(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#listOrganizationAccounts");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 

try {
    final result = await api_instance.listOrganizationAccounts(authorization, client);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->listOrganizationAccounts: $e\n');
}

import org.openapitools.client.api.OrganizationApi;

public class OrganizationApiExample {
    public static void main(String[] args) {
        OrganizationApi apiInstance = new OrganizationApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 

        try {
            array[OrganizationAccount] result = apiInstance.listOrganizationAccounts(authorization, client);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationApi#listOrganizationAccounts");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
OrganizationApi *apiInstance = [[OrganizationApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)

// Список счетов организации
[apiInstance listOrganizationAccountsWith:authorization
    client:client
              completionHandler: ^(array[OrganizationAccount] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.OrganizationApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 

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

namespace Example
{
    public class listOrganizationAccountsExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new OrganizationApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)

            try {
                // Список счетов организации
                array[OrganizationAccount] result = apiInstance.listOrganizationAccounts(authorization, client);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling OrganizationApi.listOrganizationAccounts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\OrganizationApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 

try {
    $result = $api_instance->listOrganizationAccounts($authorization, $client);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganizationApi->listOrganizationAccounts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::OrganizationApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::OrganizationApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 

eval {
    my $result = $api_instance->listOrganizationAccounts(authorization => $authorization, client => $client);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrganizationApi->listOrganizationAccounts: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.OrganizationApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)

try:
    # Список счетов организации
    api_response = api_instance.list_organization_accounts(authorization, client)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrganizationApi->listOrganizationAccounts: %s\n" % e)
extern crate OrganizationApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String

    let mut context = OrganizationApi::Context::default();
    let result = client.listOrganizationAccounts(authorization, client, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required

Ответы


Payment

checkPaymentStatus

Статус платежа для UZS


/buss-buss/1.0/api/payment/status

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/payment/status" \
 -d '{
  "transaction_id" : "transaction_id"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PaymentApi;

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

public class PaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        PaymentApi apiInstance = new PaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PaymentCheckRequest paymentCheckRequest = ; // PaymentCheckRequest | 

        try {
            PaymentCheckResponse result = apiInstance.checkPaymentStatus(authorization, client, paymentCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentApi#checkPaymentStatus");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final PaymentCheckRequest paymentCheckRequest = new PaymentCheckRequest(); // PaymentCheckRequest | 

try {
    final result = await api_instance.checkPaymentStatus(authorization, client, paymentCheckRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->checkPaymentStatus: $e\n');
}

import org.openapitools.client.api.PaymentApi;

public class PaymentApiExample {
    public static void main(String[] args) {
        PaymentApi apiInstance = new PaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PaymentCheckRequest paymentCheckRequest = ; // PaymentCheckRequest | 

        try {
            PaymentCheckResponse result = apiInstance.checkPaymentStatus(authorization, client, paymentCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentApi#checkPaymentStatus");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
PaymentApi *apiInstance = [[PaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
PaymentCheckRequest *paymentCheckRequest = ; // 

// Статус платежа для UZS
[apiInstance checkPaymentStatusWith:authorization
    client:client
    paymentCheckRequest:paymentCheckRequest
              completionHandler: ^(PaymentCheckResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.PaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var paymentCheckRequest = ; // {PaymentCheckRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkPaymentStatus(authorization, client, paymentCheckRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class checkPaymentStatusExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new PaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var paymentCheckRequest = new PaymentCheckRequest(); // PaymentCheckRequest | 

            try {
                // Статус платежа для UZS
                PaymentCheckResponse result = apiInstance.checkPaymentStatus(authorization, client, paymentCheckRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling PaymentApi.checkPaymentStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$paymentCheckRequest = ; // PaymentCheckRequest | 

try {
    $result = $api_instance->checkPaymentStatus($authorization, $client, $paymentCheckRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentApi->checkPaymentStatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $paymentCheckRequest = WWW::OPenAPIClient::Object::PaymentCheckRequest->new(); # PaymentCheckRequest | 

eval {
    my $result = $api_instance->checkPaymentStatus(authorization => $authorization, client => $client, paymentCheckRequest => $paymentCheckRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentApi->checkPaymentStatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.PaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
paymentCheckRequest =  # PaymentCheckRequest | 

try:
    # Статус платежа для UZS
    api_response = api_instance.check_payment_status(authorization, client, paymentCheckRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentApi->checkPaymentStatus: %s\n" % e)
extern crate PaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let paymentCheckRequest = ; // PaymentCheckRequest

    let mut context = PaymentApi::Context::default();
    let result = client.checkPaymentStatus(authorization, client, paymentCheckRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
paymentCheckRequest *

Ответы


createPaymentUZS

Платеж в UZS


/buss-buss/1.0/api/payment/uzs

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/payment/uzs" \
 -d '{
  "transaction_id" : "transaction_id",
  "amount" : 0,
  "receiver" : {
    "mfo" : "mfo",
    "inn" : "inn",
    "name" : "name",
    "account" : "account"
  },
  "purpose" : "purpose",
  "mfo" : "mfo",
  "document" : {
    "number" : "number",
    "id" : "id"
  },
  "account" : "account"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PaymentApi;

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

public class PaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        PaymentApi apiInstance = new PaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PaymentUzsRequest paymentUzsRequest = ; // PaymentUzsRequest | 

        try {
            PaymentUzsResponse result = apiInstance.createPaymentUZS(authorization, client, paymentUzsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentApi#createPaymentUZS");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final PaymentUzsRequest paymentUzsRequest = new PaymentUzsRequest(); // PaymentUzsRequest | 

try {
    final result = await api_instance.createPaymentUZS(authorization, client, paymentUzsRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createPaymentUZS: $e\n');
}

import org.openapitools.client.api.PaymentApi;

public class PaymentApiExample {
    public static void main(String[] args) {
        PaymentApi apiInstance = new PaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PaymentUzsRequest paymentUzsRequest = ; // PaymentUzsRequest | 

        try {
            PaymentUzsResponse result = apiInstance.createPaymentUZS(authorization, client, paymentUzsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentApi#createPaymentUZS");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
PaymentApi *apiInstance = [[PaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
PaymentUzsRequest *paymentUzsRequest = ; // 

// Платеж в UZS
[apiInstance createPaymentUZSWith:authorization
    client:client
    paymentUzsRequest:paymentUzsRequest
              completionHandler: ^(PaymentUzsResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.PaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var paymentUzsRequest = ; // {PaymentUzsRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createPaymentUZS(authorization, client, paymentUzsRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createPaymentUZSExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new PaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var paymentUzsRequest = new PaymentUzsRequest(); // PaymentUzsRequest | 

            try {
                // Платеж в UZS
                PaymentUzsResponse result = apiInstance.createPaymentUZS(authorization, client, paymentUzsRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling PaymentApi.createPaymentUZS: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$paymentUzsRequest = ; // PaymentUzsRequest | 

try {
    $result = $api_instance->createPaymentUZS($authorization, $client, $paymentUzsRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentApi->createPaymentUZS: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $paymentUzsRequest = WWW::OPenAPIClient::Object::PaymentUzsRequest->new(); # PaymentUzsRequest | 

eval {
    my $result = $api_instance->createPaymentUZS(authorization => $authorization, client => $client, paymentUzsRequest => $paymentUzsRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentApi->createPaymentUZS: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.PaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
paymentUzsRequest =  # PaymentUzsRequest | 

try:
    # Платеж в UZS
    api_response = api_instance.create_payment_uzs(authorization, client, paymentUzsRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentApi->createPaymentUZS: %s\n" % e)
extern crate PaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let paymentUzsRequest = ; // PaymentUzsRequest

    let mut context = PaymentApi::Context::default();
    let result = client.createPaymentUZS(authorization, client, paymentUzsRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
paymentUzsRequest *

Ответы


createPaymentUZSPINFL

Платеж в UZS по PINFL


/buss-buss/1.0/api/payment/uzs/pinfl

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/payment/uzs/pinfl" \
 -d '{
  "transaction_id" : "transaction_id",
  "amount" : 0,
  "receiver" : {
    "mfo" : "mfo",
    "inn" : "inn",
    "name" : "name",
    "account" : "account"
  },
  "purpose" : "purpose",
  "mfo" : "mfo",
  "document" : {
    "number" : "number",
    "id" : "id"
  },
  "account" : "account"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PaymentApi;

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

public class PaymentApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        PaymentApi apiInstance = new PaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PaymentUzsPinflRequest paymentUzsPinflRequest = ; // PaymentUzsPinflRequest | 

        try {
            PaymentUzsResponse result = apiInstance.createPaymentUZSPINFL(authorization, client, paymentUzsPinflRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentApi#createPaymentUZSPINFL");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final PaymentUzsPinflRequest paymentUzsPinflRequest = new PaymentUzsPinflRequest(); // PaymentUzsPinflRequest | 

try {
    final result = await api_instance.createPaymentUZSPINFL(authorization, client, paymentUzsPinflRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createPaymentUZSPINFL: $e\n');
}

import org.openapitools.client.api.PaymentApi;

public class PaymentApiExample {
    public static void main(String[] args) {
        PaymentApi apiInstance = new PaymentApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PaymentUzsPinflRequest paymentUzsPinflRequest = ; // PaymentUzsPinflRequest | 

        try {
            PaymentUzsResponse result = apiInstance.createPaymentUZSPINFL(authorization, client, paymentUzsPinflRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentApi#createPaymentUZSPINFL");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
PaymentApi *apiInstance = [[PaymentApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
PaymentUzsPinflRequest *paymentUzsPinflRequest = ; // 

// Платеж в UZS по PINFL
[apiInstance createPaymentUZSPINFLWith:authorization
    client:client
    paymentUzsPinflRequest:paymentUzsPinflRequest
              completionHandler: ^(PaymentUzsResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.PaymentApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var paymentUzsPinflRequest = ; // {PaymentUzsPinflRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createPaymentUZSPINFL(authorization, client, paymentUzsPinflRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createPaymentUZSPINFLExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new PaymentApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var paymentUzsPinflRequest = new PaymentUzsPinflRequest(); // PaymentUzsPinflRequest | 

            try {
                // Платеж в UZS по PINFL
                PaymentUzsResponse result = apiInstance.createPaymentUZSPINFL(authorization, client, paymentUzsPinflRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling PaymentApi.createPaymentUZSPINFL: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PaymentApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$paymentUzsPinflRequest = ; // PaymentUzsPinflRequest | 

try {
    $result = $api_instance->createPaymentUZSPINFL($authorization, $client, $paymentUzsPinflRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PaymentApi->createPaymentUZSPINFL: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PaymentApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PaymentApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $paymentUzsPinflRequest = WWW::OPenAPIClient::Object::PaymentUzsPinflRequest->new(); # PaymentUzsPinflRequest | 

eval {
    my $result = $api_instance->createPaymentUZSPINFL(authorization => $authorization, client => $client, paymentUzsPinflRequest => $paymentUzsPinflRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentApi->createPaymentUZSPINFL: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.PaymentApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
paymentUzsPinflRequest =  # PaymentUzsPinflRequest | 

try:
    # Платеж в UZS по PINFL
    api_response = api_instance.create_payment_uzspinfl(authorization, client, paymentUzsPinflRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentApi->createPaymentUZSPINFL: %s\n" % e)
extern crate PaymentApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let paymentUzsPinflRequest = ; // PaymentUzsPinflRequest

    let mut context = PaymentApi::Context::default();
    let result = client.createPaymentUZSPINFL(authorization, client, paymentUzsPinflRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
paymentUzsPinflRequest *

Ответы


Payroll

checkPayrollStatus


/buss-buss/1.0/api/payroll/status

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/payroll/status" \
 -d '{
  "id" : 0,
  "type" : 6
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PayrollApi;

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

public class PayrollApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        PayrollApi apiInstance = new PayrollApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PayrollCheckRequest payrollCheckRequest = ; // PayrollCheckRequest | 

        try {
            PayrollCheckResponse result = apiInstance.checkPayrollStatus(authorization, client, payrollCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PayrollApi#checkPayrollStatus");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final PayrollCheckRequest payrollCheckRequest = new PayrollCheckRequest(); // PayrollCheckRequest | 

try {
    final result = await api_instance.checkPayrollStatus(authorization, client, payrollCheckRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->checkPayrollStatus: $e\n');
}

import org.openapitools.client.api.PayrollApi;

public class PayrollApiExample {
    public static void main(String[] args) {
        PayrollApi apiInstance = new PayrollApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PayrollCheckRequest payrollCheckRequest = ; // PayrollCheckRequest | 

        try {
            PayrollCheckResponse result = apiInstance.checkPayrollStatus(authorization, client, payrollCheckRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PayrollApi#checkPayrollStatus");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
PayrollApi *apiInstance = [[PayrollApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
PayrollCheckRequest *payrollCheckRequest = ; // 

[apiInstance checkPayrollStatusWith:authorization
    client:client
    payrollCheckRequest:payrollCheckRequest
              completionHandler: ^(PayrollCheckResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.PayrollApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var payrollCheckRequest = ; // {PayrollCheckRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkPayrollStatus(authorization, client, payrollCheckRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class checkPayrollStatusExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new PayrollApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var payrollCheckRequest = new PayrollCheckRequest(); // PayrollCheckRequest | 

            try {
                PayrollCheckResponse result = apiInstance.checkPayrollStatus(authorization, client, payrollCheckRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling PayrollApi.checkPayrollStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PayrollApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$payrollCheckRequest = ; // PayrollCheckRequest | 

try {
    $result = $api_instance->checkPayrollStatus($authorization, $client, $payrollCheckRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PayrollApi->checkPayrollStatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PayrollApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PayrollApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $payrollCheckRequest = WWW::OPenAPIClient::Object::PayrollCheckRequest->new(); # PayrollCheckRequest | 

eval {
    my $result = $api_instance->checkPayrollStatus(authorization => $authorization, client => $client, payrollCheckRequest => $payrollCheckRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PayrollApi->checkPayrollStatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.PayrollApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
payrollCheckRequest =  # PayrollCheckRequest | 

try:
    api_response = api_instance.check_payroll_status(authorization, client, payrollCheckRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PayrollApi->checkPayrollStatus: %s\n" % e)
extern crate PayrollApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let payrollCheckRequest = ; // PayrollCheckRequest

    let mut context = PayrollApi::Context::default();
    let result = client.checkPayrollStatus(authorization, client, payrollCheckRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
payrollCheckRequest *

Ответы


createPayroll


/buss-buss/1.0/api/payroll

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/payroll" \
 -d '{
  "mfo" : "mfo",
  "id" : 0,
  "type" : 6,
  "employees" : [ {
    "pinfl" : "pinfl",
    "amount" : 1,
    "name" : "name",
    "account" : "account"
  }, {
    "pinfl" : "pinfl",
    "amount" : 1,
    "name" : "name",
    "account" : "account"
  } ],
  "account" : "account"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PayrollApi;

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

public class PayrollApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        PayrollApi apiInstance = new PayrollApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PayRollWithoutRequest payRollWithoutRequest = ; // PayRollWithoutRequest | 

        try {
            PayRollWithoutResponse result = apiInstance.createPayroll(authorization, client, payRollWithoutRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PayrollApi#createPayroll");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final PayRollWithoutRequest payRollWithoutRequest = new PayRollWithoutRequest(); // PayRollWithoutRequest | 

try {
    final result = await api_instance.createPayroll(authorization, client, payRollWithoutRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createPayroll: $e\n');
}

import org.openapitools.client.api.PayrollApi;

public class PayrollApiExample {
    public static void main(String[] args) {
        PayrollApi apiInstance = new PayrollApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PayRollWithoutRequest payRollWithoutRequest = ; // PayRollWithoutRequest | 

        try {
            PayRollWithoutResponse result = apiInstance.createPayroll(authorization, client, payRollWithoutRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PayrollApi#createPayroll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
PayrollApi *apiInstance = [[PayrollApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
PayRollWithoutRequest *payRollWithoutRequest = ; // 

[apiInstance createPayrollWith:authorization
    client:client
    payRollWithoutRequest:payRollWithoutRequest
              completionHandler: ^(PayRollWithoutResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.PayrollApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var payRollWithoutRequest = ; // {PayRollWithoutRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createPayroll(authorization, client, payRollWithoutRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createPayrollExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new PayrollApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var payRollWithoutRequest = new PayRollWithoutRequest(); // PayRollWithoutRequest | 

            try {
                PayRollWithoutResponse result = apiInstance.createPayroll(authorization, client, payRollWithoutRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling PayrollApi.createPayroll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PayrollApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$payRollWithoutRequest = ; // PayRollWithoutRequest | 

try {
    $result = $api_instance->createPayroll($authorization, $client, $payRollWithoutRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PayrollApi->createPayroll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PayrollApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PayrollApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $payRollWithoutRequest = WWW::OPenAPIClient::Object::PayRollWithoutRequest->new(); # PayRollWithoutRequest | 

eval {
    my $result = $api_instance->createPayroll(authorization => $authorization, client => $client, payRollWithoutRequest => $payRollWithoutRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PayrollApi->createPayroll: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.PayrollApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
payRollWithoutRequest =  # PayRollWithoutRequest | 

try:
    api_response = api_instance.create_payroll(authorization, client, payRollWithoutRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PayrollApi->createPayroll: %s\n" % e)
extern crate PayrollApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let payRollWithoutRequest = ; // PayRollWithoutRequest

    let mut context = PayrollApi::Context::default();
    let result = client.createPayroll(authorization, client, payRollWithoutRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
payRollWithoutRequest *

Ответы


createPayrollWithDetails


/buss-buss/1.0/api/payroll/with

Примеры использования и SDK

curl -X POST \
 -H "Authorization: Bearer [[accessToken]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8243/buss-buss/1.0/api/payroll/with" \
 -d '{
  "date" : "date",
  "purpose" : "purpose",
  "file_name" : "file_name",
  "payment_id" : "payment_id",
  "id" : 0,
  "org_account" : "org_account",
  "type" : 6,
  "project_name" : "project_name",
  "employees" : [ {
    "pinfl" : "pinfl",
    "amount" : 1,
    "name" : "name",
    "account" : "account"
  }, {
    "pinfl" : "pinfl",
    "amount" : 1,
    "name" : "name",
    "account" : "account"
  } ],
  "account" : "account",
  "payment_date" : "payment_date"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PayrollApi;

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

public class PayrollApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
        HttpBearerAuth Bearer_Authentication = (HttpBearerAuth) defaultClient.getAuthentication("Bearer_Authentication");
        Bearer_Authentication.setBearerToken("BEARER TOKEN");

        // Create an instance of the API class
        PayrollApi apiInstance = new PayrollApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PayRollWithRequest payRollWithRequest = ; // PayRollWithRequest | 

        try {
            PayRollWithResponse result = apiInstance.createPayrollWithDetails(authorization, client, payRollWithRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PayrollApi#createPayrollWithDetails");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String authorization = new String(); // String | 
final String client = new String(); // String | 
final PayRollWithRequest payRollWithRequest = new PayRollWithRequest(); // PayRollWithRequest | 

try {
    final result = await api_instance.createPayrollWithDetails(authorization, client, payRollWithRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createPayrollWithDetails: $e\n');
}

import org.openapitools.client.api.PayrollApi;

public class PayrollApiExample {
    public static void main(String[] args) {
        PayrollApi apiInstance = new PayrollApi();
        String authorization = authorization_example; // String | 
        String client = client_example; // String | 
        PayRollWithRequest payRollWithRequest = ; // PayRollWithRequest | 

        try {
            PayRollWithResponse result = apiInstance.createPayrollWithDetails(authorization, client, payRollWithRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PayrollApi#createPayrollWithDetails");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Create an instance of the API class
PayrollApi *apiInstance = [[PayrollApi alloc] init];
String *authorization = authorization_example; //  (default to null)
String *client = client_example; //  (default to null)
PayRollWithRequest *payRollWithRequest = ; // 

[apiInstance createPayrollWithDetailsWith:authorization
    client:client
    payRollWithRequest:payRollWithRequest
              completionHandler: ^(PayRollWithResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var Api = require('api_____');
var defaultClient = Api.ApiClient.instance;

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
var Bearer_Authentication = defaultClient.authentications['Bearer_Authentication'];
Bearer_Authentication.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new Api.PayrollApi()
var authorization = authorization_example; // {String} 
var client = client_example; // {String} 
var payRollWithRequest = ; // {PayRollWithRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createPayrollWithDetails(authorization, client, payRollWithRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createPayrollWithDetailsExample
    {
        public void main()
        {
            // Configure Bearer (JWT) access token for authorization: Bearer_Authentication
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new PayrollApi();
            var authorization = authorization_example;  // String |  (default to null)
            var client = client_example;  // String |  (default to null)
            var payRollWithRequest = new PayRollWithRequest(); // PayRollWithRequest | 

            try {
                PayRollWithResponse result = apiInstance.createPayrollWithDetails(authorization, client, payRollWithRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling PayrollApi.createPayrollWithDetails: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure Bearer (JWT) access token for authorization: Bearer_Authentication
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('', 'YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PayrollApi();
$authorization = authorization_example; // String | 
$client = client_example; // String | 
$payRollWithRequest = ; // PayRollWithRequest | 

try {
    $result = $api_instance->createPayrollWithDetails($authorization, $client, $payRollWithRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PayrollApi->createPayrollWithDetails: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PayrollApi;

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PayrollApi->new();
my $authorization = authorization_example; # String | 
my $client = client_example; # String | 
my $payRollWithRequest = WWW::OPenAPIClient::Object::PayRollWithRequest->new(); # PayRollWithRequest | 

eval {
    my $result = $api_instance->createPayrollWithDetails(authorization => $authorization, client => $client, payRollWithRequest => $payRollWithRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PayrollApi->createPayrollWithDetails: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure Bearer (JWT) access token for authorization: Bearer_Authentication
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.PayrollApi()
authorization = authorization_example # String |  (default to null)
client = client_example # String |  (default to null)
payRollWithRequest =  # PayRollWithRequest | 

try:
    api_response = api_instance.create_payroll_with_details(authorization, client, payRollWithRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PayrollApi->createPayrollWithDetails: %s\n" % e)
extern crate PayrollApi;

pub fn main() {
    let authorization = authorization_example; // String
    let client = client_example; // String
    let payRollWithRequest = ; // PayRollWithRequest

    let mut context = PayrollApi::Context::default();
    let result = client.createPayrollWithDetails(authorization, client, payRollWithRequest, &context).wait();

    println!("{:?}", result);
}

Области доступа

Параметры

Параметры заголовка
Название Описание
Authorization*
String
Required
Client*
String
Required
Параметры тела запроса
Название Описание
payRollWithRequest *

Ответы