REST DOCS

Service url


                https://rest.paycomet.com
            

Specification


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

Download Swagger. You can import it into POSTMAN or SwaggerEditor, for example.


Authentication

The REST integration uses an authentication service with APIKEYS, which is generated in the control panel and must be included in a request header. For more details, go to the APIKEYS management page..


Capture form

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 "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) {
        
        BalanceApi apiInstance = new BalanceApi();
        V1_balance_body body = ; // V1_balance_body | 
        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();
        V1_balance_body body = ; // V1_balance_body | 
        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();
        }
    }
}
V1_balance_body *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 api = new PaycometRestApi.BalanceApi()
var opts = { 
  'body':  // {{V1_balance_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.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()
        {

            var apiInstance = new BalanceApi();
            var body = new V1_balance_body(); // V1_balance_body |  (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');

$api_instance = new Swagger\Client\Api\BalanceApi();
$body = ; // V1_balance_body | 
$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;

my $api_instance = WWW::SwaggerClient::BalanceApi->new();
my $body = WWW::SwaggerClient::Object::V1_balance_body->new(); # V1_balance_body | 
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

# create an instance of the API class
api_instance = swagger_client.BalanceApi()
body =  # V1_balance_body |  (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. Either card number and CVC2 or jetToken are required. For you to send directly the card data you should be PCI certified or the accepting the requirement to submit quarterly SAQ-AEP and get ASV scans. For most users is strongly recommended getting the jetToken with JETIFRAME or using GET integration to register the cards instead of REST.

This method supposes the registration of the card in PAYCOMET, it is not valid for subsequent charges with the exception of MIT. To register the card against the processor for subsequent recurring charges, it is necessary to charge for a secure environment, regardless of the amount.


/v1/cards

Usage and SDK Samples

curl -X POST\
-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) {
        
        CardsApi apiInstance = new CardsApi();
        V1_cards_body body = ; // V1_cards_body | 
        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();
        V1_cards_body body = ; // V1_cards_body | 
        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();
        }
    }
}
V1_cards_body *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Tokenizes a card. Either card number and CVC2 or jetToken are required. For you to send directly the card data you should be PCI certified or the accepting the requirement to submit quarterly SAQ-AEP and get ASV scans. For most users is strongly recommended getting the jetToken with JETIFRAME or using GET integration to register the cards instead of REST.
[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 api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{V1_cards_body}} 
  '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()
        {

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

            try
            {
                // Tokenizes a card. Either card number and CVC2 or jetToken are required. For you to send directly the card data you should be PCI certified or the accepting the requirement to submit quarterly SAQ-AEP and get ASV scans. For most users is strongly recommended getting the jetToken with JETIFRAME or using GET integration to register the cards instead of REST.
                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');

$api_instance = new Swagger\Client\Api\CardsApi();
$body = ; // V1_cards_body | 
$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;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::V1_cards_body->new(); # V1_cards_body | 
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

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

try: 
    # Tokenizes a card. Either card number and CVC2 or jetToken are required. For you to send directly the card data you should be PCI certified or the accepting the requirement to submit quarterly SAQ-AEP and get ASV scans. For most users is strongly recommended getting the jetToken with JETIFRAME or using GET integration to register the cards instead of REST.
    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 "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) {
        
        CardsApi apiInstance = new CardsApi();
        Cards_edit_body body = ; // Cards_edit_body | 
        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();
        Cards_edit_body body = ; // Cards_edit_body | 
        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();
        }
    }
}
Cards_edit_body *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 api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Cards_edit_body}} 
  '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()
        {

            var apiInstance = new CardsApi();
            var body = new Cards_edit_body(); // Cards_edit_body |  (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');

$api_instance = new Swagger\Client\Api\CardsApi();
$body = ; // Cards_edit_body | 
$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;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Cards_edit_body->new(); # Cards_edit_body | 
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

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Cards_edit_body |  (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 "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) {
        
        CardsApi apiInstance = new CardsApi();
        Cards_info_body body = ; // Cards_info_body | 
        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();
        Cards_info_body body = ; // Cards_info_body | 
        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();
        }
    }
}
Cards_info_body *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 api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Cards_info_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.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()
        {

            var apiInstance = new CardsApi();
            var body = new Cards_info_body(); // Cards_info_body |  (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');

$api_instance = new Swagger\Client\Api\CardsApi();
$body = ; // Cards_info_body | 
$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;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Cards_info_body->new(); # Cards_info_body | 
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

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Cards_info_body |  (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 "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) {
        
        CardsApi apiInstance = new CardsApi();
        Cards_physical_body body = ; // Cards_physical_body | 
        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();
        Cards_physical_body body = ; // Cards_physical_body | 
        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();
        }
    }
}
Cards_physical_body *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 api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Cards_physical_body}} 
  '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()
        {

            var apiInstance = new CardsApi();
            var body = new Cards_physical_body(); // Cards_physical_body |  (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');

$api_instance = new Swagger\Client\Api\CardsApi();
$body = ; // Cards_physical_body | 
$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;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Cards_physical_body->new(); # Cards_physical_body | 
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

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Cards_physical_body |  (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 "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) {
        
        CardsApi apiInstance = new CardsApi();
        Cards_delete_body body = ; // Cards_delete_body | 
        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();
        Cards_delete_body body = ; // Cards_delete_body | 
        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();
        }
    }
}
Cards_delete_body *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 api = new PaycometRestApi.CardsApi()
var opts = { 
  'body':  // {{Cards_delete_body}} 
  '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()
        {

            var apiInstance = new CardsApi();
            var body = new Cards_delete_body(); // Cards_delete_body |  (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');

$api_instance = new Swagger\Client\Api\CardsApi();
$body = ; // Cards_delete_body | 
$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;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $body = WWW::SwaggerClient::Object::Cards_delete_body->new(); # Cards_delete_body | 
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

# create an instance of the API class
api_instance = swagger_client.CardsApi()
body =  # Cards_delete_body |  (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 "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) {
        
        DccApi apiInstance = new DccApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_confirm_body body = ; // Order_confirm_body | 
        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 | 
        Order_confirm_body body = ; // Order_confirm_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
String *order = order_example; // 
Order_confirm_body *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 api = new PaycometRestApi.DccApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Order_confirm_body}} 
};
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()
        {

            var apiInstance = new DccApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var order = order_example;  // String | 
            var body = new Order_confirm_body(); // Order_confirm_body |  (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');

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

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;

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::Order_confirm_body->new(); # Order_confirm_body | 

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

# 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 =  # Order_confirm_body |  (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 "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) {
        
        DccApi apiInstance = new DccApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Payments_dcc_body body = ; // Payments_dcc_body | 
        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)
        Payments_dcc_body body = ; // Payments_dcc_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Payments_dcc_body *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 api = new PaycometRestApi.DccApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Payments_dcc_body}} 
};
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()
        {

            var apiInstance = new DccApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Payments_dcc_body(); // Payments_dcc_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.DccApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Payments_dcc_body |  (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 "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) {
        
        ErrorApi apiInstance = new ErrorApi();
        V1_errors_body body = { }; // V1_errors_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();
        V1_errors_body body = { }; // V1_errors_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();
        }
    }
}
V1_errors_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 api = new PaycometRestApi.ErrorApi()
var opts = { 
  'body': { } // {{V1_errors_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()
        {

            var apiInstance = new ErrorApi();
            var body = new V1_errors_body(); // V1_errors_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');

$api_instance = new Swagger\Client\Api\ErrorApi();
$body = { }; // V1_errors_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;

my $api_instance = WWW::SwaggerClient::ErrorApi->new();
my $body = WWW::SwaggerClient::Object::V1_errors_body->new(); # V1_errors_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

# create an instance of the API class
api_instance = swagger_client.ErrorApi()
body = { } # V1_errors_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 "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) {
        
        ExchangeApi apiInstance = new ExchangeApi();
        V1_exchange_body body = ; // V1_exchange_body | 
        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();
        V1_exchange_body body = ; // V1_exchange_body | 
        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();
        }
    }
}
V1_exchange_body *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 api = new PaycometRestApi.ExchangeApi()
var opts = { 
  'body':  // {{V1_exchange_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.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()
        {

            var apiInstance = new ExchangeApi();
            var body = new V1_exchange_body(); // V1_exchange_body |  (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');

$api_instance = new Swagger\Client\Api\ExchangeApi();
$body = ; // V1_exchange_body | 
$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;

my $api_instance = WWW::SwaggerClient::ExchangeApi->new();
my $body = WWW::SwaggerClient::Object::V1_exchange_body->new(); # V1_exchange_body | 
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

# create an instance of the API class
api_instance = swagger_client.ExchangeApi()
body =  # V1_exchange_body |  (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 "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) {
        
        FormApi apiInstance = new FormApi();
        V1_form_body body = ; // V1_form_body | 
        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();
        V1_form_body body = ; // V1_form_body | 
        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();
        }
    }
}
V1_form_body *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 api = new PaycometRestApi.FormApi()
var opts = { 
  'body':  // {{V1_form_body}} 
  '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()
        {

            var apiInstance = new FormApi();
            var body = new V1_form_body(); // V1_form_body |  (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');

$api_instance = new Swagger\Client\Api\FormApi();
$body = ; // V1_form_body | 
$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;

my $api_instance = WWW::SwaggerClient::FormApi->new();
my $body = WWW::SwaggerClient::Object::V1_form_body->new(); # V1_form_body | 
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

# create an instance of the API class
api_instance = swagger_client.FormApi()
body =  # V1_form_body |  (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 "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) {
        
        HeartbeatApi apiInstance = new HeartbeatApi();
        V1_heartbeat_body body = ; // V1_heartbeat_body | 
        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();
        V1_heartbeat_body body = ; // V1_heartbeat_body | 
        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();
        }
    }
}
V1_heartbeat_body *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 api = new PaycometRestApi.HeartbeatApi()
var opts = { 
  'body':  // {{V1_heartbeat_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.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()
        {

            var apiInstance = new HeartbeatApi();
            var body = new V1_heartbeat_body(); // V1_heartbeat_body |  (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');

$api_instance = new Swagger\Client\Api\HeartbeatApi();
$body = ; // V1_heartbeat_body | 
$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;

my $api_instance = WWW::SwaggerClient::HeartbeatApi->new();
my $body = WWW::SwaggerClient::Object::V1_heartbeat_body->new(); # V1_heartbeat_body | 
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

# create an instance of the API class
api_instance = swagger_client.HeartbeatApi()
body =  # V1_heartbeat_body |  (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 "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) {
        
        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Ivr_sessionstate_body body = ; // Ivr_sessionstate_body | 
        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)
        Ivr_sessionstate_body body = ; // Ivr_sessionstate_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Ivr_sessionstate_body *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 api = new PaycometRestApi.IVRApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Ivr_sessionstate_body}} 
};
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()
        {

            var apiInstance = new IVRApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Ivr_sessionstate_body(); // Ivr_sessionstate_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.IVRApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Ivr_sessionstate_body |  (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 "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) {
        
        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Ivr_getsession_body body = ; // Ivr_getsession_body | 
        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)
        Ivr_getsession_body body = ; // Ivr_getsession_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Ivr_getsession_body *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 api = new PaycometRestApi.IVRApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Ivr_getsession_body}} 
};
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()
        {

            var apiInstance = new IVRApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Ivr_getsession_body(); // Ivr_getsession_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.IVRApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Ivr_getsession_body |  (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


sessionCancel

Cancel an IVR session

session_cancell


/v1/ivr/session-cancel

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/ivr/session-cancel"
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) {
        
        IVRApi apiInstance = new IVRApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Ivr_sessioncancel_body body = ; // Ivr_sessioncancel_body | 
        try {
            inline_response_200_31 result = apiInstance.sessionCancel(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IVRApi#sessionCancel");
            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)
        Ivr_sessioncancel_body body = ; // Ivr_sessioncancel_body | 
        try {
            inline_response_200_31 result = apiInstance.sessionCancel(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IVRApi#sessionCancel");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Ivr_sessioncancel_body *body = ; //  (optional)

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

// Cancel an IVR session
[apiInstance sessionCancelWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_31 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');

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

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

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

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

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

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

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

eval { 
    my $result = $api_instance->sessionCancel(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IVRApi->sessionCancel: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Cancel an IVR session
    api_response = api_instance.session_cancel(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IVRApi->sessionCancel: %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 "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) {
        
        IpApi apiInstance = new IpApi();
        V1_ip_body body = ; // V1_ip_body | 
        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();
        V1_ip_body body = ; // V1_ip_body | 
        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();
        }
    }
}
V1_ip_body *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 api = new PaycometRestApi.IpApi()
var opts = { 
  'body':  // {{V1_ip_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.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()
        {

            var apiInstance = new IpApi();
            var body = new V1_ip_body(); // V1_ip_body |  (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');

$api_instance = new Swagger\Client\Api\IpApi();
$body = ; // V1_ip_body | 
$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;

my $api_instance = WWW::SwaggerClient::IpApi->new();
my $body = WWW::SwaggerClient::Object::V1_ip_body->new(); # V1_ip_body | 
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

# create an instance of the API class
api_instance = swagger_client.IpApi()
body =  # V1_ip_body |  (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 "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) {
        
        LaunchpadApi apiInstance = new LaunchpadApi();
        Launchpad_authorization_body body = { }; // Launchpad_authorization_body | 
        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();
        Launchpad_authorization_body body = { }; // Launchpad_authorization_body | 
        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();
        }
    }
}
Launchpad_authorization_body *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 api = new PaycometRestApi.LaunchpadApi()
var opts = { 
  'body': { } // {{Launchpad_authorization_body}} 
  '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()
        {

            var apiInstance = new LaunchpadApi();
            var body = new Launchpad_authorization_body(); // Launchpad_authorization_body |  (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');

$api_instance = new Swagger\Client\Api\LaunchpadApi();
$body = { }; // Launchpad_authorization_body | 
$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;

my $api_instance = WWW::SwaggerClient::LaunchpadApi->new();
my $body = WWW::SwaggerClient::Object::Launchpad_authorization_body->new(); # Launchpad_authorization_body | 
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

# create an instance of the API class
api_instance = swagger_client.LaunchpadApi()
body = { } # Launchpad_authorization_body |  (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 "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) {
        
        LaunchpadApi apiInstance = new LaunchpadApi();
        Launchpad_preauthorization_body body = { }; // Launchpad_preauthorization_body | 
        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();
        Launchpad_preauthorization_body body = { }; // Launchpad_preauthorization_body | 
        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();
        }
    }
}
Launchpad_preauthorization_body *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 api = new PaycometRestApi.LaunchpadApi()
var opts = { 
  'body': { } // {{Launchpad_preauthorization_body}} 
  '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()
        {

            var apiInstance = new LaunchpadApi();
            var body = new Launchpad_preauthorization_body(); // Launchpad_preauthorization_body |  (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');

$api_instance = new Swagger\Client\Api\LaunchpadApi();
$body = { }; // Launchpad_preauthorization_body | 
$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;

my $api_instance = WWW::SwaggerClient::LaunchpadApi->new();
my $body = WWW::SwaggerClient::Object::Launchpad_preauthorization_body->new(); # Launchpad_preauthorization_body | 
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

# create an instance of the API class
api_instance = swagger_client.LaunchpadApi()
body = { } # Launchpad_preauthorization_body |  (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 "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) {
        
        LaunchpadApi apiInstance = new LaunchpadApi();
        Launchpad_subscription_body body = { }; // Launchpad_subscription_body | 
        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();
        Launchpad_subscription_body body = { }; // Launchpad_subscription_body | 
        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();
        }
    }
}
Launchpad_subscription_body *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 api = new PaycometRestApi.LaunchpadApi()
var opts = { 
  'body': { } // {{Launchpad_subscription_body}} 
  '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()
        {

            var apiInstance = new LaunchpadApi();
            var body = new Launchpad_subscription_body(); // Launchpad_subscription_body |  (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');

$api_instance = new Swagger\Client\Api\LaunchpadApi();
$body = { }; // Launchpad_subscription_body | 
$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;

my $api_instance = WWW::SwaggerClient::LaunchpadApi->new();
my $body = WWW::SwaggerClient::Object::Launchpad_subscription_body->new(); # Launchpad_subscription_body | 
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

# create an instance of the API class
api_instance = swagger_client.LaunchpadApi()
body = { } # Launchpad_subscription_body |  (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 "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) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Marketplace_splittransfer_body body = ; // Marketplace_splittransfer_body | 
        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)
        Marketplace_splittransfer_body body = ; // Marketplace_splittransfer_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Marketplace_splittransfer_body *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 api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Marketplace_splittransfer_body}} 
};
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()
        {

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Marketplace_splittransfer_body(); // Marketplace_splittransfer_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Marketplace_splittransfer_body |  (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 "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) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Marketplace_splittransferreversal_body body = ; // Marketplace_splittransferreversal_body | 
        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)
        Marketplace_splittransferreversal_body body = ; // Marketplace_splittransferreversal_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Marketplace_splittransferreversal_body *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 api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Marketplace_splittransferreversal_body}} 
};
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()
        {

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Marketplace_splittransferreversal_body(); // Marketplace_splittransferreversal_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Marketplace_splittransferreversal_body |  (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 "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) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Marketplace_transfer_body body = ; // Marketplace_transfer_body | 
        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)
        Marketplace_transfer_body body = ; // Marketplace_transfer_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Marketplace_transfer_body *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 api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Marketplace_transfer_body}} 
};
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()
        {

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Marketplace_transfer_body(); // Marketplace_transfer_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Marketplace_transfer_body |  (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 "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) {
        
        MarketplaceApi apiInstance = new MarketplaceApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Marketplace_transferreversal_body body = ; // Marketplace_transferreversal_body | 
        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)
        Marketplace_transferreversal_body body = ; // Marketplace_transferreversal_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Marketplace_transferreversal_body *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 api = new PaycometRestApi.MarketplaceApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Marketplace_transferreversal_body}} 
};
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()
        {

            var apiInstance = new MarketplaceApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Authorization privilege required)
            var body = new Marketplace_transferreversal_body(); // Marketplace_transferreversal_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.MarketplaceApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Marketplace_transferreversal_body |  (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 "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) {
        
        MethodsApi apiInstance = new MethodsApi();
        V1_methods_body body = ; // V1_methods_body | 
        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();
        V1_methods_body body = ; // V1_methods_body | 
        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();
        }
    }
}
V1_methods_body *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 api = new PaycometRestApi.MethodsApi()
var opts = { 
  'body':  // {{V1_methods_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.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()
        {

            var apiInstance = new MethodsApi();
            var body = new V1_methods_body(); // V1_methods_body |  (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');

$api_instance = new Swagger\Client\Api\MethodsApi();
$body = ; // V1_methods_body | 
$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;

my $api_instance = WWW::SwaggerClient::MethodsApi->new();
my $body = WWW::SwaggerClient::Object::V1_methods_body->new(); # V1_methods_body | 
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

# create an instance of the API class
api_instance = swagger_client.MethodsApi()
body =  # V1_methods_body |  (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 "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) {
        
        MiraklApi apiInstance = new MiraklApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        V1_invoices_body body = ; // V1_invoices_body | 
        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)
        V1_invoices_body body = ; // V1_invoices_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required)
V1_invoices_body *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 api = new PaycometRestApi.MiraklApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Query privilege required)
var opts = { 
  'body':  // {{V1_invoices_body}} 
};
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()
        {

            var apiInstance = new MiraklApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required)
            var body = new V1_invoices_body(); // V1_invoices_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.MiraklApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required)
