Polish API

AIS

deleteConsent

Removes consent

Removes consent


/v1.0/accounts/v1.0/deleteConsent

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/deleteConsent"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        
        AISApi apiInstance = new AISApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        DeleteConsentRequest deleteConsentRequest = ; // DeleteConsentRequest | Data for delete Consent Request
        try {
            apiInstance.deleteConsent(acceptEncoding, acceptLanguage, acceptCharset, deleteConsentRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#deleteConsent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        DeleteConsentRequest deleteConsentRequest = ; // DeleteConsentRequest | Data for delete Consent Request
        try {
            apiInstance.deleteConsent(acceptEncoding, acceptLanguage, acceptCharset, deleteConsentRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#deleteConsent");
            e.printStackTrace();
        }
    }
}
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
DeleteConsentRequest *deleteConsentRequest = ; // Data for delete Consent Request

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

// Removes consent
[apiInstance deleteConsentWith:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    deleteConsentRequest:deleteConsentRequest
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');

var api = new PolishApi.AISApi()

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var deleteConsentRequest = ; // {DeleteConsentRequest} Data for delete Consent Request


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

namespace Example
{
    public class deleteConsentExample
    {
        public void main()
        {
            
            var apiInstance = new AISApi();
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var deleteConsentRequest = new DeleteConsentRequest(); // DeleteConsentRequest | Data for delete Consent Request

            try
            {
                // Removes consent
                apiInstance.deleteConsent(acceptEncoding, acceptLanguage, acceptCharset, deleteConsentRequest);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.deleteConsent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AISApi();
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$deleteConsentRequest = ; // DeleteConsentRequest | Data for delete Consent Request

try {
    $api_instance->deleteConsent($acceptEncoding, $acceptLanguage, $acceptCharset, $deleteConsentRequest);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->deleteConsent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $deleteConsentRequest = WWW::SwaggerClient::Object::DeleteConsentRequest->new(); # DeleteConsentRequest | Data for delete Consent Request

eval { 
    $api_instance->deleteConsent(acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, deleteConsentRequest => $deleteConsentRequest);
};
if ($@) {
    warn "Exception when calling AISApi->deleteConsent: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AISApi()
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
deleteConsentRequest =  # DeleteConsentRequest | Data for delete Consent Request

try: 
    # Removes consent
    api_instance.delete_consent(acceptEncoding, acceptLanguage, acceptCharset, deleteConsentRequest)
except ApiException as e:
    print("Exception when calling AISApi->deleteConsent: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
Body parameters
Name Description
deleteConsentRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate

Status: 400 - Bad request

Status: 422 - Unprocessable entity

Status: 500 - An unexpected error occured


getAccount

Get detailed information about user payment account

User identification based on access token


/v1.0/accounts/v1.0/getAccount

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getAccount"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        AccountInfoRequest getAccountRequest = ; // AccountInfoRequest | Data for Account Request
        try {
            AccountResponse result = apiInstance.getAccount(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getAccount");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        AccountInfoRequest getAccountRequest = ; // AccountInfoRequest | Data for Account Request
        try {
            AccountResponse result = apiInstance.getAccount(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getAccount");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
AccountInfoRequest *getAccountRequest = ; // Data for Account Request

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

// Get detailed information about user payment account
[apiInstance getAccountWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getAccountRequest:getAccountRequest
              completionHandler: ^(AccountResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getAccountRequest = ; // {AccountInfoRequest} Data for Account Request


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

namespace Example
{
    public class getAccountExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getAccountRequest = new AccountInfoRequest(); // AccountInfoRequest | Data for Account Request

            try
            {
                // Get detailed information about user payment account
                AccountResponse result = apiInstance.getAccount(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getAccount: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getAccountRequest = ; // AccountInfoRequest | Data for Account Request

try {
    $result = $api_instance->getAccount($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getAccountRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getAccount: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getAccountRequest = WWW::SwaggerClient::Object::AccountInfoRequest->new(); # AccountInfoRequest | Data for Account Request

eval { 
    my $result = $api_instance->getAccount(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getAccountRequest => $getAccountRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getAccount: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getAccountRequest =  # AccountInfoRequest | Data for Account Request

try: 
    # Get detailed information about user payment account
    api_response = api_instance.get_account(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getAccount: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getAccountRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getAccounts

Get information about all user's payment account

User identification based on access token


/v1.0/accounts/v1.0/getAccounts

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getAccounts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        AccountsRequest getAccountsRequest = ; // AccountsRequest | Data for Accounts Request
        try {
            AccountsResponse result = apiInstance.getAccounts(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getAccounts");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        AccountsRequest getAccountsRequest = ; // AccountsRequest | Data for Accounts Request
        try {
            AccountsResponse result = apiInstance.getAccounts(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getAccounts");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
AccountsRequest *getAccountsRequest = ; // Data for Accounts Request

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

// Get information about all user's payment account
[apiInstance getAccountsWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getAccountsRequest:getAccountsRequest
              completionHandler: ^(AccountsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getAccountsRequest = ; // {AccountsRequest} Data for Accounts Request


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

namespace Example
{
    public class getAccountsExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getAccountsRequest = new AccountsRequest(); // AccountsRequest | Data for Accounts Request

            try
            {
                // Get information about all user's payment account
                AccountsResponse result = apiInstance.getAccounts(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountsRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getAccounts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getAccountsRequest = ; // AccountsRequest | Data for Accounts Request

try {
    $result = $api_instance->getAccounts($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getAccountsRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getAccounts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getAccountsRequest = WWW::SwaggerClient::Object::AccountsRequest->new(); # AccountsRequest | Data for Accounts Request

eval { 
    my $result = $api_instance->getAccounts(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getAccountsRequest => $getAccountsRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getAccounts: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getAccountsRequest =  # AccountsRequest | Data for Accounts Request

try: 
    # Get information about all user's payment account
    api_response = api_instance.get_accounts(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getAccountsRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getAccounts: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getAccountsRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getHolds

Get list of user's holded operations


/v1.0/accounts/v1.0/getHolds

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getHolds"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionHoldRequest getHoldsRequest = ; // TransactionHoldRequest | Data for hold Request
        try {
            TransactionHoldInfoResponse result = apiInstance.getHolds(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getHoldsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getHolds");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionHoldRequest getHoldsRequest = ; // TransactionHoldRequest | Data for hold Request
        try {
            TransactionHoldInfoResponse result = apiInstance.getHolds(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getHoldsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getHolds");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
TransactionHoldRequest *getHoldsRequest = ; // Data for hold Request

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

// Get list of user's holded operations
[apiInstance getHoldsWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getHoldsRequest:getHoldsRequest
              completionHandler: ^(TransactionHoldInfoResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getHoldsRequest = ; // {TransactionHoldRequest} Data for hold Request


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

namespace Example
{
    public class getHoldsExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getHoldsRequest = new TransactionHoldRequest(); // TransactionHoldRequest | Data for hold Request

            try
            {
                // Get list of user's holded operations
                TransactionHoldInfoResponse result = apiInstance.getHolds(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getHoldsRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getHolds: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getHoldsRequest = ; // TransactionHoldRequest | Data for hold Request

try {
    $result = $api_instance->getHolds($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getHoldsRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getHolds: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getHoldsRequest = WWW::SwaggerClient::Object::TransactionHoldRequest->new(); # TransactionHoldRequest | Data for hold Request

eval { 
    my $result = $api_instance->getHolds(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getHoldsRequest => $getHoldsRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getHolds: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getHoldsRequest =  # TransactionHoldRequest | Data for hold Request

try: 
    # Get list of user's holded operations
    api_response = api_instance.get_holds(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getHoldsRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getHolds: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getHoldsRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getTransactionDetail

Get detailed information about user's single transaction


/v1.0/accounts/v1.0/getTransactionDetail

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getTransactionDetail"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionDetailRequest getTransationDetailRequest = ; // TransactionDetailRequest | Data for transation detail Request
        try {
            TransactionDetailResponse result = apiInstance.getTransactionDetail(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransationDetailRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionDetail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionDetailRequest getTransationDetailRequest = ; // TransactionDetailRequest | Data for transation detail Request
        try {
            TransactionDetailResponse result = apiInstance.getTransactionDetail(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransationDetailRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionDetail");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
TransactionDetailRequest *getTransationDetailRequest = ; // Data for transation detail Request

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

// Get detailed information about user's single transaction
[apiInstance getTransactionDetailWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getTransationDetailRequest:getTransationDetailRequest
              completionHandler: ^(TransactionDetailResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getTransationDetailRequest = ; // {TransactionDetailRequest} Data for transation detail Request


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

namespace Example
{
    public class getTransactionDetailExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getTransationDetailRequest = new TransactionDetailRequest(); // TransactionDetailRequest | Data for transation detail Request

            try
            {
                // Get detailed information about user's single transaction
                TransactionDetailResponse result = apiInstance.getTransactionDetail(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransationDetailRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getTransactionDetail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getTransationDetailRequest = ; // TransactionDetailRequest | Data for transation detail Request

try {
    $result = $api_instance->getTransactionDetail($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getTransationDetailRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getTransactionDetail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getTransationDetailRequest = WWW::SwaggerClient::Object::TransactionDetailRequest->new(); # TransactionDetailRequest | Data for transation detail Request

eval { 
    my $result = $api_instance->getTransactionDetail(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getTransationDetailRequest => $getTransationDetailRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getTransactionDetail: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getTransationDetailRequest =  # TransactionDetailRequest | Data for transation detail Request

try: 
    # Get detailed information about user's single transaction
    api_response = api_instance.get_transaction_detail(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransationDetailRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getTransactionDetail: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getTransationDetailRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getTransactionsDone

Get list of user done transactions


/v1.0/accounts/v1.0/getTransactionsDone

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getTransactionsDone"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionInfoRequest getTransactionsDoneRequest = ; // TransactionInfoRequest | Data for Transactions Done Request
        try {
            TransactionsDoneInfoResponse result = apiInstance.getTransactionsDone(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsDoneRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsDone");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionInfoRequest getTransactionsDoneRequest = ; // TransactionInfoRequest | Data for Transactions Done Request
        try {
            TransactionsDoneInfoResponse result = apiInstance.getTransactionsDone(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsDoneRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsDone");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
TransactionInfoRequest *getTransactionsDoneRequest = ; // Data for Transactions Done Request

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

// Get list of user done transactions
[apiInstance getTransactionsDoneWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getTransactionsDoneRequest:getTransactionsDoneRequest
              completionHandler: ^(TransactionsDoneInfoResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getTransactionsDoneRequest = ; // {TransactionInfoRequest} Data for Transactions Done Request


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

namespace Example
{
    public class getTransactionsDoneExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getTransactionsDoneRequest = new TransactionInfoRequest(); // TransactionInfoRequest | Data for Transactions Done Request

            try
            {
                // Get list of user done transactions
                TransactionsDoneInfoResponse result = apiInstance.getTransactionsDone(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsDoneRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getTransactionsDone: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getTransactionsDoneRequest = ; // TransactionInfoRequest | Data for Transactions Done Request

try {
    $result = $api_instance->getTransactionsDone($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getTransactionsDoneRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getTransactionsDone: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getTransactionsDoneRequest = WWW::SwaggerClient::Object::TransactionInfoRequest->new(); # TransactionInfoRequest | Data for Transactions Done Request

eval { 
    my $result = $api_instance->getTransactionsDone(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getTransactionsDoneRequest => $getTransactionsDoneRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getTransactionsDone: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getTransactionsDoneRequest =  # TransactionInfoRequest | Data for Transactions Done Request

try: 
    # Get list of user done transactions
    api_response = api_instance.get_transactions_done(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsDoneRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getTransactionsDone: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getTransactionsDoneRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getTransactionsPending

Get list of user's pending transactions


/v1.0/accounts/v1.0/getTransactionsPending

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getTransactionsPending"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionInfoRequest getTransactionsPendingRequest = ; // TransactionInfoRequest | Data for Transactions Pending Request
        try {
            TransactionPendingInfoResponse result = apiInstance.getTransactionsPending(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsPendingRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsPending");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionInfoRequest getTransactionsPendingRequest = ; // TransactionInfoRequest | Data for Transactions Pending Request
        try {
            TransactionPendingInfoResponse result = apiInstance.getTransactionsPending(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsPendingRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsPending");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
TransactionInfoRequest *getTransactionsPendingRequest = ; // Data for Transactions Pending Request

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

// Get list of user's pending transactions
[apiInstance getTransactionsPendingWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getTransactionsPendingRequest:getTransactionsPendingRequest
              completionHandler: ^(TransactionPendingInfoResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getTransactionsPendingRequest = ; // {TransactionInfoRequest} Data for Transactions Pending Request


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

namespace Example
{
    public class getTransactionsPendingExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getTransactionsPendingRequest = new TransactionInfoRequest(); // TransactionInfoRequest | Data for Transactions Pending Request

            try
            {
                // Get list of user's pending transactions
                TransactionPendingInfoResponse result = apiInstance.getTransactionsPending(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsPendingRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getTransactionsPending: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getTransactionsPendingRequest = ; // TransactionInfoRequest | Data for Transactions Pending Request

try {
    $result = $api_instance->getTransactionsPending($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getTransactionsPendingRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getTransactionsPending: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getTransactionsPendingRequest = WWW::SwaggerClient::Object::TransactionInfoRequest->new(); # TransactionInfoRequest | Data for Transactions Pending Request

eval { 
    my $result = $api_instance->getTransactionsPending(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getTransactionsPendingRequest => $getTransactionsPendingRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getTransactionsPending: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getTransactionsPendingRequest =  # TransactionInfoRequest | Data for Transactions Pending Request

try: 
    # Get list of user's pending transactions
    api_response = api_instance.get_transactions_pending(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsPendingRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getTransactionsPending: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getTransactionsPendingRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getTransactionsRejected

Get list of user's rejected transactions


/v1.0/accounts/v1.0/getTransactionsRejected

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/accounts/v1.0/getTransactionsRejected"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AISApi;

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

public class AISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionInfoRequest getTransactionsRejectedRequest = ; // TransactionInfoRequest | Data for Transactions Rejected Request
        try {
            TransactionRejectedInfoResponse result = apiInstance.getTransactionsRejected(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsRejectedRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsRejected");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TransactionInfoRequest getTransactionsRejectedRequest = ; // TransactionInfoRequest | Data for Transactions Rejected Request
        try {
            TransactionRejectedInfoResponse result = apiInstance.getTransactionsRejected(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsRejectedRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsRejected");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
TransactionInfoRequest *getTransactionsRejectedRequest = ; // Data for Transactions Rejected Request

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

// Get list of user's rejected transactions
[apiInstance getTransactionsRejectedWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getTransactionsRejectedRequest:getTransactionsRejectedRequest
              completionHandler: ^(TransactionRejectedInfoResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.AISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var getTransactionsRejectedRequest = ; // {TransactionInfoRequest} Data for Transactions Rejected Request


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

namespace Example
{
    public class getTransactionsRejectedExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var getTransactionsRejectedRequest = new TransactionInfoRequest(); // TransactionInfoRequest | Data for Transactions Rejected Request

            try
            {
                // Get list of user's rejected transactions
                TransactionRejectedInfoResponse result = apiInstance.getTransactionsRejected(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsRejectedRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.getTransactionsRejected: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\AISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$getTransactionsRejectedRequest = ; // TransactionInfoRequest | Data for Transactions Rejected Request

try {
    $result = $api_instance->getTransactionsRejected($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $getTransactionsRejectedRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AISApi->getTransactionsRejected: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $getTransactionsRejectedRequest = WWW::SwaggerClient::Object::TransactionInfoRequest->new(); # TransactionInfoRequest | Data for Transactions Rejected Request

eval { 
    my $result = $api_instance->getTransactionsRejected(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getTransactionsRejectedRequest => $getTransactionsRejectedRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getTransactionsRejected: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.AISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
getTransactionsRejectedRequest =  # TransactionInfoRequest | Data for Transactions Rejected Request

try: 
    # Get list of user's rejected transactions
    api_response = api_instance.get_transactions_rejected(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsRejectedRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getTransactionsRejected: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
getTransactionsRejectedRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


AS

authorize

Requests OAuth2 authorization code

Requests OAuth2 authorization code


/v1.0/auth/v1.0/authorize

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/auth/v1.0/authorize"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ASApi;

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

public class ASApiExample {

    public static void main(String[] args) {
        
        ASApi apiInstance = new ASApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        AuthorizeRequest authorizeRequest = ; // AuthorizeRequest | Data for OAuth2 Authorization Code Request
        try {
            apiInstance.authorize(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizeRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#authorize");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ASApi;

public class ASApiExample {

    public static void main(String[] args) {
        ASApi apiInstance = new ASApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        AuthorizeRequest authorizeRequest = ; // AuthorizeRequest | Data for OAuth2 Authorization Code Request
        try {
            apiInstance.authorize(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizeRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#authorize");
            e.printStackTrace();
        }
    }
}
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
AuthorizeRequest *authorizeRequest = ; // Data for OAuth2 Authorization Code Request

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

// Requests OAuth2 authorization code
[apiInstance authorizeWith:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    authorizeRequest:authorizeRequest
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');

var api = new PolishApi.ASApi()

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var authorizeRequest = ; // {AuthorizeRequest} Data for OAuth2 Authorization Code Request


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

namespace Example
{
    public class authorizeExample
    {
        public void main()
        {
            
            var apiInstance = new ASApi();
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var authorizeRequest = new AuthorizeRequest(); // AuthorizeRequest | Data for OAuth2 Authorization Code Request

            try
            {
                // Requests OAuth2 authorization code
                apiInstance.authorize(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizeRequest);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ASApi.authorize: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ASApi();
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$authorizeRequest = ; // AuthorizeRequest | Data for OAuth2 Authorization Code Request

try {
    $api_instance->authorize($acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $authorizeRequest);
} catch (Exception $e) {
    echo 'Exception when calling ASApi->authorize: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ASApi;

my $api_instance = WWW::SwaggerClient::ASApi->new();
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $authorizeRequest = WWW::SwaggerClient::Object::AuthorizeRequest->new(); # AuthorizeRequest | Data for OAuth2 Authorization Code Request

eval { 
    $api_instance->authorize(acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, authorizeRequest => $authorizeRequest);
};
if ($@) {
    warn "Exception when calling ASApi->authorize: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ASApi()
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
authorizeRequest =  # AuthorizeRequest | Data for OAuth2 Authorization Code Request

try: 
    # Requests OAuth2 authorization code
    api_instance.authorize(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizeRequest)
except ApiException as e:
    print("Exception when calling ASApi->authorize: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
authorizeRequest *

Responses

Status: 302 - Redirection

Name Type Format Description
Content-Encoding String Gzip, deflate
Location String URI reference for redirection

Status: 400 - Bad request

Status: 422 - Unprocessable entity

Status: 500 - An unexpected error occured


authorizeExt

Requests OAuth2 authorization code based on One-time authorization code issued by External Authorization Tool

Requests OAuth2 authorization code based One-time authorization code issued by External Authorization Tool. Authorization code will be delivered to TPP as callback request from ASPSP if PSU authentication is confirmed by EAT. Callback function must provide similar notification also in case of unsuccessful authentication or its abandonment.


/v1.0/auth/v1.0/authorizeExt

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/auth/v1.0/authorizeExt"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ASApi;

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

public class ASApiExample {

    public static void main(String[] args) {
        
        ASApi apiInstance = new ASApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        EatCodeRequest eatCodeRequest = ; // EatCodeRequest | Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response
        try {
            apiInstance.authorizeExt(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eatCodeRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#authorizeExt");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ASApi;

public class ASApiExample {

    public static void main(String[] args) {
        ASApi apiInstance = new ASApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        EatCodeRequest eatCodeRequest = ; // EatCodeRequest | Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response
        try {
            apiInstance.authorizeExt(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eatCodeRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#authorizeExt");
            e.printStackTrace();
        }
    }
}
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
EatCodeRequest *eatCodeRequest = ; // Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response

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

// Requests OAuth2 authorization code based on One-time authorization code issued by External Authorization Tool
[apiInstance authorizeExtWith:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    eatCodeRequest:eatCodeRequest
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');

var api = new PolishApi.ASApi()

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var eatCodeRequest = ; // {EatCodeRequest} Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response


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

namespace Example
{
    public class authorizeExtExample
    {
        public void main()
        {
            
            var apiInstance = new ASApi();
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var eatCodeRequest = new EatCodeRequest(); // EatCodeRequest | Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response

            try
            {
                // Requests OAuth2 authorization code based on One-time authorization code issued by External Authorization Tool
                apiInstance.authorizeExt(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eatCodeRequest);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ASApi.authorizeExt: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ASApi();
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$eatCodeRequest = ; // EatCodeRequest | Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response

try {
    $api_instance->authorizeExt($acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $eatCodeRequest);
} catch (Exception $e) {
    echo 'Exception when calling ASApi->authorizeExt: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ASApi;

my $api_instance = WWW::SwaggerClient::ASApi->new();
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $eatCodeRequest = WWW::SwaggerClient::Object::EatCodeRequest->new(); # EatCodeRequest | Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response

eval { 
    $api_instance->authorizeExt(acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, eatCodeRequest => $eatCodeRequest);
};
if ($@) {
    warn "Exception when calling ASApi->authorizeExt: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ASApi()
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
eatCodeRequest =  # EatCodeRequest | Data for OAuth2 Authorization Code Request extended for EAT based authentication and callback response

try: 
    # Requests OAuth2 authorization code based on One-time authorization code issued by External Authorization Tool
    api_instance.authorize_ext(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eatCodeRequest)
except ApiException as e:
    print("Exception when calling ASApi->authorizeExt: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
eatCodeRequest *

Responses

Status: 200 - Successful TPP and EAT Code verification

Name Type Format Description
Content-Encoding String Gzip, deflate

Status: 400 - Bad request

Status: 403 - Forbidden

Status: 422 - Unprocessable entity

Status: 500 - An unexpected error occured


token

Requests OAuth2 access token value

Requests OAuth2 access token value


/v1.0/auth/v1.0/token

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/auth/v1.0/token"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ASApi;

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

public class ASApiExample {

    public static void main(String[] args) {
        
        ASApi apiInstance = new ASApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TokenRequest tokenRequest = ; // TokenRequest | Data for OAuth2 Access Token Request
        try {
            TokenResponse result = apiInstance.token(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, tokenRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#token");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ASApi;

public class ASApiExample {

    public static void main(String[] args) {
        ASApi apiInstance = new ASApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        TokenRequest tokenRequest = ; // TokenRequest | Data for OAuth2 Access Token Request
        try {
            TokenResponse result = apiInstance.token(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, tokenRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#token");
            e.printStackTrace();
        }
    }
}
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
TokenRequest *tokenRequest = ; // Data for OAuth2 Access Token Request

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

// Requests OAuth2 access token value
[apiInstance tokenWith:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    tokenRequest:tokenRequest
              completionHandler: ^(TokenResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');

var api = new PolishApi.ASApi()

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var tokenRequest = ; // {TokenRequest} Data for OAuth2 Access Token Request


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

namespace Example
{
    public class tokenExample
    {
        public void main()
        {
            
            var apiInstance = new ASApi();
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var tokenRequest = new TokenRequest(); // TokenRequest | Data for OAuth2 Access Token Request

            try
            {
                // Requests OAuth2 access token value
                TokenResponse result = apiInstance.token(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, tokenRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ASApi.token: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ASApi();
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$tokenRequest = ; // TokenRequest | Data for OAuth2 Access Token Request

try {
    $result = $api_instance->token($acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $tokenRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ASApi->token: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ASApi;

my $api_instance = WWW::SwaggerClient::ASApi->new();
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $tokenRequest = WWW::SwaggerClient::Object::TokenRequest->new(); # TokenRequest | Data for OAuth2 Access Token Request

eval { 
    my $result = $api_instance->token(acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, tokenRequest => $tokenRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ASApi->token: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ASApi()
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
tokenRequest =  # TokenRequest | Data for OAuth2 Access Token Request

try: 
    # Requests OAuth2 access token value
    api_response = api_instance.token(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, tokenRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ASApi->token: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
tokenRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 422 - Unprocessable entity

Status: 500 - An unexpected error occured


CAF

getConfirmationOfFunds

Confirmation of the availability of funds

Confirming the availability on the payers account of the amount necessary to execute the payment transaction, as defined in Art. 65 PSD2.


/v1.0/confirmation/v1.0/getConfirmationOfFunds

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/confirmation/v1.0/getConfirmationOfFunds"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CAFApi;

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

public class CAFApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        CAFApi apiInstance = new CAFApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        ConfirmationOfFundsRequest confirmationOfFundsRequest = ; // ConfirmationOfFundsRequest | Object with amount to check
        try {
            ConfirmationOfFundsResponse result = apiInstance.getConfirmationOfFunds(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, confirmationOfFundsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CAFApi#getConfirmationOfFunds");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CAFApi;

public class CAFApiExample {

    public static void main(String[] args) {
        CAFApi apiInstance = new CAFApi();
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        ConfirmationOfFundsRequest confirmationOfFundsRequest = ; // ConfirmationOfFundsRequest | Object with amount to check
        try {
            ConfirmationOfFundsResponse result = apiInstance.getConfirmationOfFunds(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, confirmationOfFundsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CAFApi#getConfirmationOfFunds");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
ConfirmationOfFundsRequest *confirmationOfFundsRequest = ; // Object with amount to check

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

// Confirmation of the availability of funds
[apiInstance getConfirmationOfFundsWith:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    confirmationOfFundsRequest:confirmationOfFundsRequest
              completionHandler: ^(ConfirmationOfFundsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.CAFApi()

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var confirmationOfFundsRequest = ; // {ConfirmationOfFundsRequest} Object with amount to check


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

namespace Example
{
    public class getConfirmationOfFundsExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new CAFApi();
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var confirmationOfFundsRequest = new ConfirmationOfFundsRequest(); // ConfirmationOfFundsRequest | Object with amount to check

            try
            {
                // Confirmation of the availability of funds
                ConfirmationOfFundsResponse result = apiInstance.getConfirmationOfFunds(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, confirmationOfFundsRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CAFApi.getConfirmationOfFunds: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\CAFApi();
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$confirmationOfFundsRequest = ; // ConfirmationOfFundsRequest | Object with amount to check

try {
    $result = $api_instance->getConfirmationOfFunds($acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $confirmationOfFundsRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CAFApi->getConfirmationOfFunds: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CAFApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::CAFApi->new();
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $confirmationOfFundsRequest = WWW::SwaggerClient::Object::ConfirmationOfFundsRequest->new(); # ConfirmationOfFundsRequest | Object with amount to check

eval { 
    my $result = $api_instance->getConfirmationOfFunds(acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, confirmationOfFundsRequest => $confirmationOfFundsRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CAFApi->getConfirmationOfFunds: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.CAFApi()
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
confirmationOfFundsRequest =  # ConfirmationOfFundsRequest | Object with amount to check

try: 
    # Confirmation of the availability of funds
    api_response = api_instance.get_confirmation_of_funds(acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, confirmationOfFundsRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CAFApi->getConfirmationOfFunds: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
confirmationOfFundsRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


PIS

domestic

Initiate domestic transfer


/v1.0/payments/v1.0/domestic

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/payments/v1.0/domestic"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PISApi;

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

public class PISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentDomesticRequest domesticRequest = ; // PaymentDomesticRequest | Data for domestic transfer
        try {
            AddPaymentResponse result = apiInstance.domestic(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, domesticRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#domestic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentDomesticRequest domesticRequest = ; // PaymentDomesticRequest | Data for domestic transfer
        try {
            AddPaymentResponse result = apiInstance.domestic(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, domesticRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#domestic");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
PaymentDomesticRequest *domesticRequest = ; // Data for domestic transfer

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

// Initiate domestic transfer
[apiInstance domesticWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    domesticRequest:domesticRequest
              completionHandler: ^(AddPaymentResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.PISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var domesticRequest = ; // {PaymentDomesticRequest} Data for domestic transfer


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

namespace Example
{
    public class domesticExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var domesticRequest = new PaymentDomesticRequest(); // PaymentDomesticRequest | Data for domestic transfer

            try
            {
                // Initiate domestic transfer
                AddPaymentResponse result = apiInstance.domestic(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, domesticRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.domestic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\PISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$domesticRequest = ; // PaymentDomesticRequest | Data for domestic transfer

try {
    $result = $api_instance->domestic($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $domesticRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PISApi->domestic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $domesticRequest = WWW::SwaggerClient::Object::PaymentDomesticRequest->new(); # PaymentDomesticRequest | Data for domestic transfer

eval { 
    my $result = $api_instance->domestic(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, domesticRequest => $domesticRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PISApi->domestic: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
domesticRequest =  # PaymentDomesticRequest | Data for domestic transfer

try: 
    # Initiate domestic transfer
    api_response = api_instance.domestic(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, domesticRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->domestic: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
domesticRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


eEA

Initiate SEPA foreign transfers


/v1.0/payments/v1.0/EEA

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/payments/v1.0/EEA"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PISApi;

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

public class PISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentEEARequest eEARequest = ; // PaymentEEARequest | Data for SEPA foreign transfer
        try {
            AddPaymentResponse result = apiInstance.eEA(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eEARequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#eEA");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentEEARequest eEARequest = ; // PaymentEEARequest | Data for SEPA foreign transfer
        try {
            AddPaymentResponse result = apiInstance.eEA(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eEARequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#eEA");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
PaymentEEARequest *eEARequest = ; // Data for SEPA foreign transfer

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

// Initiate SEPA foreign transfers
[apiInstance eEAWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    eEARequest:eEARequest
              completionHandler: ^(AddPaymentResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.PISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var eEARequest = ; // {PaymentEEARequest} Data for SEPA foreign transfer


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

namespace Example
{
    public class eEAExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var eEARequest = new PaymentEEARequest(); // PaymentEEARequest | Data for SEPA foreign transfer

            try
            {
                // Initiate SEPA foreign transfers
                AddPaymentResponse result = apiInstance.eEA(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eEARequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.eEA: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\PISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$eEARequest = ; // PaymentEEARequest | Data for SEPA foreign transfer

try {
    $result = $api_instance->eEA($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $eEARequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PISApi->eEA: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $eEARequest = WWW::SwaggerClient::Object::PaymentEEARequest->new(); # PaymentEEARequest | Data for SEPA foreign transfer

eval { 
    my $result = $api_instance->eEA(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, eEARequest => $eEARequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PISApi->eEA: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
eEARequest =  # PaymentEEARequest | Data for SEPA foreign transfer

try: 
    # Initiate SEPA foreign transfers
    api_response = api_instance.e_ea(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, eEARequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->eEA: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
eEARequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getMultiplePayments

Get the status of multiple payments


/v1.0/payments/v1.0/getMultiplePayments

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/payments/v1.0/getMultiplePayments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PISApi;

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

public class PISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentsRequest payments = ; // PaymentsRequest | Payments ID list
        try {
            PaymentsResponse result = apiInstance.getMultiplePayments(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payments);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#getMultiplePayments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentsRequest payments = ; // PaymentsRequest | Payments ID list
        try {
            PaymentsResponse result = apiInstance.getMultiplePayments(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payments);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#getMultiplePayments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
PaymentsRequest *payments = ; // Payments ID list

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

// Get the status of multiple payments
[apiInstance getMultiplePaymentsWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    payments:payments
              completionHandler: ^(PaymentsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.PISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var payments = ; // {PaymentsRequest} Payments ID list


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

namespace Example
{
    public class getMultiplePaymentsExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var payments = new PaymentsRequest(); // PaymentsRequest | Payments ID list

            try
            {
                // Get the status of multiple payments
                PaymentsResponse result = apiInstance.getMultiplePayments(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payments);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.getMultiplePayments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\PISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$payments = ; // PaymentsRequest | Payments ID list

try {
    $result = $api_instance->getMultiplePayments($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $payments);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PISApi->getMultiplePayments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $payments = WWW::SwaggerClient::Object::PaymentsRequest->new(); # PaymentsRequest | Payments ID list

eval { 
    my $result = $api_instance->getMultiplePayments(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, payments => $payments);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PISApi->getMultiplePayments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
payments =  # PaymentsRequest | Payments ID list

try: 
    # Get the status of multiple payments
    api_response = api_instance.get_multiple_payments(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payments)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->getMultiplePayments: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
payments *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


getPayment

Get the status of payment


/v1.0/payments/v1.0/getPayment

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/payments/v1.0/getPayment"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PISApi;

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

public class PISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentRequest payment = ; // PaymentRequest | Payment ID
        try {
            GetPaymentResponse result = apiInstance.getPayment(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#getPayment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentRequest payment = ; // PaymentRequest | Payment ID
        try {
            GetPaymentResponse result = apiInstance.getPayment(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#getPayment");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
PaymentRequest *payment = ; // Payment ID

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

// Get the status of payment
[apiInstance getPaymentWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    payment:payment
              completionHandler: ^(GetPaymentResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.PISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var payment = ; // {PaymentRequest} Payment ID


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

namespace Example
{
    public class getPaymentExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var payment = new PaymentRequest(); // PaymentRequest | Payment ID

            try
            {
                // Get the status of payment
                GetPaymentResponse result = apiInstance.getPayment(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payment);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.getPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\PISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$payment = ; // PaymentRequest | Payment ID

try {
    $result = $api_instance->getPayment($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $payment);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PISApi->getPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $payment = WWW::SwaggerClient::Object::PaymentRequest->new(); # PaymentRequest | Payment ID

eval { 
    my $result = $api_instance->getPayment(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, payment => $payment);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PISApi->getPayment: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
payment =  # PaymentRequest | Payment ID

try: 
    # Get the status of payment
    api_response = api_instance.get_payment(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, payment)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->getPayment: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
payment *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


nonEEA

Initiate non SEPA foreign transfers


/v1.0/payments/v1.0/nonEEA

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/payments/v1.0/nonEEA"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PISApi;

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

public class PISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentNonEEARequest nonEEARequest = ; // PaymentNonEEARequest | Data for non SEPA foreign transfer
        try {
            AddPaymentResponse result = apiInstance.nonEEA(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, nonEEARequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#nonEEA");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentNonEEARequest nonEEARequest = ; // PaymentNonEEARequest | Data for non SEPA foreign transfer
        try {
            AddPaymentResponse result = apiInstance.nonEEA(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, nonEEARequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#nonEEA");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
PaymentNonEEARequest *nonEEARequest = ; // Data for non SEPA foreign transfer

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

// Initiate non SEPA foreign transfers
[apiInstance nonEEAWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    nonEEARequest:nonEEARequest
              completionHandler: ^(AddPaymentResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.PISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var nonEEARequest = ; // {PaymentNonEEARequest} Data for non SEPA foreign transfer


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

namespace Example
{
    public class nonEEAExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var nonEEARequest = new PaymentNonEEARequest(); // PaymentNonEEARequest | Data for non SEPA foreign transfer

            try
            {
                // Initiate non SEPA foreign transfers
                AddPaymentResponse result = apiInstance.nonEEA(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, nonEEARequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.nonEEA: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\PISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$nonEEARequest = ; // PaymentNonEEARequest | Data for non SEPA foreign transfer

try {
    $result = $api_instance->nonEEA($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $nonEEARequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PISApi->nonEEA: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $nonEEARequest = WWW::SwaggerClient::Object::PaymentNonEEARequest->new(); # PaymentNonEEARequest | Data for non SEPA foreign transfer

eval { 
    my $result = $api_instance->nonEEA(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, nonEEARequest => $nonEEARequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PISApi->nonEEA: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
nonEEARequest =  # PaymentNonEEARequest | Data for non SEPA foreign transfer

try: 
    # Initiate non SEPA foreign transfers
    api_response = api_instance.non_eea(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, nonEEARequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->nonEEA: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
nonEEARequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


tax

Initiate tax transfer


/v1.0/payments/v1.0/tax

Usage and SDK Samples

curl -X POST "https://apiHost/v1.0/payments/v1.0/tax"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PISApi;

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

public class PISApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: xs2a_auth
        OAuth xs2a_auth = (OAuth) defaultClient.getAuthentication("xs2a_auth");
        xs2a_auth.setAccessToken("YOUR ACCESS TOKEN");

        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentTaxRequest taxRequest = ; // PaymentTaxRequest | Data for tax transfer
        try {
            AddPaymentResponse result = apiInstance.tax(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, taxRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#tax");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
        String acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
        String acceptLanguage = acceptLanguage_example; // String | Prefered language of response
        String acceptCharset = acceptCharset_example; // String | UTF-8
        String xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
        PaymentTaxRequest taxRequest = ; // PaymentTaxRequest | Data for tax transfer
        try {
            AddPaymentResponse result = apiInstance.tax(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, taxRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#tax");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *authorization = authorization_example; // The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
String *acceptEncoding = acceptEncoding_example; // Gzip, deflate
String *acceptLanguage = acceptLanguage_example; // Prefered language of response
String *acceptCharset = acceptCharset_example; // UTF-8
String *xJWSSIGNATURE = xJWSSIGNATURE_example; // Detached JWS signature of the body of the payload
PaymentTaxRequest *taxRequest = ; // Data for tax transfer

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

// Initiate tax transfer
[apiInstance taxWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    taxRequest:taxRequest
              completionHandler: ^(AddPaymentResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: xs2a_auth
var xs2a_auth = defaultClient.authentications['xs2a_auth'];
xs2a_auth.accessToken = "YOUR ACCESS TOKEN"

var api = new PolishApi.PISApi()

var authorization = authorization_example; // {String} The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.

var acceptEncoding = acceptEncoding_example; // {String} Gzip, deflate

var acceptLanguage = acceptLanguage_example; // {String} Prefered language of response

var acceptCharset = acceptCharset_example; // {String} UTF-8

var xJWSSIGNATURE = xJWSSIGNATURE_example; // {String} Detached JWS signature of the body of the payload

var taxRequest = ; // {PaymentTaxRequest} Data for tax transfer


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

namespace Example
{
    public class taxExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PISApi();
            var authorization = authorization_example;  // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
            var acceptEncoding = acceptEncoding_example;  // String | Gzip, deflate
            var acceptLanguage = acceptLanguage_example;  // String | Prefered language of response
            var acceptCharset = acceptCharset_example;  // String | UTF-8
            var xJWSSIGNATURE = xJWSSIGNATURE_example;  // String | Detached JWS signature of the body of the payload
            var taxRequest = new PaymentTaxRequest(); // PaymentTaxRequest | Data for tax transfer

            try
            {
                // Initiate tax transfer
                AddPaymentResponse result = apiInstance.tax(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, taxRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.tax: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: xs2a_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\Api\PISApi();
$authorization = authorization_example; // String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
$acceptEncoding = acceptEncoding_example; // String | Gzip, deflate
$acceptLanguage = acceptLanguage_example; // String | Prefered language of response
$acceptCharset = acceptCharset_example; // String | UTF-8
$xJWSSIGNATURE = xJWSSIGNATURE_example; // String | Detached JWS signature of the body of the payload
$taxRequest = ; // PaymentTaxRequest | Data for tax transfer

try {
    $result = $api_instance->tax($authorization, $acceptEncoding, $acceptLanguage, $acceptCharset, $xJWSSIGNATURE, $taxRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PISApi->tax: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PISApi;

# Configure OAuth2 access token for authorization: xs2a_auth
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $authorization = authorization_example; # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
my $acceptEncoding = acceptEncoding_example; # String | Gzip, deflate
my $acceptLanguage = acceptLanguage_example; # String | Prefered language of response
my $acceptCharset = acceptCharset_example; # String | UTF-8
my $xJWSSIGNATURE = xJWSSIGNATURE_example; # String | Detached JWS signature of the body of the payload
my $taxRequest = WWW::SwaggerClient::Object::PaymentTaxRequest->new(); # PaymentTaxRequest | Data for tax transfer

eval { 
    my $result = $api_instance->tax(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, taxRequest => $taxRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PISApi->tax: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: xs2a_auth
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PISApi()
authorization = authorization_example # String | The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
acceptEncoding = acceptEncoding_example # String | Gzip, deflate
acceptLanguage = acceptLanguage_example # String | Prefered language of response
acceptCharset = acceptCharset_example # String | UTF-8
xJWSSIGNATURE = xJWSSIGNATURE_example # String | Detached JWS signature of the body of the payload
taxRequest =  # PaymentTaxRequest | Data for tax transfer

try: 
    # Initiate tax transfer
    api_response = api_instance.tax(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, taxRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->tax: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization*
String
The value of the Authorization header should consist of 'type' + 'credentials', where for the approach using the 'type' token should be 'Bearer'.
Required
Accept-Encoding*
String
Gzip, deflate
Required
Accept-Language*
String
Prefered language of response
Required
Accept-Charset*
String
UTF-8
Required
X-JWS-SIGNATURE*
String
Detached JWS signature of the body of the payload
Required
Body parameters
Name Description
taxRequest *

Responses

Status: 200 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 400 - Bad request

Status: 401 - Authorization header not found

Status: 403 - Access denied

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - An unexpected error occured


Generated 2018-07-09T06:12:04.250Z