REST DOCS

URL de servicio


                https://rest.paycomet.com
            

Especificación


                https://rest.paycomet.com/swagger.yaml
            

Descargar Swagger. Podrás importarlo en POSTMAN o SwaggerEditor, por ejemplo.


Autenticación

La integración REST utiliza un servicio de autenticación con APIKEYS, que se genera en el panel de control y debe incluirse en una cabecera de la petición. Para conocer más detalle, acude a la página gestión de APIKEYS.


Formulario con captura

PAYCOMET REST API

PAYCOMET REST API

Balance

productBalance

Get balance info

Gets the balance of a product. Restricted.


/v1/balance

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/balance"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BalanceApi;

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

public class BalanceApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        BalanceApi apiInstance = new BalanceApi();
        Body_6 body = ; // Body_6 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_5 result = apiInstance.productBalance(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#productBalance");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BalanceApi;

public class BalanceApiExample {

    public static void main(String[] args) {
        BalanceApi apiInstance = new BalanceApi();
        Body_6 body = ; // Body_6 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_5 result = apiInstance.productBalance(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#productBalance");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_6 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Get balance info
[apiInstance productBalanceWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.BalanceApi()
var opts = { 
  'body':  // {{Body_6}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.productBalance(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class productBalanceExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new BalanceApi();
            var body = new Body_6(); // Body_6 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Get balance info
                inline_response_200_5 result = apiInstance.productBalance(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BalanceApi.productBalance: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiBalanceApi();
$body = ; // Body_6 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::BalanceApi->new();
my $body = WWW::SwaggerClient::Object::Body_6->new(); # Body_6 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->productBalance(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BalanceApi->productBalance: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BalanceApi()
body =  # Body_6 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Get balance info
    api_response = api_instance.product_balance(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BalanceApi->productBalance: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 403 - Not Allowed

Status: 422 - Unprocessable Entity


Cards

addUser

Tokenizes a card

add_user


/v1/cards

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/cards"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        CardsApi apiInstance = new CardsApi();
        Body_1 body = ; // Body_1 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_1 result = apiInstance.addUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#addUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        Body_1 body = ; // Body_1 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_1 result = apiInstance.addUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#addUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_1 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Tokenizes a card
[apiInstance addUserWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Body_1}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Token actions privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addUserExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new CardsApi();
            var body = new Body_1(); // Body_1 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Token actions privilege required) (optional) 

            try
            {
                // Tokenizes a card
                inline_response_200_1 result = apiInstance.addUser(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.addUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiCardsApi();
$body = ; // Body_1 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)

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

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

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Token actions privilege required)

eval { 
    my $result = $api_instance->addUser(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->addUser: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Body_1 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Token actions privilege required) (optional)

try: 
    # Tokenizes a card
    api_response = api_instance.add_user(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->addUser: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Token actions privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - Created

Status: 422 - Unprocessable Entity


editUser

Changes the expiry date, cvc2 or both

edit_user


/v1/cards/edit

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/cards/edit"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        CardsApi apiInstance = new CardsApi();
        Body_4 body = ; // Body_4 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_1 result = apiInstance.editUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#editUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        Body_4 body = ; // Body_4 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_1 result = apiInstance.editUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#editUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_4 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Changes the expiry date, cvc2 or both
[apiInstance editUserWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Body_4}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Token actions privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.editUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class editUserExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new CardsApi();
            var body = new Body_4(); // Body_4 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Token actions privilege required) (optional) 

            try
            {
                // Changes the expiry date, cvc2 or both
                inline_response_200_1 result = apiInstance.editUser(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.editUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiCardsApi();
$body = ; // Body_4 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)

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

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

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Body_4->new(); # Body_4 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Token actions privilege required)

eval { 
    my $result = $api_instance->editUser(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->editUser: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Body_4 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Token actions privilege required) (optional)

try: 
    # Changes the expiry date, cvc2 or both
    api_response = api_instance.edit_user(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->editUser: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Token actions privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - Edited

Status: 422 - Unprocessable Entity


infoUser

Get card info

Info about an user card.


/v1/cards/info

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/cards/info"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        CardsApi apiInstance = new CardsApi();
        Body_2 body = ; // Body_2 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_2 result = apiInstance.infoUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#infoUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        Body_2 body = ; // Body_2 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_2 result = apiInstance.infoUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#infoUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_2 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Get card info
[apiInstance infoUserWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Body_2}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.infoUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class infoUserExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new CardsApi();
            var body = new Body_2(); // Body_2 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Get card info
                inline_response_200_2 result = apiInstance.infoUser(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.infoUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiCardsApi();
$body = ; // Body_2 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->infoUser(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->infoUser: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Body_2 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Get card info
    api_response = api_instance.info_user(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->infoUser: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 403 - Not Allowed

Status: 422 - Unprocessable Entity


physicalAddCard

Tokenize a card by physical encrypted data

cards_physical


/v1/cards/physical

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/cards/physical"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        CardsApi apiInstance = new CardsApi();
        Body_5 body = ; // Body_5 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_4 result = apiInstance.physicalAddCard(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#physicalAddCard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        Body_5 body = ; // Body_5 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_4 result = apiInstance.physicalAddCard(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#physicalAddCard");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_5 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Tokenize a card by physical encrypted data
[apiInstance physicalAddCardWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Body_5}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Token actions privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.physicalAddCard(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class physicalAddCardExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new CardsApi();
            var body = new Body_5(); // Body_5 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Token actions privilege required) (optional) 

            try
            {
                // Tokenize a card by physical encrypted data
                inline_response_200_4 result = apiInstance.physicalAddCard(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.physicalAddCard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiCardsApi();
$body = ; // Body_5 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)

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

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

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Token actions privilege required)

eval { 
    my $result = $api_instance->physicalAddCard(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->physicalAddCard: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Body_5 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Token actions privilege required) (optional)

try: 
    # Tokenize a card by physical encrypted data
    api_response = api_instance.physical_add_card(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->physicalAddCard: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Token actions privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - Added

Status: 422 - Unprocessable Entity


removeUser

Removes a card

Deletes the user.


/v1/cards/delete

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/cards/delete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        CardsApi apiInstance = new CardsApi();
        Body_3 body = ; // Body_3 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_3 result = apiInstance.removeUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#removeUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        Body_3 body = ; // Body_3 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_3 result = apiInstance.removeUser(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#removeUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_3 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Removes a card
[apiInstance removeUserWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Body_3}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Token actions privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.removeUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class removeUserExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new CardsApi();
            var body = new Body_3(); // Body_3 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Token actions privilege required) (optional) 

            try
            {
                // Removes a card
                inline_response_200_3 result = apiInstance.removeUser(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.removeUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiCardsApi();
$body = ; // Body_3 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)

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

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

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Body_3->new(); # Body_3 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Token actions privilege required)

eval { 
    my $result = $api_instance->removeUser(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->removeUser: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Body_3 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Token actions privilege required) (optional)

try: 
    # Removes a card
    api_response = api_instance.remove_user(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->removeUser: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Token actions privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 403 - Not Allowed

Status: 422 - Unprocessable Entity


Dcc

dccPurchaseConfirm

Confirm previous DCC payment

confirm_purchase_dcc


/v1/payments/dcc/{order}/confirm

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/dcc/{order}/confirm"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DccApi;

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

public class DccApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        DccApi apiInstance = new DccApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Body_25 body = ; // Body_25 | 
        try {
            inline_response_200_23 result = apiInstance.dccPurchaseConfirm(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DccApi#dccPurchaseConfirm");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DccApi;

public class DccApiExample {

    public static void main(String[] args) {
        DccApi apiInstance = new DccApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Body_25 body = ; // Body_25 | 
        try {
            inline_response_200_23 result = apiInstance.dccPurchaseConfirm(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DccApi#dccPurchaseConfirm");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
String *order = order_example; // 
Body_25 *body = ; //  (optional)

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

// Confirm previous DCC payment
[apiInstance dccPurchaseConfirmWith:pAYCOMETAPITOKEN
    order:order
    body:body
              completionHandler: ^(inline_response_200_23 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.DccApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Body_25}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.dccPurchaseConfirm(pAYCOMETAPITOKENorder, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class dccPurchaseConfirmExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new DccApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var order = order_example;  // String | 
            var body = new Body_25(); // Body_25 |  (optional) 

            try
            {
                // Confirm previous DCC payment
                inline_response_200_23 result = apiInstance.dccPurchaseConfirm(pAYCOMETAPITOKEN, order, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DccApi.dccPurchaseConfirm: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiDccApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$order = order_example; // String | 
$body = ; // Body_25 | 

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

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

my $api_instance = WWW::SwaggerClient::DccApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $order = order_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_25->new(); # Body_25 | 

eval { 
    my $result = $api_instance->dccPurchaseConfirm(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DccApi->dccPurchaseConfirm: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DccApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
order = order_example # String | 
body =  # Body_25 |  (optional)

try: 
    # Confirm previous DCC payment
    api_response = api_instance.dcc_purchase_confirm(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DccApi->dccPurchaseConfirm: %s\n" % e)

Parameters

Path parameters
Name Description
order*
String
Required
Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


dccPurchaseCreate

Create an DCC payment

execute_purchase_dcc


/v1/payments/dcc

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/dcc"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DccApi;

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

public class DccApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        DccApi apiInstance = new DccApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_24 body = ; // Body_24 | 
        try {
            inline_response_200_22 result = apiInstance.dccPurchaseCreate(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DccApi#dccPurchaseCreate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DccApi;

public class DccApiExample {

    public static void main(String[] args) {
        DccApi apiInstance = new DccApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_24 body = ; // Body_24 | 
        try {
            inline_response_200_22 result = apiInstance.dccPurchaseCreate(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DccApi#dccPurchaseCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_24 *body = ; //  (optional)

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

// Create an DCC payment
[apiInstance dccPurchaseCreateWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_22 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.DccApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_24}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.dccPurchaseCreate(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class dccPurchaseCreateExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new DccApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_24(); // Body_24 |  (optional) 

            try
            {
                // Create an DCC payment
                inline_response_200_22 result = apiInstance.dccPurchaseCreate(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DccApi.dccPurchaseCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiDccApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_24 | 

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

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

my $api_instance = WWW::SwaggerClient::DccApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_24->new(); # Body_24 | 

eval { 
    my $result = $api_instance->dccPurchaseCreate(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DccApi->dccPurchaseCreate: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DccApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_24 |  (optional)

try: 
    # Create an DCC payment
    api_response = api_instance.dcc_purchase_create(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DccApi->dccPurchaseCreate: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Error

infoError

Gets an error description

info_error


/v1/errors

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/errors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ErrorApi;

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

public class ErrorApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        ErrorApi apiInstance = new ErrorApi();
        Body body = { }; // Body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200 result = apiInstance.infoError(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ErrorApi#infoError");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ErrorApi;

public class ErrorApiExample {

    public static void main(String[] args) {
        ErrorApi apiInstance = new ErrorApi();
        Body body = { }; // Body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200 result = apiInstance.infoError(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ErrorApi#infoError");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Gets an error description
[apiInstance infoErrorWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.ErrorApi()
var opts = { 
  'body': { } // {{Body}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.infoError(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class infoErrorExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new ErrorApi();
            var body = new Body(); // Body |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Gets an error description
                inline_response_200 result = apiInstance.infoError(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ErrorApi.infoError: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiErrorApi();
$body = { }; // Body | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::ErrorApi->new();
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->infoError(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ErrorApi->infoError: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ErrorApi()
body = { } # Body |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Gets an error description
    api_response = api_instance.info_error(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ErrorApi->infoError: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Exchange

exchange

Converts a certain amount from a currency to another.

Gets the exchange of an amount.


/v1/exchange

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/exchange"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangeApi;

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

public class ExchangeApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        ExchangeApi apiInstance = new ExchangeApi();
        Body_7 body = ; // Body_7 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_6 result = apiInstance.exchange(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangeApi#exchange");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangeApi;

public class ExchangeApiExample {

    public static void main(String[] args) {
        ExchangeApi apiInstance = new ExchangeApi();
        Body_7 body = ; // Body_7 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_6 result = apiInstance.exchange(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangeApi#exchange");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_7 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Converts a certain amount from a currency to another.
[apiInstance exchangeWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.ExchangeApi()
var opts = { 
  'body':  // {{Body_7}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.exchange(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangeExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new ExchangeApi();
            var body = new Body_7(); // Body_7 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Converts a certain amount from a currency to another.
                inline_response_200_6 result = apiInstance.exchange(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangeApi.exchange: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiExchangeApi();
$body = ; // Body_7 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::ExchangeApi->new();
my $body = WWW::SwaggerClient::Object::Body_7->new(); # Body_7 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->exchange(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ExchangeApi->exchange: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ExchangeApi()
body =  # Body_7 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Converts a certain amount from a currency to another.
    api_response = api_instance.exchange(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExchangeApi->exchange: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 403 - Not Allowed

Status: 422 - Unprocessable Entity


Form

form

Create form view for user capture

Create form for user capture. Set operationType and attach the default request, PAYCOMET will generate a URL for user data capture.


/v1/form

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/form"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FormApi;

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

public class FormApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        FormApi apiInstance = new FormApi();
        Body_12 body = ; // Body_12 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization)
        try {
            inline_response_200_11 result = apiInstance.form(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FormApi#form");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FormApi;

public class FormApiExample {

    public static void main(String[] args) {
        FormApi apiInstance = new FormApi();
        Body_12 body = ; // Body_12 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization)
        try {
            inline_response_200_11 result = apiInstance.form(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FormApi#form");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_12 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization) (optional)

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

// Create form view for user capture
[apiInstance formWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.FormApi()
var opts = { 
  'body':  // {{Body_12}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.form(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class formExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new FormApi();
            var body = new Body_12(); // Body_12 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization) (optional) 

            try
            {
                // Create form view for user capture
                inline_response_200_11 result = apiInstance.form(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FormApi.form: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiFormApi();
$body = ; // Body_12 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization)

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

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

my $api_instance = WWW::SwaggerClient::FormApi->new();
my $body = WWW::SwaggerClient::Object::Body_12->new(); # Body_12 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization)

eval { 
    my $result = $api_instance->form(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FormApi->form: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FormApi()
body =  # Body_12 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization) (optional)

try: 
    # Create form view for user capture
    api_response = api_instance.form(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FormApi->form: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Authorization privilege required, token actions privilege required in case of tokenization)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Heartbeat

heartbeat

Check the system

Get heartbeat of API


/v1/heartbeat

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/heartbeat"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeartbeatApi;

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

public class HeartbeatApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        HeartbeatApi apiInstance = new HeartbeatApi();
        Body_8 body = ; // Body_8 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_7 result = apiInstance.heartbeat(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeartbeatApi#heartbeat");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HeartbeatApi;

public class HeartbeatApiExample {

    public static void main(String[] args) {
        HeartbeatApi apiInstance = new HeartbeatApi();
        Body_8 body = ; // Body_8 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_7 result = apiInstance.heartbeat(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeartbeatApi#heartbeat");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_8 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Check the system
[apiInstance heartbeatWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.HeartbeatApi()
var opts = { 
  'body':  // {{Body_8}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.heartbeat(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class heartbeatExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new HeartbeatApi();
            var body = new Body_8(); // Body_8 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Check the system
                inline_response_200_7 result = apiInstance.heartbeat(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HeartbeatApi.heartbeat: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiHeartbeatApi();
$body = ; // Body_8 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::HeartbeatApi->new();
my $body = WWW::SwaggerClient::Object::Body_8->new(); # Body_8 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->heartbeat(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HeartbeatApi->heartbeat: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.HeartbeatApi()
body =  # Body_8 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Check the system
    api_response = api_instance.heartbeat(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HeartbeatApi->heartbeat: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


IVR

checkSession

Checks an IVR session

check_session


/v1/ivr/session-state

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/ivr/session-state"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IVRApi;

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

public class IVRApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_35 body = ; // Body_35 | 
        try {
            inline_response_200_30 result = apiInstance.checkSession(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IVRApi#checkSession");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IVRApi;

public class IVRApiExample {

    public static void main(String[] args) {
        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_35 body = ; // Body_35 | 
        try {
            inline_response_200_30 result = apiInstance.checkSession(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IVRApi#checkSession");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_35 *body = ; //  (optional)

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

// Checks an IVR session
[apiInstance checkSessionWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_30 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.IVRApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_35}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkSession(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class checkSessionExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new IVRApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_35(); // Body_35 |  (optional) 

            try
            {
                // Checks an IVR session
                inline_response_200_30 result = apiInstance.checkSession(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IVRApi.checkSession: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiIVRApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_35 | 

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

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

my $api_instance = WWW::SwaggerClient::IVRApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_35->new(); # Body_35 | 

eval { 
    my $result = $api_instance->checkSession(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IVRApi->checkSession: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.IVRApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_35 |  (optional)

try: 
    # Checks an IVR session
    api_response = api_instance.check_session(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IVRApi->checkSession: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


getSession

Creates an IVR session

get_session


/v1/ivr/get-session

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/ivr/get-session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IVRApi;

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

public class IVRApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_34 body = ; // Body_34 | 
        try {
            inline_response_200_29 result = apiInstance.getSession(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IVRApi#getSession");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IVRApi;

public class IVRApiExample {

    public static void main(String[] args) {
        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_34 body = ; // Body_34 | 
        try {
            inline_response_200_29 result = apiInstance.getSession(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IVRApi#getSession");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_34 *body = ; //  (optional)

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

// Creates an IVR session
[apiInstance getSessionWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_29 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.IVRApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_34}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSession(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSessionExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new IVRApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_34(); // Body_34 |  (optional) 

            try
            {
                // Creates an IVR session
                inline_response_200_29 result = apiInstance.getSession(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IVRApi.getSession: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiIVRApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_34 | 

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

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

my $api_instance = WWW::SwaggerClient::IVRApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_34->new(); # Body_34 | 

eval { 
    my $result = $api_instance->getSession(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IVRApi->getSession: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.IVRApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_34 |  (optional)

try: 
    # Creates an IVR session
    api_response = api_instance.get_session(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IVRApi->getSession: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Ip

getCountrybyIP

Retrieves country info by IP

Country by IP


/v1/ip

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/ip"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IpApi;

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

public class IpApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        IpApi apiInstance = new IpApi();
        Body_10 body = ; // Body_10 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_9 result = apiInstance.getCountrybyIP(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IpApi#getCountrybyIP");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IpApi;

public class IpApiExample {

    public static void main(String[] args) {
        IpApi apiInstance = new IpApi();
        Body_10 body = ; // Body_10 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_9 result = apiInstance.getCountrybyIP(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IpApi#getCountrybyIP");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_10 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Retrieves country info by IP
[apiInstance getCountrybyIPWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.IpApi()
var opts = { 
  'body':  // {{Body_10}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCountrybyIP(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCountrybyIPExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new IpApi();
            var body = new Body_10(); // Body_10 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Retrieves country info by IP
                inline_response_200_9 result = apiInstance.getCountrybyIP(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IpApi.getCountrybyIP: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiIpApi();
$body = ; // Body_10 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::IpApi->new();
my $body = WWW::SwaggerClient::Object::Body_10->new(); # Body_10 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->getCountrybyIP(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IpApi->getCountrybyIP: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.IpApi()
body =  # Body_10 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Retrieves country info by IP
    api_response = api_instance.get_countryby_ip(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IpApi->getCountrybyIP: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Launchpad

launchAuthorization

Creates a payment link and sends it to customer

Generate a authorization link. It will send a challenge URL to the client.


/v1/launchpad/authorization

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/launchpad/authorization"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LaunchpadApi;

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

public class LaunchpadApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        LaunchpadApi apiInstance = new LaunchpadApi();
        Body_36 body = { }; // Body_36 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.launchAuthorization(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LaunchpadApi#launchAuthorization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LaunchpadApi;

public class LaunchpadApiExample {

    public static void main(String[] args) {
        LaunchpadApi apiInstance = new LaunchpadApi();
        Body_36 body = { }; // Body_36 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.launchAuthorization(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LaunchpadApi#launchAuthorization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_36 *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required) (optional)

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

// Creates a payment link and sends it to customer
[apiInstance launchAuthorizationWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_21 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.LaunchpadApi()
var opts = { 
  'body': { } // {{Body_36}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Authorization privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.launchAuthorization(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class launchAuthorizationExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new LaunchpadApi();
            var body = new Body_36(); // Body_36 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required) (optional) 

            try
            {
                // Creates a payment link and sends it to customer
                inline_response_200_21 result = apiInstance.launchAuthorization(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LaunchpadApi.launchAuthorization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiLaunchpadApi();
$body = { }; // Body_36 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)

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

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

my $api_instance = WWW::SwaggerClient::LaunchpadApi->new();
my $body = WWW::SwaggerClient::Object::Body_36->new(); # Body_36 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)

eval { 
    my $result = $api_instance->launchAuthorization(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LaunchpadApi->launchAuthorization: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LaunchpadApi()
body = { } # Body_36 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required) (optional)

try: 
    # Creates a payment link and sends it to customer
    api_response = api_instance.launch_authorization(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LaunchpadApi->launchAuthorization: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Authorization privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


launchPreauthorization

Executes a preauthorization link and sends it to customer

Generate a preauthorization link. It will send a challenge URL to the client.


/v1/launchpad/preauthorization

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/launchpad/preauthorization"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LaunchpadApi;

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

public class LaunchpadApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        LaunchpadApi apiInstance = new LaunchpadApi();
        Body_37 body = { }; // Body_37 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.launchPreauthorization(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LaunchpadApi#launchPreauthorization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LaunchpadApi;

public class LaunchpadApiExample {

    public static void main(String[] args) {
        LaunchpadApi apiInstance = new LaunchpadApi();
        Body_37 body = { }; // Body_37 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.launchPreauthorization(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LaunchpadApi#launchPreauthorization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_37 *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required) (optional)

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

// Executes a preauthorization link and sends it to customer
[apiInstance launchPreauthorizationWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_21 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.LaunchpadApi()
var opts = { 
  'body': { } // {{Body_37}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Authorization privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.launchPreauthorization(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class launchPreauthorizationExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new LaunchpadApi();
            var body = new Body_37(); // Body_37 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required) (optional) 

            try
            {
                // Executes a preauthorization link and sends it to customer
                inline_response_200_21 result = apiInstance.launchPreauthorization(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LaunchpadApi.launchPreauthorization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiLaunchpadApi();
$body = { }; // Body_37 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)

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

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

my $api_instance = WWW::SwaggerClient::LaunchpadApi->new();
my $body = WWW::SwaggerClient::Object::Body_37->new(); # Body_37 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)

eval { 
    my $result = $api_instance->launchPreauthorization(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LaunchpadApi->launchPreauthorization: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LaunchpadApi()
body = { } # Body_37 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required) (optional)

try: 
    # Executes a preauthorization link and sends it to customer
    api_response = api_instance.launch_preauthorization(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LaunchpadApi->launchPreauthorization: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Authorization privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


launchSubscription

Creates a subscription link and sends it to customer

Generate a subscription link. It will send a challenge URL to the client.


/v1/launchpad/subscription

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/launchpad/subscription"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LaunchpadApi;

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

public class LaunchpadApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        LaunchpadApi apiInstance = new LaunchpadApi();
        Body_38 body = { }; // Body_38 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.launchSubscription(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LaunchpadApi#launchSubscription");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LaunchpadApi;

public class LaunchpadApiExample {

    public static void main(String[] args) {
        LaunchpadApi apiInstance = new LaunchpadApi();
        Body_38 body = { }; // Body_38 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.launchSubscription(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LaunchpadApi#launchSubscription");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_38 *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required) (optional)

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

// Creates a subscription link and sends it to customer
[apiInstance launchSubscriptionWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_21 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.LaunchpadApi()
var opts = { 
  'body': { } // {{Body_38}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Authorization privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.launchSubscription(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class launchSubscriptionExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new LaunchpadApi();
            var body = new Body_38(); // Body_38 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required) (optional) 

            try
            {
                // Creates a subscription link and sends it to customer
                inline_response_200_21 result = apiInstance.launchSubscription(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LaunchpadApi.launchSubscription: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiLaunchpadApi();
$body = { }; // Body_38 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)

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

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

my $api_instance = WWW::SwaggerClient::LaunchpadApi->new();
my $body = WWW::SwaggerClient::Object::Body_38->new(); # Body_38 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)

eval { 
    my $result = $api_instance->launchSubscription(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LaunchpadApi->launchSubscription: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LaunchpadApi()
body = { } # Body_38 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required) (optional)

try: 
    # Creates a subscription link and sends it to customer
    api_response = api_instance.launch_subscription(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LaunchpadApi->launchSubscription: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Authorization privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Marketplace

splitTransfer

Make a transfer to other accounts on PAYCOMET

Make a deposit in a destination account


/v1/marketplace/split-transfer

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/marketplace/split-transfer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

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

public class MarketplaceApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_26 body = ; // Body_26 | 
        try {
            inline_response_200_24 result = apiInstance.splitTransfer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#splitTransfer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_26 body = ; // Body_26 | 
        try {
            inline_response_200_24 result = apiInstance.splitTransfer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#splitTransfer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_26 *body = ; //  (optional)

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

// Make a transfer to other accounts on PAYCOMET
[apiInstance splitTransferWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_24 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_26}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.splitTransfer(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class splitTransferExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_26(); // Body_26 |  (optional) 

            try
            {
                // Make a transfer to other accounts on PAYCOMET
                inline_response_200_24 result = apiInstance.splitTransfer(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.splitTransfer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_26 | 

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

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

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_26->new(); # Body_26 | 

eval { 
    my $result = $api_instance->splitTransfer(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->splitTransfer: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_26 |  (optional)

try: 
    # Make a transfer to other accounts on PAYCOMET
    api_response = api_instance.split_transfer(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->splitTransfer: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


splitTransferReversal

Run a split transfer reversal based on a previous split transfer

Make a split transfer reversal request


/v1/marketplace/split-transfer-reversal

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/marketplace/split-transfer-reversal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

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

public class MarketplaceApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_27 body = ; // Body_27 | 
        try {
            inline_response_200_24 result = apiInstance.splitTransferReversal(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#splitTransferReversal");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_27 body = ; // Body_27 | 
        try {
            inline_response_200_24 result = apiInstance.splitTransferReversal(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#splitTransferReversal");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_27 *body = ; //  (optional)

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

// Run a split transfer reversal based on a previous split transfer
[apiInstance splitTransferReversalWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_24 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_27}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.splitTransferReversal(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class splitTransferReversalExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_27(); // Body_27 |  (optional) 

            try
            {
                // Run a split transfer reversal based on a previous split transfer
                inline_response_200_24 result = apiInstance.splitTransferReversal(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.splitTransferReversal: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_27 | 

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

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

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_27->new(); # Body_27 | 

eval { 
    my $result = $api_instance->splitTransferReversal(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->splitTransferReversal: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_27 |  (optional)

try: 
    # Run a split transfer reversal based on a previous split transfer
    api_response = api_instance.split_transfer_reversal(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->splitTransferReversal: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


transfer

Run a transfer

Run a transfer in a destination account


/v1/marketplace/transfer

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/marketplace/transfer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

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

public class MarketplaceApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_28 body = ; // Body_28 | 
        try {
            inline_response_200_25 result = apiInstance.transfer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#transfer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_28 body = ; // Body_28 | 
        try {
            inline_response_200_25 result = apiInstance.transfer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#transfer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_28 *body = ; //  (optional)

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

// Run a transfer
[apiInstance transferWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_25 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_28}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transfer(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transferExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_28(); // Body_28 |  (optional) 

            try
            {
                // Run a transfer
                inline_response_200_25 result = apiInstance.transfer(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.transfer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_28 | 

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

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

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_28->new(); # Body_28 | 

eval { 
    my $result = $api_instance->transfer(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->transfer: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_28 |  (optional)

try: 
    # Run a transfer
    api_response = api_instance.transfer(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->transfer: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


transferReversal

Make a transfer reversal based on a previous transfer

Make a transfer reversal based on a previous transfer


/v1/marketplace/transfer-reversal

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/marketplace/transfer-reversal"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MarketplaceApi;

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

public class MarketplaceApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_29 body = ; // Body_29 | 
        try {
            inline_response_200_25 result = apiInstance.transferReversal(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#transferReversal");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MarketplaceApi;

public class MarketplaceApiExample {

    public static void main(String[] args) {
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Body_29 body = ; // Body_29 | 
        try {
            inline_response_200_25 result = apiInstance.transferReversal(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MarketplaceApi#transferReversal");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Body_29 *body = ; //  (optional)

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

// Make a transfer reversal based on a previous transfer
[apiInstance transferReversalWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_25 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Body_29}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transferReversal(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transferReversalExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Body_29(); // Body_29 |  (optional) 

            try
            {
                // Make a transfer reversal based on a previous transfer
                inline_response_200_25 result = apiInstance.transferReversal(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MarketplaceApi.transferReversal: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiMarketplaceApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$body = ; // Body_29 | 

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

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

my $api_instance = WWW::SwaggerClient::MarketplaceApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)
my $body = WWW::SwaggerClient::Object::Body_29->new(); # Body_29 | 

eval { 
    my $result = $api_instance->transferReversal(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MarketplaceApi->transferReversal: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Body_29 |  (optional)

try: 
    # Make a transfer reversal based on a previous transfer
    api_response = api_instance.transfer_reversal(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MarketplaceApi->transferReversal: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Authorization privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Methods

getUserPaymentMethods

Retrieves product methods

Payment methods of the client


/v1/methods

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/methods"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MethodsApi;

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

public class MethodsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        MethodsApi apiInstance = new MethodsApi();
        Body_11 body = ; // Body_11 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            array[inline_response_200_10] result = apiInstance.getUserPaymentMethods(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MethodsApi#getUserPaymentMethods");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MethodsApi;

public class MethodsApiExample {

    public static void main(String[] args) {
        MethodsApi apiInstance = new MethodsApi();
        Body_11 body = ; // Body_11 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            array[inline_response_200_10] result = apiInstance.getUserPaymentMethods(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MethodsApi#getUserPaymentMethods");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_11 *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Retrieves product methods
[apiInstance getUserPaymentMethodsWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(array[inline_response_200_10] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.MethodsApi()
var opts = { 
  'body':  // {{Body_11}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Query privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserPaymentMethods(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUserPaymentMethodsExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new MethodsApi();
            var body = new Body_11(); // Body_11 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required) (optional) 

            try
            {
                // Retrieves product methods
                array[inline_response_200_10] result = apiInstance.getUserPaymentMethods(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MethodsApi.getUserPaymentMethods: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiMethodsApi();
$body = ; // Body_11 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)

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

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

my $api_instance = WWW::SwaggerClient::MethodsApi->new();
my $body = WWW::SwaggerClient::Object::Body_11->new(); # Body_11 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->getUserPaymentMethods(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MethodsApi->getUserPaymentMethods: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MethodsApi()
body =  # Body_11 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Retrieves product methods
    api_response = api_instance.get_user_payment_methods(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MethodsApi->getUserPaymentMethods: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Query privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Mirakl

miraklInvoicesSearch

Search Mirakl invoices

nirakl_invoice_search


/v1/invoices

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/invoices"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MiraklApi;

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

public class MiraklApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        MiraklApi apiInstance = new MiraklApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        Body_9 body = ; // Body_9 | 
        try {
            inline_response_200_8 result = apiInstance.miraklInvoicesSearch(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiraklApi#miraklInvoicesSearch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MiraklApi;

public class MiraklApiExample {

    public static void main(String[] args) {
        MiraklApi apiInstance = new MiraklApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        Body_9 body = ; // Body_9 | 
        try {
            inline_response_200_8 result = apiInstance.miraklInvoicesSearch(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiraklApi#miraklInvoicesSearch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required)
Body_9 *body = ; //  (optional)

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

// Search Mirakl invoices
[apiInstance miraklInvoicesSearchWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.MiraklApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Query privilege required)
var opts = { 
  'body':  // {{Body_9}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.miraklInvoicesSearch(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class miraklInvoicesSearchExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new MiraklApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required)
            var body = new Body_9(); // Body_9 |  (optional) 

            try
            {
                // Search Mirakl invoices
                inline_response_200_8 result = apiInstance.miraklInvoicesSearch(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MiraklApi.miraklInvoicesSearch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiMiraklApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
$body = ; // Body_9 | 

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

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

my $api_instance = WWW::SwaggerClient::MiraklApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)
my $body = WWW::SwaggerClient::Object::Body_9->new(); # Body_9 | 

eval { 
    my $result = $api_instance->miraklInvoicesSearch(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MiraklApi->miraklInvoicesSearch: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MiraklApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required)
body =  # Body_9 |  (optional)

try: 
    # Search Mirakl invoices
    api_response = api_instance.mirakl_invoices_search(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MiraklApi->miraklInvoicesSearch: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Query privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Payments

executePurchase

Executes a payment

Generate a purchase. It will confirms a charge or send a challenge URL to the commerce.


/v1/payments

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentsApi;

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

public class PaymentsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        PaymentsApi apiInstance = new PaymentsApi();
        Body_13 body = { }; // Body_13 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_12 result = apiInstance.executePurchase(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#executePurchase");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentsApi;

public class PaymentsApiExample {

    public static void main(String[] args) {
        PaymentsApi apiInstance = new PaymentsApi();
        Body_13 body = { }; // Body_13 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_12 result = apiInstance.executePurchase(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#executePurchase");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_13 *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required) (optional)

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

// Executes a payment
[apiInstance executePurchaseWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.PaymentsApi()
var opts = { 
  'body': { } // {{Body_13}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Authorization privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.executePurchase(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class executePurchaseExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new PaymentsApi();
            var body = new Body_13(); // Body_13 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required) (optional) 

            try
            {
                // Executes a payment
                inline_response_200_12 result = apiInstance.executePurchase(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentsApi.executePurchase: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiPaymentsApi();
$body = { }; // Body_13 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)

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

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

my $api_instance = WWW::SwaggerClient::PaymentsApi->new();
my $body = WWW::SwaggerClient::Object::Body_13->new(); # Body_13 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)

eval { 
    my $result = $api_instance->executePurchase(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentsApi->executePurchase: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
body = { } # Body_13 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required) (optional)

try: 
    # Executes a payment
    api_response = api_instance.execute_purchase(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentsApi->executePurchase: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Authorization privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


executePurchaseRtoken

Executes a payment by refence

Generate a purchase with reference. It will confirms a charge or send a challenge URL to the commerce.


/v1/payments/rtoken

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/rtoken"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentsApi;

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

public class PaymentsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        PaymentsApi apiInstance = new PaymentsApi();
        Body_20 body = { }; // Body_20 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_18 result = apiInstance.executePurchaseRtoken(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#executePurchaseRtoken");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentsApi;

public class PaymentsApiExample {

    public static void main(String[] args) {
        PaymentsApi apiInstance = new PaymentsApi();
        Body_20 body = { }; // Body_20 | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_18 result = apiInstance.executePurchaseRtoken(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#executePurchaseRtoken");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
Body_20 *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required) (optional)

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

// Executes a payment by refence
[apiInstance executePurchaseRtokenWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_18 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.PaymentsApi()
var opts = { 
  'body': { } // {{Body_20}} 
  'pAYCOMETAPITOKEN': pAYCOMETAPITOKEN_example // {{String}} PAYCOMET API key (Authorization privilege required)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.executePurchaseRtoken(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class executePurchaseRtokenExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new PaymentsApi();
            var body = new Body_20(); // Body_20 |  (optional) 
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required) (optional) 

            try
            {
                // Executes a payment by refence
                inline_response_200_18 result = apiInstance.executePurchaseRtoken(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentsApi.executePurchaseRtoken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiPaymentsApi();
$body = { }; // Body_20 | 
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)

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

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

my $api_instance = WWW::SwaggerClient::PaymentsApi->new();
my $body = WWW::SwaggerClient::Object::Body_20->new(); # Body_20 | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Authorization privilege required)

eval { 
    my $result = $api_instance->executePurchaseRtoken(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentsApi->executePurchaseRtoken: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
body = { } # Body_20 |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required) (optional)

try: 
    # Executes a payment by refence
    api_response = api_instance.execute_purchase_rtoken(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentsApi->executePurchaseRtoken: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN
String
PAYCOMET API key (Authorization privilege required)
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


operationInfo

Get info of a order

operation_info


/v1/payments/{order}/info

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/{order}/info"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentsApi;

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

public class PaymentsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        PaymentsApi apiInstance = new PaymentsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        String order = order_example; // String | 
        Body_15 body = ; // Body_15 | 
        try {
            inline_response_200_14 result = apiInstance.operationInfo(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#operationInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentsApi;

public class PaymentsApiExample {

    public static void main(String[] args) {
        PaymentsApi apiInstance = new PaymentsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        String order = order_example; // String | 
        Body_15 body = ; // Body_15 | 
        try {
            inline_response_200_14 result = apiInstance.operationInfo(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#operationInfo");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required)
String *order = order_example; // 
Body_15 *body = ; //  (optional)

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

// Get info of a order
[apiInstance operationInfoWith:pAYCOMETAPITOKEN
    order:order
    body:body
              completionHandler: ^(inline_response_200_14 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.PaymentsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Query privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Body_15}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.operationInfo(pAYCOMETAPITOKENorder, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class operationInfoExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new PaymentsApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required)
            var order = order_example;  // String | 
            var body = new Body_15(); // Body_15 |  (optional) 

            try
            {
                // Get info of a order
                inline_response_200_14 result = apiInstance.operationInfo(pAYCOMETAPITOKEN, order, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentsApi.operationInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiPaymentsApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
$order = order_example; // String | 
$body = ; // Body_15 | 

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

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

my $api_instance = WWW::SwaggerClient::PaymentsApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)
my $order = order_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_15->new(); # Body_15 | 

eval { 
    my $result = $api_instance->operationInfo(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentsApi->operationInfo: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required)
order = order_example # String | 
body =  # Body_15 |  (optional)

try: 
    # Get info of a order
    api_response = api_instance.operation_info(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentsApi->operationInfo: %s\n" % e)

Parameters

Path parameters
Name Description
order*
String
Required
Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Query privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


operationSearch

Search orders

operation_search


/v1/payments/search

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PaymentsApi;

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

public class PaymentsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        PaymentsApi apiInstance = new PaymentsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        Body_16 body = ; // Body_16 | 
        try {
            inline_response_200_15 result = apiInstance.operationSearch(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#operationSearch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PaymentsApi;

public class PaymentsApiExample {

    public static void main(String[] args) {
        PaymentsApi apiInstance = new PaymentsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        Body_16 body = ; // Body_16 | 
        try {
            inline_response_200_15 result = apiInstance.operationSearch(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PaymentsApi#operationSearch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required)
Body_16 *body = ; //  (optional)

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

// Search orders
[apiInstance operationSearchWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_15 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.PaymentsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Query privilege required)
var opts = { 
  'body':  // {{Body_16}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.operationSearch(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class operationSearchExample
    {
        public void main()
        {

            // Configure API key authorization: paycometApiKey
            Configuration.Default.ApiKey.Add("PAYCOMET-API-TOKEN", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("PAYCOMET-API-TOKEN", "Bearer");

            var apiInstance = new PaymentsApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required)
            var body = new Body_16(); // Body_16 |  (optional) 

            try
            {
                // Search orders
                inline_response_200_15 result = apiInstance.operationSearch(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentsApi.operationSearch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\ApiPaymentsApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
$body = ; // Body_16 | 

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

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

my $api_instance = WWW::SwaggerClient::PaymentsApi->new();
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)
my $body = WWW::SwaggerClient::Object::Body_16->new(); # Body_16 | 

eval { 
    my $result = $api_instance->operationSearch(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PaymentsApi->operationSearch: $@\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: paycometApiKey
swagger_client.configuration.api_key['PAYCOMET-API-TOKEN'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['PAYCOMET-API-TOKEN'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required)
body =  # Body_16 |  (optional)

try: 
    # Search orders
    api_response = api_instance.operation_search(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PaymentsApi->operationSearch: %s\n" % e)

Parameters

Header parameters
Name Description
PAYCOMET-API-TOKEN*
String
PAYCOMET API key (Query privilege required)
Required
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Preauthorizations

cancelPreauthorization

Cancel previous preauthorization

cancel_preauthorization


/v1/payments/{order}/preauth/cancel

Usage and SDK Samples

curl -X POST\
-H "PAYCOMET-API-TOKEN: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/{order}/preauth/cancel"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PreauthorizationsApi;

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

public class PreauthorizationsApiExample {

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

        // Configure API key authorization: paycometApiKey
        ApiKeyAuth paycometApiKey = (ApiKeyAuth) defaultClient.getAuthentication("paycometApiKey");
        paycometApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //paycometApiKey.setApiKeyPrefix("Token");

        PreauthorizationsApi apiInstance = new PreauthorizationsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
        String order = order_example; // String | 
        Body_18 body = ; // Body_18 | 
        try {
            inline_response_200_16 result = apiInstance.cancelPreauthorization(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PreauthorizationsApi#cancelPreauthorization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PreauthorizationsApi;

public class PreauthorizationsApiExample {

    public static void main(String[] args) {
        PreauthorizationsApi apiInstance = new PreauthorizationsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
        String order = order_example; // String | 
        Body_18 body = ; // Body_18 | 
        try {
            inline_response_200_16 result = apiInstance.cancelPreauthorization(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PreauthorizationsApi#cancelPreauthorization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: paycometApiKey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"PAYCOMET-API-TOKEN"];
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Preauthorization privilege required)
String *order = order_example; // 
Body_18 *body = ; //  (optional)

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

// Cancel previous preauthorization
[apiInstance cancelPreauthorizationWith:pAYCOMETAPITOKEN
    order:order
    body:body
              completionHandler: ^(inline_response_200_16 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');
var defaultClient = PaycometRestApi.ApiClient.instance;

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

var api = new PaycometRestApi.PreauthorizationsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Preauthorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Body_18}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cancelPreauthorization(pAYCOMETAPITOKENorder, opts, callback);