Polish API

AIS

accountsCallBack

Return information about user's payment accounts for asynchronous call


/v1.0/accounts/v1.0/accountsCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/accounts/v1.0/accountsCallBack"
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 API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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 accountsData = ; // AccountsRequest | Data with Accounts Requested
        try {
            CallBackResponse result = apiInstance.accountsCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, accountsData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#accountsCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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 accountsData = ; // AccountsRequest | Data with Accounts Requested
        try {
            CallBackResponse result = apiInstance.accountsCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, accountsData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#accountsCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 *accountsData = ; // Data with Accounts Requested

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

// Return information about user's payment accounts for asynchronous call
[apiInstance accountsCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    accountsData:accountsData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.AISApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 accountsData = ; // {AccountsRequest} Data with Accounts Requested


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

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

            var apiInstance = new AISApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 accountsData = new AccountsRequest(); // AccountsRequest | Data with Accounts Requested

            try
            {
                // Return information about user's payment accounts for asynchronous call
                CallBackResponse result = apiInstance.accountsCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, accountsData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.accountsCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AISApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$accountsData = ; // AccountsRequest | Data with Accounts Requested

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

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

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $accountsData = WWW::SwaggerClient::Object::AccountsRequest->new(); # AccountsRequest | Data with Accounts Requested

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

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

# create an instance of the API class
api_instance = swagger_client.AISApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
accountsData =  # AccountsRequest | Data with Accounts Requested

try: 
    # Return information about user's payment accounts for asynchronous call
    api_response = api_instance.accounts_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, accountsData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->accountsCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
accountsData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


transactionsDoneCallBack

Return information about transactions done for asynchronous call


/v1.0/accounts/v1.0/transactionsDoneCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/accounts/v1.0/transactionsDoneCallBack"
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 API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionDoneInfoRequest transactionInfoData = ; // TransactionDoneInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsDoneCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsDoneCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionDoneInfoRequest transactionInfoData = ; // TransactionDoneInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsDoneCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsDoneCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
TransactionDoneInfoRequest *transactionInfoData = ; // Data with Transactions Requested

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

// Return information about transactions done for asynchronous call
[apiInstance transactionsDoneCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    transactionInfoData:transactionInfoData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.AISApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 transactionInfoData = ; // {TransactionDoneInfoRequest} Data with Transactions Requested


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

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

            var apiInstance = new AISApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 transactionInfoData = new TransactionDoneInfoRequest(); // TransactionDoneInfoRequest | Data with Transactions Requested

            try
            {
                // Return information about transactions done for asynchronous call
                CallBackResponse result = apiInstance.transactionsDoneCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.transactionsDoneCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AISApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$transactionInfoData = ; // TransactionDoneInfoRequest | Data with Transactions Requested

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

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

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $transactionInfoData = WWW::SwaggerClient::Object::TransactionDoneInfoRequest->new(); # TransactionDoneInfoRequest | Data with Transactions Requested

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

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

# create an instance of the API class
api_instance = swagger_client.AISApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData =  # TransactionDoneInfoRequest | Data with Transactions Requested

try: 
    # Return information about transactions done for asynchronous call
    api_response = api_instance.transactions_done_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->transactionsDoneCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


transactionsHoldCallBack

Return information about transactions on hold for asynchronous call


/v1.0/accounts/v1.0/transactionsHoldCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/accounts/v1.0/transactionsHoldCallBack"
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 API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionHoldInfoRequest transactionInfoData = ; // TransactionHoldInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsHoldCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsHoldCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionHoldInfoRequest transactionInfoData = ; // TransactionHoldInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsHoldCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsHoldCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
TransactionHoldInfoRequest *transactionInfoData = ; // Data with Transactions Requested

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

// Return information about transactions on hold for asynchronous call
[apiInstance transactionsHoldCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    transactionInfoData:transactionInfoData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.AISApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 transactionInfoData = ; // {TransactionHoldInfoRequest} Data with Transactions Requested


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

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

            var apiInstance = new AISApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 transactionInfoData = new TransactionHoldInfoRequest(); // TransactionHoldInfoRequest | Data with Transactions Requested

            try
            {
                // Return information about transactions on hold for asynchronous call
                CallBackResponse result = apiInstance.transactionsHoldCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.transactionsHoldCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AISApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$transactionInfoData = ; // TransactionHoldInfoRequest | Data with Transactions Requested

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

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

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $transactionInfoData = WWW::SwaggerClient::Object::TransactionHoldInfoRequest->new(); # TransactionHoldInfoRequest | Data with Transactions Requested

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

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

# create an instance of the API class
api_instance = swagger_client.AISApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData =  # TransactionHoldInfoRequest | Data with Transactions Requested

try: 
    # Return information about transactions on hold for asynchronous call
    api_response = api_instance.transactions_hold_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->transactionsHoldCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


transactionsPendingCallBack

Return information about transactions pending for asynchronous call


/v1.0/accounts/v1.0/transactionsPendingCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/accounts/v1.0/transactionsPendingCallBack"
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 API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionPendingInfoRequest transactionInfoData = ; // TransactionPendingInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsPendingCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsPendingCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionPendingInfoRequest transactionInfoData = ; // TransactionPendingInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsPendingCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsPendingCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
TransactionPendingInfoRequest *transactionInfoData = ; // Data with Transactions Requested

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

// Return information about transactions pending for asynchronous call
[apiInstance transactionsPendingCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    transactionInfoData:transactionInfoData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.AISApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 transactionInfoData = ; // {TransactionPendingInfoRequest} Data with Transactions Requested


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

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

            var apiInstance = new AISApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 transactionInfoData = new TransactionPendingInfoRequest(); // TransactionPendingInfoRequest | Data with Transactions Requested

            try
            {
                // Return information about transactions pending for asynchronous call
                CallBackResponse result = apiInstance.transactionsPendingCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.transactionsPendingCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AISApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$transactionInfoData = ; // TransactionPendingInfoRequest | Data with Transactions Requested

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

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

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $transactionInfoData = WWW::SwaggerClient::Object::TransactionPendingInfoRequest->new(); # TransactionPendingInfoRequest | Data with Transactions Requested

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

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

# create an instance of the API class
api_instance = swagger_client.AISApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData =  # TransactionPendingInfoRequest | Data with Transactions Requested

try: 
    # Return information about transactions pending for asynchronous call
    api_response = api_instance.transactions_pending_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->transactionsPendingCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


transactionsRejectedCallBack

Return information about transactions rejected for asynchronous call


/v1.0/accounts/v1.0/transactionsRejectedCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/accounts/v1.0/transactionsRejectedCallBack"
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 API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionRejectedInfoRequest transactionInfoData = ; // TransactionRejectedInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsRejectedCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsRejectedCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AISApi;

public class AISApiExample {

    public static void main(String[] args) {
        AISApi apiInstance = new AISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        TransactionRejectedInfoRequest transactionInfoData = ; // TransactionRejectedInfoRequest | Data with Transactions Requested
        try {
            CallBackResponse result = apiInstance.transactionsRejectedCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AISApi#transactionsRejectedCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
TransactionRejectedInfoRequest *transactionInfoData = ; // Data with Transactions Requested

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

// Return information about transactions rejected for asynchronous call
[apiInstance transactionsRejectedCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    transactionInfoData:transactionInfoData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.AISApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 transactionInfoData = ; // {TransactionRejectedInfoRequest} Data with Transactions Requested


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

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

            var apiInstance = new AISApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 transactionInfoData = new TransactionRejectedInfoRequest(); // TransactionRejectedInfoRequest | Data with Transactions Requested

            try
            {
                // Return information about transactions rejected for asynchronous call
                CallBackResponse result = apiInstance.transactionsRejectedCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AISApi.transactionsRejectedCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AISApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$transactionInfoData = ; // TransactionRejectedInfoRequest | Data with Transactions Requested

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

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

my $api_instance = WWW::SwaggerClient::AISApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $transactionInfoData = WWW::SwaggerClient::Object::TransactionRejectedInfoRequest->new(); # TransactionRejectedInfoRequest | Data with Transactions Requested

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

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

# create an instance of the API class
api_instance = swagger_client.AISApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData =  # TransactionRejectedInfoRequest | Data with Transactions Requested

try: 
    # Return information about transactions rejected for asynchronous call
    api_response = api_instance.transactions_rejected_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, transactionInfoData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AISApi->transactionsRejectedCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
transactionInfoData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


AS

authorizeExtCallBack

Return information about OAuth2 authorization code after PSU SCA procedure performed by EAT


/v1.0/auth/v1.0/authorizeExtCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/auth/v1.0/authorizeExtCallBack"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        ASApi apiInstance = new ASApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        AuthorizationDataRequest authorizationData = ; // AuthorizationDataRequest | Data with OAuth2 authorization code and other essential authorization data
        try {
            CallBackResponse result = apiInstance.authorizeExtCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizationData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#authorizeExtCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ASApi;

public class ASApiExample {

    public static void main(String[] args) {
        ASApi apiInstance = new ASApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        AuthorizationDataRequest authorizationData = ; // AuthorizationDataRequest | Data with OAuth2 authorization code and other essential authorization data
        try {
            CallBackResponse result = apiInstance.authorizeExtCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizationData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ASApi#authorizeExtCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
AuthorizationDataRequest *authorizationData = ; // Data with OAuth2 authorization code and other essential authorization data

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

// Return information about OAuth2 authorization code after PSU SCA procedure performed by EAT
[apiInstance authorizeExtCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    authorizationData:authorizationData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.ASApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 authorizationData = ; // {AuthorizationDataRequest} Data with OAuth2 authorization code and other essential authorization data


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

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

            var apiInstance = new ASApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 authorizationData = new AuthorizationDataRequest(); // AuthorizationDataRequest | Data with OAuth2 authorization code and other essential authorization data

            try
            {
                // Return information about OAuth2 authorization code after PSU SCA procedure performed by EAT
                CallBackResponse result = apiInstance.authorizeExtCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizationData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ASApi.authorizeExtCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\ASApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$authorizationData = ; // AuthorizationDataRequest | Data with OAuth2 authorization code and other essential authorization data

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

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

my $api_instance = WWW::SwaggerClient::ASApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $authorizationData = WWW::SwaggerClient::Object::AuthorizationDataRequest->new(); # AuthorizationDataRequest | Data with OAuth2 authorization code and other essential authorization data

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

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

# create an instance of the API class
api_instance = swagger_client.ASApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
authorizationData =  # AuthorizationDataRequest | Data with OAuth2 authorization code and other essential authorization data

try: 
    # Return information about OAuth2 authorization code after PSU SCA procedure performed by EAT
    api_response = api_instance.authorize_ext_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, authorizationData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ASApi->authorizeExtCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
authorizationData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


PIS

paymentCallBack

Return information about payment status


/v1.0/payments/v1.0/paymentCallBack

Usage and SDK Samples

curl -X POST -H "X-API-Key: [[apiKey]]" "https://callbackUrl/v1.0/payments/v1.0/paymentCallBack"
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 API key authorization: ApiKeyAuth
        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
        ApiKeyAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyAuth.setApiKeyPrefix("Token");

        PISApi apiInstance = new PISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        PaymentStatusInfoRequest paymentStatusInfoData = ; // PaymentStatusInfoRequest | Data with payment status information
        try {
            CallBackResponse result = apiInstance.paymentCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, paymentStatusInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#paymentCallBack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PISApi;

public class PISApiExample {

    public static void main(String[] args) {
        PISApi apiInstance = new PISApi();
        String xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
        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
        PaymentStatusInfoRequest paymentStatusInfoData = ; // PaymentStatusInfoRequest | Data with payment status information
        try {
            CallBackResponse result = apiInstance.paymentCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, paymentStatusInfoData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PISApi#paymentCallBack");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *xAPIKey = xAPIKey_example; // The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
PaymentStatusInfoRequest *paymentStatusInfoData = ; // Data with payment status information

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

// Return information about payment status
[apiInstance paymentCallBackWith:xAPIKey
    acceptEncoding:acceptEncoding
    acceptLanguage:acceptLanguage
    acceptCharset:acceptCharset
    xJWSSIGNATURE:xJWSSIGNATURE
    paymentStatusInfoData:paymentStatusInfoData
              completionHandler: ^(CallBackResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PolishApi = require('polish_api');
var defaultClient = PolishApi.ApiClient.instance;

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

var api = new PolishApi.PISApi()

var xAPIKey = xAPIKey_example; // {String} The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.

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 paymentStatusInfoData = ; // {PaymentStatusInfoRequest} Data with payment status information


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

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

            var apiInstance = new PISApi();
            var xAPIKey = xAPIKey_example;  // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
            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 paymentStatusInfoData = new PaymentStatusInfoRequest(); // PaymentStatusInfoRequest | Data with payment status information

            try
            {
                // Return information about payment status
                CallBackResponse result = apiInstance.paymentCallBack(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, paymentStatusInfoData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PISApi.paymentCallBack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\PISApi();
$xAPIKey = xAPIKey_example; // String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
$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
$paymentStatusInfoData = ; // PaymentStatusInfoRequest | Data with payment status information

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

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

my $api_instance = WWW::SwaggerClient::PISApi->new();
my $xAPIKey = xAPIKey_example; # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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 $paymentStatusInfoData = WWW::SwaggerClient::Object::PaymentStatusInfoRequest->new(); # PaymentStatusInfoRequest | Data with payment status information

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

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

# create an instance of the API class
api_instance = swagger_client.PISApi()
xAPIKey = xAPIKey_example # String | The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
paymentStatusInfoData =  # PaymentStatusInfoRequest | Data with payment status information

try: 
    # Return information about payment status
    api_response = api_instance.payment_call_back(xAPIKey, acceptEncoding, acceptLanguage, acceptCharset, xJWSSIGNATURE, paymentStatusInfoData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PISApi->paymentCallBack: %s\n" % e)

Parameters

Header parameters
Name Description
X-API-Key*
String
The value of the X-API-Key should be taken from the appropriate preceding request that the callback request is response to.
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
paymentStatusInfoData *

Responses

Status: 200 - Success

Name Type Format Description
Date String Request timestamp in RFC 5322 date and time format
Content-Type String Standard HTTP Header; Represents the format of the payload returned in the response
Content-Encoding String Gzip, deflate
X-JWS-SIGNATURE String Detached JWS signature of the body of the response

Status: 500 - An unexpected error occured


Generated 2018-07-09T06:29:10.234Z