body =  # V1_invoices_body |  (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 "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) {
        
        PaymentsApi apiInstance = new PaymentsApi();
        V1_payments_body body = { }; // V1_payments_body | 
        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();
        V1_payments_body body = { }; // V1_payments_body | 
        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();
        }
    }
}
V1_payments_body *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 api = new PaycometRestApi.PaymentsApi()
var opts = { 
  'body': { } // {{V1_payments_body}} 
  '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()
        {

            var apiInstance = new PaymentsApi();
            var body = new V1_payments_body(); // V1_payments_body |  (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');

$api_instance = new Swagger\Client\Api\PaymentsApi();
$body = { }; // V1_payments_body | 
$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;

my $api_instance = WWW::SwaggerClient::PaymentsApi->new();
my $body = WWW::SwaggerClient::Object::V1_payments_body->new(); # V1_payments_body | 
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

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
body = { } # V1_payments_body |  (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 "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) {
        
        PaymentsApi apiInstance = new PaymentsApi();
        Payments_rtoken_body body = { }; // Payments_rtoken_body | 
        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();
        Payments_rtoken_body body = { }; // Payments_rtoken_body | 
        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();
        }
    }
}
Payments_rtoken_body *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 api = new PaycometRestApi.PaymentsApi()
var opts = { 
  'body': { } // {{Payments_rtoken_body}} 
  '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()
        {

            var apiInstance = new PaymentsApi();
            var body = new Payments_rtoken_body(); // Payments_rtoken_body |  (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');

$api_instance = new Swagger\Client\Api\PaymentsApi();
$body = { }; // Payments_rtoken_body | 
$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;

my $api_instance = WWW::SwaggerClient::PaymentsApi->new();
my $body = WWW::SwaggerClient::Object::Payments_rtoken_body->new(); # Payments_rtoken_body | 
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

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
body = { } # Payments_rtoken_body |  (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 "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) {
        
        PaymentsApi apiInstance = new PaymentsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        String order = order_example; // String | 
        Order_info_body body = ; // Order_info_body | 
        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 | 
        Order_info_body body = ; // Order_info_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required)
String *order = order_example; // 
Order_info_body *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 api = new PaycometRestApi.PaymentsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Query privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Order_info_body}} 
};
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()
        {

            var apiInstance = new PaymentsApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required)
            var order = order_example;  // String | 
            var body = new Order_info_body(); // Order_info_body |  (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');

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

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;

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::Order_info_body->new(); # Order_info_body | 

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

