Polish API

AIS

deleteConsent

Removes consent

Removes consent


/v2_0_5.1/accounts/v2_0_5.1/deleteConsent

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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: 204 - Success

Name Type Format Description
Content-Encoding String Gzip, deflate

Status: 400 - Bad request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getAccount

Get detailed information about user payment account

User identification based on access token


/v2_0_5.1/accounts/v2_0_5.1/getAccount

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getAccounts

Get information about all user's payment account

User identification based on access token


/v2_0_5.1/accounts/v2_0_5.1/getAccounts

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getHolds

Get list of user's holded operations


/v2_0_5.1/accounts/v2_0_5.1/getHolds

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getTransactionDetail

Get detailed information about user's single transaction


/v2_0_5.1/accounts/v2_0_5.1/getTransactionDetail

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getTransactionsCancelled

Get list of user cancelled transactions


/v2_0_5.1/accounts/v2_0_5.1/getTransactionsCancelled

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/getTransactionsCancelled"
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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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 getTransactionsCancelledRequest = ; // TransactionInfoRequest | Data for Transactions Cancelled Request
        try {
            TransactionsCancelledInfoResponse result = apiInstance.getTransactionsCancelled(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsCancelledRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsCancelled");
            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 getTransactionsCancelledRequest = ; // TransactionInfoRequest | Data for Transactions Cancelled Request
        try {
            TransactionsCancelledInfoResponse result = apiInstance.getTransactionsCancelled(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsCancelledRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsCancelled");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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 *getTransactionsCancelledRequest = ; // Data for Transactions Cancelled Request

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

// Get list of user cancelled transactions
[apiInstance getTransactionsCancelledWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getTransactionsCancelledRequest:getTransactionsCancelledRequest
              completionHandler: ^(TransactionsCancelledInfoResponse 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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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 getTransactionsCancelledRequest = ; // {TransactionInfoRequest} Data for Transactions Cancelled Request


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

namespace Example
{
    public class getTransactionsCancelledExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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 getTransactionsCancelledRequest = new TransactionInfoRequest(); // TransactionInfoRequest | Data for Transactions Cancelled Request

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

// Configure OAuth2 access token for authorization: xs2a_auth_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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
$getTransactionsCancelledRequest = ; // TransactionInfoRequest | Data for Transactions Cancelled Request

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

# Configure OAuth2 access token for authorization: xs2a_auth_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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 $getTransactionsCancelledRequest = WWW::SwaggerClient::Object::TransactionInfoRequest->new(); # TransactionInfoRequest | Data for Transactions Cancelled Request

eval { 
    my $result = $api_instance->getTransactionsCancelled(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getTransactionsCancelledRequest => $getTransactionsCancelledRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getTransactionsCancelled: $@\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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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
getTransactionsCancelledRequest =  # TransactionInfoRequest | Data for Transactions Cancelled Request

try: 
    # Get list of user cancelled transactions
    api_response = api_instance.get_transactions_cancelled(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsCancelledRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getTransactionsCancelled: %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
getTransactionsCancelledRequest *

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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getTransactionsDone

Get list of user done transactions


/v2_0_5.1/accounts/v2_0_5.1/getTransactionsDone

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getTransactionsPending

Get list of user's pending transactions


/v2_0_5.1/accounts/v2_0_5.1/getTransactionsPending

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getTransactionsRejected

Get list of user's rejected transactions


/v2_0_5.1/accounts/v2_0_5.1/getTransactionsRejected

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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_aspsp)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


getTransactionsScheduled

Get list of user scheduled transactions


/v2_0_5.1/accounts/v2_0_5.1/getTransactionsScheduled

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/accounts/v2_0_5.1/getTransactionsScheduled"
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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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 getTransactionsCancelledRequest = ; // TransactionInfoRequest | Data for Transactions Scheduled Request
        try {
            TransactionsScheduledInfoResponse result = apiInstance.getTransactionsScheduled(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsCancelledRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsScheduled");
            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 getTransactionsCancelledRequest = ; // TransactionInfoRequest | Data for Transactions Scheduled Request
        try {
            TransactionsScheduledInfoResponse result = apiInstance.getTransactionsScheduled(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsCancelledRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#getTransactionsScheduled");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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 *getTransactionsCancelledRequest = ; // Data for Transactions Scheduled Request

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

// Get list of user scheduled transactions
[apiInstance getTransactionsScheduledWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    getTransactionsCancelledRequest:getTransactionsCancelledRequest
              completionHandler: ^(TransactionsScheduledInfoResponse 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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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 getTransactionsCancelledRequest = ; // {TransactionInfoRequest} Data for Transactions Scheduled Request


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

namespace Example
{
    public class getTransactionsScheduledExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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 getTransactionsCancelledRequest = new TransactionInfoRequest(); // TransactionInfoRequest | Data for Transactions Scheduled Request

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

// Configure OAuth2 access token for authorization: xs2a_auth_aspsp
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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
$getTransactionsCancelledRequest = ; // TransactionInfoRequest | Data for Transactions Scheduled Request

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

# Configure OAuth2 access token for authorization: xs2a_auth_aspsp
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
$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 $getTransactionsCancelledRequest = WWW::SwaggerClient::Object::TransactionInfoRequest->new(); # TransactionInfoRequest | Data for Transactions Scheduled Request

eval { 
    my $result = $api_instance->getTransactionsScheduled(authorization => $authorization, acceptEncoding => $acceptEncoding, acceptLanguage => $acceptLanguage, acceptCharset => $acceptCharset, xJWSSIGNATURE => $xJWSSIGNATURE, getTransactionsCancelledRequest => $getTransactionsCancelledRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AISApi->getTransactionsScheduled: $@\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_aspsp
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: xs2a_auth_decoupled
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
getTransactionsCancelledRequest =  # TransactionInfoRequest | Data for Transactions Scheduled Request

try: 
    # Get list of user scheduled transactions
    api_response = api_instance.get_transactions_scheduled(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, getTransactionsCancelledRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->getTransactionsScheduled: %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
getTransactionsCancelledRequest *

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 - Unauthorized

Status: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


AS

authorize

Requests OAuth2 authorization code

Requests OAuth2 authorization code


/v2_0_5.1/auth/v2_0_5.1/authorize

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/auth/v2_0_5.1/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: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


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.


/v2_0_5.1/auth/v2_0_5.1/authorizeExt

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/auth/v2_0_5.1/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: 204 - Successful TPP and EAT Code verification

Name Type Format Description
Content-Encoding String Gzip, deflate

Status: 400 - Bad request

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


token

Requests OAuth2 access token value

Requests OAuth2 access token value


/v2_0_5.1/auth/v2_0_5.1/token

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/auth/v2_0_5.1/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: 401 - Unauthorized

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


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.


/v2_0_5.1/confirmation/v2_0_5.1/getConfirmationOfFunds

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/confirmation/v2_0_5.1/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) {
        
        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();
        }
    }
}
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 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()
        {
            
            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');

$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;

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

# 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: 403 - Forbidden

Status: 405 - Method Not Allowed

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 422 - Unprocessable entity

Status: 429 - Request limit for the requested service exceeded

Status: 500 - Internal Server Error

Status: 503 - Service Unavailable


PIS

bundle

Initiate many transfers as bundle


/v2_0_5.1/payments/v2_0_5.1/bundle

Usage and SDK Samples

curl -X POST "https://apiHost/v2_0_5.1/payments/v2_0_5.1/bundle"
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_aspsp
        OAuth xs2a_auth_aspsp = (OAuth) defaultClient.getAuthentication("xs2a_auth_aspsp");
        xs2a_auth_aspsp.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
        OAuth xs2a_auth_decoupled = (OAuth) defaultClient.getAuthentication("xs2a_auth_decoupled");
        xs2a_auth_decoupled.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
        PaymentsBundleRequest bundleRequest = ; // PaymentsBundleRequest | Data for bundle of transfers
        try {
            PaymentsBundleResponse result = apiInstance.bundle(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, bundleRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#bundle");
            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
        PaymentsBundleRequest bundleRequest = ; // PaymentsBundleRequest | Data for bundle of transfers
        try {
            PaymentsBundleResponse result = apiInstance.bundle(authorization, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, bundleRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#bundle");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

// Configure OAuth2 access token for authorization: (authentication scheme: xs2a_auth_decoupled)
[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
PaymentsBundleRequest *bundleRequest = ; // Data for bundle of transfers

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

// Initiate many transfers as bundle
[apiInstance bundleWith:authorization
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    bundleRequest:bundleRequest
              completionHandler: ^(PaymentsBundleResponse 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_aspsp
var xs2a_auth_aspsp = defaultClient.authentications['xs2a_auth_aspsp'];
xs2a_auth_aspsp.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: xs2a_auth_decoupled
var xs2a_auth_decoupled = defaultClient.authentications['xs2a_auth_decoupled'];
xs2a_auth_decoupled.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 bundleRequest = ; // {PaymentsBundleRequest} Data for bundle of transfers


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

namespace Example
{
    public class bundleExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: xs2a_auth_aspsp
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: xs2a_auth_decoupled
            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;  //