# 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 =  # Order_info_body |  (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 "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) {
        
        PaymentsApi apiInstance = new PaymentsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        Payments_search_body body = ; // Payments_search_body | 
        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)
        Payments_search_body body = ; // Payments_search_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required)
Payments_search_body *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 api = new PaycometRestApi.PaymentsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Query privilege required)
var opts = { 
  'body':  // {{Payments_search_body}} 
};
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()
        {

            var apiInstance = new PaymentsApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Query privilege required)
            var body = new Payments_search_body(); // Payments_search_body |  (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');

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

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;

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

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

# create an instance of the API class
api_instance = swagger_client.PaymentsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required)
body =  # Payments_search_body |  (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 "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) {
        
        PreauthorizationsApi apiInstance = new PreauthorizationsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
        String order = order_example; // String | 
        Preauth_cancel_body body = ; // Preauth_cancel_body | 
        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 | 
        Preauth_cancel_body body = ; // Preauth_cancel_body | 
        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();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Preauthorization privilege required)
String *order = order_example; // 
Preauth_cancel_body *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 api = new PaycometRestApi.PreauthorizationsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Preauthorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Preauth_cancel_body}} 
};
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);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new PreauthorizationsApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Preauthorization privilege required)
            var order = order_example;  // String | 
            var body = new Preauth_cancel_body(); // Preauth_cancel_body |  (optional) 

            try
            {
                // Cancel previous preauthorization
                inline_response_200_16 result = apiInstance.cancelPreauthorization(pAYCOMETAPITOKEN, order, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PreauthorizationsApi.cancelPreauthorization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PreauthorizationsApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
$order = order_example; // String | 
$body = ; // Preauth_cancel_body | 

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

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

eval { 
    my $result = $api_instance->cancelPreauthorization(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PreauthorizationsApi->cancelPreauthorization: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Cancel previous preauthorization
    api_response = api_instance.cancel_preauthorization(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PreauthorizationsApi->cancelPreauthorization: %s\n" % e)

Parameters

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

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


confirmPreauthorization

Confirm previous preauthorization

confirm_preauthorization


/v1/payments/{order}/preauth/confirm

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/{order}/preauth/confirm"
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) {
        
        PreauthorizationsApi apiInstance = new PreauthorizationsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
        String order = order_example; // String | 
        Preauth_confirm_body body = ; // Preauth_confirm_body | 
        try {
            inline_response_200_17 result = apiInstance.confirmPreauthorization(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PreauthorizationsApi#confirmPreauthorization");
            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 | 
        Preauth_confirm_body body = ; // Preauth_confirm_body | 
        try {
            inline_response_200_17 result = apiInstance.confirmPreauthorization(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PreauthorizationsApi#confirmPreauthorization");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Preauthorization privilege required)
String *order = order_example; // 
Preauth_confirm_body *body = ; //  (optional)

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

// Confirm previous preauthorization
[apiInstance confirmPreauthorizationWith:pAYCOMETAPITOKEN
    order:order
    body:body
              completionHandler: ^(inline_response_200_17 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');

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

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

            var apiInstance = new PreauthorizationsApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Preauthorization privilege required)
            var order = order_example;  // String | 
            var body = new Preauth_confirm_body(); // Preauth_confirm_body |  (optional) 

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

$api_instance = new Swagger\Client\Api\PreauthorizationsApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
$order = order_example; // String | 
$body = ; // Preauth_confirm_body | 

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

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

eval { 
    my $result = $api_instance->confirmPreauthorization(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PreauthorizationsApi->confirmPreauthorization: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Confirm previous preauthorization
    api_response = api_instance.confirm_preauthorization(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PreauthorizationsApi->confirmPreauthorization: %s\n" % e)

Parameters

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