REST DOCS

URL de servicio


                https://rest.paycomet.com
            

Especificación


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

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


Autenticación

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


Formulario con captura

PAYCOMET REST API

PAYCOMET REST API

Balance

productBalance

Get balance info

Gets the balance of a product. Restricted.


/v1/balance

Usage and SDK Samples

curl -X POST\
-H "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_6 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_6 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_6 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_6 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\ApiBalanceApi();
$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\ApiCardsApi();
$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\ApiCardsApi();
$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\ApiCardsApi();
$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\ApiCardsApi();
$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


physicalEditCard

Edit a card entered by physical encrypted data

cards_physical_edit


/v1/cards/physical/edit

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/cards/physical/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();
        Physical_edit_body body = ; // Physical_edit_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_5 result = apiInstance.physicalEditCard(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#physicalEditCard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        Physical_edit_body body = ; // Physical_edit_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_5 result = apiInstance.physicalEditCard(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#physicalEditCard");
            e.printStackTrace();
        }
    }
}
Physical_edit_body *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Edit a card entered by physical encrypted data
[apiInstance physicalEditCardWith: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.CardsApi()
var opts = { 
  'body':  // {{Physical_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.physicalEditCard(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

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

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

try {
    $result = $api_instance->physicalEditCard($body, $pAYCOMETAPITOKEN);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CardsApi->physicalEditCard: ', $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::Physical_edit_body->new(); # Physical_edit_body | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Token actions privilege required)

eval { 
    my $result = $api_instance->physicalEditCard(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->physicalEditCard: $@\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 =  # Physical_edit_body |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Token actions privilege required) (optional)

try: 
    # Edit a card entered by physical encrypted data
    api_response = api_instance.physical_edit_card(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->physicalEditCard: %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\ApiCardsApi();
$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/{order}/dcc/confirm

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/{order}/dcc/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 | 
        Dcc_confirm_body body = ; // Dcc_confirm_body | 
        try {
            inline_response_200_26 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 | 
        Dcc_confirm_body body = ; // Dcc_confirm_body | 
        try {
            inline_response_200_26 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; // 
Dcc_confirm_body *body = ; //  (optional)

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

// Confirm previous DCC payment
[apiInstance dccPurchaseConfirmWith:pAYCOMETAPITOKEN
    order:order
    body:body
              completionHandler: ^(inline_response_200_26 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':  // {{Dcc_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 Dcc_confirm_body(); // Dcc_confirm_body |  (optional) 

            try
            {
                // Confirm previous DCC payment
                inline_response_200_26 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\ApiDccApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
$order = order_example; // String | 
$body = ; // Dcc_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::Dcc_confirm_body->new(); # Dcc_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 =  # Dcc_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_25 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_25 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_25 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_25 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\ApiDccApi();
$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\ApiErrorApi();
$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_7 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_7 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_7 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_7 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\ApiExchangeApi();
$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. If you will use this url in an iframe please set `sandbox="allow-top-navigation allow-scripts allow-same-origin allow-forms"` iframe option to avoid blocking the redirections required by the payment process in some browsers with security restrictions.


/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_13 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_13 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_13 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_13 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\ApiFormApi();
$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_8 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_8 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_8 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_8 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\ApiHeartbeatApi();
$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_36 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_36 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_36 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_36 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\ApiIVRApi();
$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_35 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_35 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_35 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_35 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\ApiIVRApi();
$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_37 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_37 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_37 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_37 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\ApiIVRApi();
$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_10 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_10 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_10 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_10 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\ApiIpApi();
$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


getRemoteAddress

Retrieves request remote address IP

Remote address by request


/v1/ip/remote

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/ip/remote"
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();
        Ip_remote_body body = ; // Ip_remote_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_11 result = apiInstance.getRemoteAddress(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IpApi#getRemoteAddress");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IpApi;

public class IpApiExample {

    public static void main(String[] args) {
        IpApi apiInstance = new IpApi();
        Ip_remote_body body = ; // Ip_remote_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Query privilege required)
        try {
            inline_response_200_11 result = apiInstance.getRemoteAddress(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IpApi#getRemoteAddress");
            e.printStackTrace();
        }
    }
}
Ip_remote_body *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Query privilege required) (optional)

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

// Retrieves request remote address IP
[apiInstance getRemoteAddressWith: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.IpApi()
var opts = { 
  'body':  // {{Ip_remote_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.getRemoteAddress(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Retrieves request remote address IP
                inline_response_200_11 result = apiInstance.getRemoteAddress(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IpApi.getRemoteAddress: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->getRemoteAddress($body, $pAYCOMETAPITOKEN);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IpApi->getRemoteAddress: ', $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::Ip_remote_body->new(); # Ip_remote_body | 
my $pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; # String | PAYCOMET API key (Query privilege required)

eval { 
    my $result = $api_instance->getRemoteAddress(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IpApi->getRemoteAddress: $@\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 =  # Ip_remote_body |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Query privilege required) (optional)

try: 
    # Retrieves request remote address IP
    api_response = api_instance.get_remote_address(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IpApi->getRemoteAddress: %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_24 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_24 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_24 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_24 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\ApiLaunchpadApi();
$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_24 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_24 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_24 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_24 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\ApiLaunchpadApi();
$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_24 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_24 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_24 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_24 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\ApiLaunchpadApi();
$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_27 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_27 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_27 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_27 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\ApiMarketplaceApi();
$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_27 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_27 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_27 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_27 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\ApiMarketplaceApi();
$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_28 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_28 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_28 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_28 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\ApiMarketplaceApi();
$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_28 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_28 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_28 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_28 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\ApiMarketplaceApi();
$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_12] 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_12] 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_12] 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_12] 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\ApiMethodsApi();
$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_9 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_9 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_9 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_9 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\ApiMiraklApi();
$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_14 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_14 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_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 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_14 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\ApiPaymentsApi();
$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_21 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_21 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_21 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_21 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\ApiPaymentsApi();
$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_16 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_16 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_16 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_16 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\ApiPaymentsApi();
$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_17 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_17 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_17 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_17 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\ApiPaymentsApi();
$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_19 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_19 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_19 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_19 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\ApiPreauthorizationsApi();
$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_20 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_20 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_20 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_20 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\ApiPreauthorizationsApi();
$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
Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


createPreauthorization

Create preauthorization

create_preauthorization


/v1/payments/preauth

Usage and SDK Samples

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

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

// Create preauthorization
[apiInstance createPreauthorizationWith:pAYCOMETAPITOKEN
    body:body
              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.PreauthorizationsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Preauthorization privilege required)
var opts = { 
  'body':  // {{Payments_preauth_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createPreauthorization(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

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

$api_instance = new Swagger\Client\ApiPreauthorizationsApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Preauthorization privilege required)
$body = ; // Payments_preauth_body | 

try {
    $result = $api_instance->createPreauthorization($pAYCOMETAPITOKEN, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PreauthorizationsApi->createPreauthorization: ', $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 $body = WWW::SwaggerClient::Object::Payments_preauth_body->new(); # Payments_preauth_body | 

eval { 
    my $result = $api_instance->createPreauthorization(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PreauthorizationsApi->createPreauthorization: $@\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)
body =  # Payments_preauth_body |  (optional)

try: 
    # Create preauthorization
    api_response = api_instance.create_preauthorization(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PreauthorizationsApi->createPreauthorization: %s\n" % e)

Parameters

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


createPreauthorizationRtoken

Creates a preauthorization by reference

Creates a preauthorization with reference.


/v1/payments/preauthrtoken

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/preauthrtoken"
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();
        Payments_preauthrtoken_body body = { }; // Payments_preauthrtoken_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.createPreauthorizationRtoken(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PreauthorizationsApi#createPreauthorizationRtoken");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PreauthorizationsApi;

public class PreauthorizationsApiExample {

    public static void main(String[] args) {
        PreauthorizationsApi apiInstance = new PreauthorizationsApi();
        Payments_preauthrtoken_body body = { }; // Payments_preauthrtoken_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        try {
            inline_response_200_21 result = apiInstance.createPreauthorizationRtoken(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PreauthorizationsApi#createPreauthorizationRtoken");
            e.printStackTrace();
        }
    }
}
Payments_preauthrtoken_body *body = { }; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required) (optional)

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

// Creates a preauthorization by reference
[apiInstance createPreauthorizationRtokenWith: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.PreauthorizationsApi()
var opts = { 
  'body': { } // {{Payments_preauthrtoken_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.createPreauthorizationRtoken(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Creates a preauthorization by reference
                inline_response_200_21 result = apiInstance.createPreauthorizationRtoken(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PreauthorizationsApi.createPreauthorizationRtoken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->createPreauthorizationRtoken(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PreauthorizationsApi->createPreauthorizationRtoken: $@\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()
body = { } # Payments_preauthrtoken_body |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required) (optional)

try: 
    # Creates a preauthorization by reference
    api_response = api_instance.create_preauthorization_rtoken(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PreauthorizationsApi->createPreauthorizationRtoken: %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


Refund

executeRefund

Perform a refund

execute_refund


/v1/payments/{order}/refund

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/payments/{order}/refund"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RefundApi;

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

public class RefundApiExample {

    public static void main(String[] args) {
        
        RefundApi apiInstance = new RefundApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Refund privilege required)
        String order = order_example; // String | 
        Order_refund_body body = ; // Order_refund_body | 
        try {
            inline_response_200_15 result = apiInstance.executeRefund(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RefundApi#executeRefund");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RefundApi;

public class RefundApiExample {

    public static void main(String[] args) {
        RefundApi apiInstance = new RefundApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Refund privilege required)
        String order = order_example; // String | 
        Order_refund_body body = ; // Order_refund_body | 
        try {
            inline_response_200_15 result = apiInstance.executeRefund(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RefundApi#executeRefund");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Refund privilege required)
String *order = order_example; // 
Order_refund_body *body = ; //  (optional)

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

// Perform a refund
[apiInstance executeRefundWith:pAYCOMETAPITOKEN
    order:order
    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.RefundApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Refund privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Order_refund_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.executeRefund(pAYCOMETAPITOKENorder, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new RefundApi();
            var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example;  // String | PAYCOMET API key (Refund privilege required)
            var order = order_example;  // String | 
            var body = new Order_refund_body(); // Order_refund_body |  (optional) 

            try
            {
                // Perform a refund
                inline_response_200_15 result = apiInstance.executeRefund(pAYCOMETAPITOKEN, order, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RefundApi.executeRefund: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiRefundApi();
$pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Refund privilege required)
$order = order_example; // String | 
$body = ; // Order_refund_body | 

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

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

eval { 
    my $result = $api_instance->executeRefund(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RefundApi->executeRefund: $@\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.RefundApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Refund privilege required)
order = order_example # String | 
body =  # Order_refund_body |  (optional)

try: 
    # Perform a refund
    api_response = api_instance.execute_refund(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RefundApi->executeRefund: %s\n" % e)

Parameters

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

Responses

Status: 200 - OK

Status: 422 - Unprocessable Entity


Sepa

addDocument

Adds a SEPA document

add_document


/v1/sepa/add-document

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/add-document"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_adddocument_body body = ; // Sepa_adddocument_body | 
        try {
            inline_response_200_29 result = apiInstance.addDocument(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#addDocument");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_adddocument_body body = ; // Sepa_adddocument_body | 
        try {
            inline_response_200_29 result = apiInstance.addDocument(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#addDocument");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_adddocument_body *body = ; //  (optional)

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

// Adds a SEPA document
[apiInstance addDocumentWith: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.SepaApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Sepa_adddocument_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addDocument(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Adds a SEPA document
                inline_response_200_29 result = apiInstance.addDocument(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.addDocument: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->addDocument(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->addDocument: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_adddocument_body |  (optional)

try: 
    # Adds a SEPA document
    api_response = api_instance.add_document(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->addDocument: %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


cancel

Cancel a SEPA order

cancel


/v1/sepa/cancel

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/cancel"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_cancel_body body = ; // Sepa_cancel_body | 
        try {
            inline_response_200_33 result = apiInstance.cancel(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#cancel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_cancel_body body = ; // Sepa_cancel_body | 
        try {
            inline_response_200_33 result = apiInstance.cancel(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#cancel");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_cancel_body *body = ; //  (optional)

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

// Cancel a SEPA order
[apiInstance cancelWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_33 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');

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

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

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

            try
            {
                // Cancel a SEPA order
                inline_response_200_33 result = apiInstance.cancel(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.cancel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->cancel(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->cancel: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_cancel_body |  (optional)

try: 
    # Cancel a SEPA order
    api_response = api_instance.cancel(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->cancel: %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


checkCustomer

Check a customers SEPA documentation

check_customer


/v1/sepa/check-customer

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/check-customer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_checkcustomer_body body = ; // Sepa_checkcustomer_body | 
        try {
            inline_response_200_31 result = apiInstance.checkCustomer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#checkCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_checkcustomer_body body = ; // Sepa_checkcustomer_body | 
        try {
            inline_response_200_31 result = apiInstance.checkCustomer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#checkCustomer");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_checkcustomer_body *body = ; //  (optional)

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

// Check a customers SEPA documentation
[apiInstance checkCustomerWith: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.SepaApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Sepa_checkcustomer_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkCustomer(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Check a customers SEPA documentation
                inline_response_200_31 result = apiInstance.checkCustomer(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.checkCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->checkCustomer(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->checkCustomer: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_checkcustomer_body |  (optional)

try: 
    # Check a customers SEPA documentation
    api_response = api_instance.check_customer(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->checkCustomer: %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


checkDocument

Check a SEPA document

check_document


/v1/sepa/check-document

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/check-document"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_checkdocument_body body = ; // Sepa_checkdocument_body | 
        try {
            inline_response_200_29 result = apiInstance.checkDocument(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#checkDocument");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_checkdocument_body body = ; // Sepa_checkdocument_body | 
        try {
            inline_response_200_29 result = apiInstance.checkDocument(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#checkDocument");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_checkdocument_body *body = ; //  (optional)

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

// Check a SEPA document
[apiInstance checkDocumentWith: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.SepaApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Sepa_checkdocument_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkDocument(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Check a SEPA document
                inline_response_200_29 result = apiInstance.checkDocument(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.checkDocument: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->checkDocument(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->checkDocument: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_checkdocument_body |  (optional)

try: 
    # Check a SEPA document
    api_response = api_instance.check_document(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->checkDocument: %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


delCustomerIban

Delete customer Iban

delCustomerIban


/v1/sepa/del-customer-iban

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/del-customer-iban"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_delcustomeriban_body body = ; // Sepa_delcustomeriban_body | 
        try {
            inline_response_200_34 result = apiInstance.delCustomerIban(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#delCustomerIban");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_delcustomeriban_body body = ; // Sepa_delcustomeriban_body | 
        try {
            inline_response_200_34 result = apiInstance.delCustomerIban(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#delCustomerIban");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_delcustomeriban_body *body = ; //  (optional)

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

// Delete customer Iban
[apiInstance delCustomerIbanWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_34 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');

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

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

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

            try
            {
                // Delete customer Iban
                inline_response_200_34 result = apiInstance.delCustomerIban(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.delCustomerIban: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->delCustomerIban(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->delCustomerIban: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_delcustomeriban_body |  (optional)

try: 
    # Delete customer Iban
    api_response = api_instance.del_customer_iban(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->delCustomerIban: %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


enroleCustomer

Generate a link to make a account check to a customer

enrole_customer


/v1/sepa/enrole-customer

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/enrole-customer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_enrolecustomer_body body = ; // Sepa_enrolecustomer_body | 
        try {
            inline_response_200_30 result = apiInstance.enroleCustomer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#enroleCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_enrolecustomer_body body = ; // Sepa_enrolecustomer_body | 
        try {
            inline_response_200_30 result = apiInstance.enroleCustomer(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#enroleCustomer");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_enrolecustomer_body *body = ; //  (optional)

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

// Generate a link to make a account check to a customer
[apiInstance enroleCustomerWith: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.SepaApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{Sepa_enrolecustomer_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.enroleCustomer(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Generate a link to make a account check to a customer
                inline_response_200_30 result = apiInstance.enroleCustomer(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.enroleCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->enroleCustomer(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->enroleCustomer: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_enrolecustomer_body |  (optional)

try: 
    # Generate a link to make a account check to a customer
    api_response = api_instance.enrole_customer(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->enroleCustomer: %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


sepaOperations

Send SEPA operations

sepa_operations


/v1/sepa/operations

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/sepa/operations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SepaApi;

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

public class SepaApiExample {

    public static void main(String[] args) {
        
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_operations_body body = ; // Sepa_operations_body | 
        try {
            inline_response_200_32 result = apiInstance.sepaOperations(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#sepaOperations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SepaApi;

public class SepaApiExample {

    public static void main(String[] args) {
        SepaApi apiInstance = new SepaApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        Sepa_operations_body body = ; // Sepa_operations_body | 
        try {
            inline_response_200_32 result = apiInstance.sepaOperations(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SepaApi#sepaOperations");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
Sepa_operations_body *body = ; //  (optional)

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

// Send SEPA operations
[apiInstance sepaOperationsWith:pAYCOMETAPITOKEN
    body:body
              completionHandler: ^(inline_response_200_32 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');

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

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

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

            try
            {
                // Send SEPA operations
                inline_response_200_32 result = apiInstance.sepaOperations(pAYCOMETAPITOKEN, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SepaApi.sepaOperations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->sepaOperations(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SepaApi->sepaOperations: $@\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.SepaApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # Sepa_operations_body |  (optional)

try: 
    # Send SEPA operations
    api_response = api_instance.sepa_operations(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SepaApi->sepaOperations: %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


Susbcriptions

createSubscription

Create susbcription payment

Create subscription, create subscription token


/v1/subscription

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/subscription"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SusbcriptionsApi;

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

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        V1_subscription_body body = ; // V1_subscription_body | 
        try {
            inline_response_200_22 result = apiInstance.createSubscription(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#createSubscription");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SusbcriptionsApi;

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        V1_subscription_body body = ; // V1_subscription_body | 
        try {
            inline_response_200_22 result = apiInstance.createSubscription(pAYCOMETAPITOKEN, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#createSubscription");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
V1_subscription_body *body = ; //  (optional)

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

// Create susbcription payment
[apiInstance createSubscriptionWith: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.SusbcriptionsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var opts = { 
  'body':  // {{V1_subscription_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createSubscription(pAYCOMETAPITOKEN, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

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

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

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

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

eval { 
    my $result = $api_instance->createSubscription(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SusbcriptionsApi->createSubscription: $@\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.SusbcriptionsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
body =  # V1_subscription_body |  (optional)

try: 
    # Create susbcription payment
    api_response = api_instance.create_subscription(pAYCOMETAPITOKEN, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SusbcriptionsApi->createSubscription: %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


editSubscription

Edit susbcription payment.

Edit a subscription. The subscription is identified by the terminal, the payment method, the iduser and the original reference. The rest of the fields can be changed. Please note that changing an amount in a subscription may result in the bank rejecting the payment as the initial payment will not match the new one. To change the amount it is recommended to use the execute parameter. Even if the amount and currency are not changed they should be indicated with the original values


/v1/subscription/{order}/edit

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/subscription/{order}/edit"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SusbcriptionsApi;

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

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_edit_body body = ; // Order_edit_body | 
        try {
            inline_response_200_23 result = apiInstance.editSubscription(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#editSubscription");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SusbcriptionsApi;

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_edit_body body = ; // Order_edit_body | 
        try {
            inline_response_200_23 result = apiInstance.editSubscription(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#editSubscription");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
String *order = order_example; // 
Order_edit_body *body = ; //  (optional)

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

// Edit susbcription payment.
[apiInstance editSubscriptionWith: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.SusbcriptionsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Order_edit_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.editSubscription(pAYCOMETAPITOKENorder, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

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

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

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

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

eval { 
    my $result = $api_instance->editSubscription(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SusbcriptionsApi->editSubscription: $@\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.SusbcriptionsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
order = order_example # String | 
body =  # Order_edit_body |  (optional)

try: 
    # Edit susbcription payment.
    api_response = api_instance.edit_subscription(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SusbcriptionsApi->editSubscription: %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


infoSubscription

Gets susbcription info. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.

Gets the subscription info. The subscription is identified by the terminal, the payment method, the iduser and the original reference.


/v1/subscription/{order}/info

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/subscription/{order}/info"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SusbcriptionsApi;

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

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_info_body_1 body = ; // Order_info_body_1 | 
        try {
            inline_response_200_24 result = apiInstance.infoSubscription(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#infoSubscription");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SusbcriptionsApi;

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_info_body_1 body = ; // Order_info_body_1 | 
        try {
            inline_response_200_24 result = apiInstance.infoSubscription(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#infoSubscription");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
String *order = order_example; // 
Order_info_body_1 *body = ; //  (optional)

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

// Gets susbcription info. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.
[apiInstance infoSubscriptionWith:pAYCOMETAPITOKEN
    order:order
    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.SusbcriptionsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Order_info_body_1}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.infoSubscription(pAYCOMETAPITOKENorder, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Gets susbcription info. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.
                inline_response_200_24 result = apiInstance.infoSubscription(pAYCOMETAPITOKEN, order, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SusbcriptionsApi.infoSubscription: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->infoSubscription(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SusbcriptionsApi->infoSubscription: $@\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.SusbcriptionsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
order = order_example # String | 
body =  # Order_info_body_1 |  (optional)

try: 
    # Gets susbcription info. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.
    api_response = api_instance.info_subscription(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SusbcriptionsApi->infoSubscription: %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


removeSubscription

Remove susbcription payment. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.

Delete a subscription. The subscription is identified by the terminal, the payment method, the iduser and the original reference.


/v1/subscription/{order}/remove

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/subscription/{order}/remove"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SusbcriptionsApi;

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

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_remove_body body = ; // Order_remove_body | 
        try {
            inline_response_200_24 result = apiInstance.removeSubscription(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#removeSubscription");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SusbcriptionsApi;

public class SusbcriptionsApiExample {

    public static void main(String[] args) {
        SusbcriptionsApi apiInstance = new SusbcriptionsApi();
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Authorization privilege required)
        String order = order_example; // String | 
        Order_remove_body body = ; // Order_remove_body | 
        try {
            inline_response_200_24 result = apiInstance.removeSubscription(pAYCOMETAPITOKEN, order, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SusbcriptionsApi#removeSubscription");
            e.printStackTrace();
        }
    }
}
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Authorization privilege required)
String *order = order_example; // 
Order_remove_body *body = ; //  (optional)

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

// Remove susbcription payment. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.
[apiInstance removeSubscriptionWith:pAYCOMETAPITOKEN
    order:order
    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.SusbcriptionsApi()
var pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // {{String}} PAYCOMET API key (Authorization privilege required)
var order = order_example; // {{String}} 
var opts = { 
  'body':  // {{Order_remove_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.removeSubscription(pAYCOMETAPITOKENorder, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Remove susbcription payment. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.
                inline_response_200_24 result = apiInstance.removeSubscription(pAYCOMETAPITOKEN, order, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SusbcriptionsApi.removeSubscription: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->removeSubscription(pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN, order => $order, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SusbcriptionsApi->removeSubscription: $@\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.SusbcriptionsApi()
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Authorization privilege required)
order = order_example # String | 
body =  # Order_remove_body |  (optional)

try: 
    # Remove susbcription payment. If the susbscription is not a card subscription only the idUser is need. TokenUser is just for card subscriptions.
    api_response = api_instance.remove_subscription(pAYCOMETAPITOKEN, order, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SusbcriptionsApi->removeSubscription: %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


Token

addToken

Tokenizes an APM.

This method supposes the registration of the APM in PAYCOMET for subsequent charges.


/v1/token

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://rest.paycomet.com/v1/token"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TokenApi;

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

public class TokenApiExample {

    public static void main(String[] args) {
        
        TokenApi apiInstance = new TokenApi();
        V1_token_body body = ; // V1_token_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_38 result = apiInstance.addToken(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TokenApi#addToken");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TokenApi;

public class TokenApiExample {

    public static void main(String[] args) {
        TokenApi apiInstance = new TokenApi();
        V1_token_body body = ; // V1_token_body | 
        String pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // String | PAYCOMET API key (Token actions privilege required)
        try {
            inline_response_200_38 result = apiInstance.addToken(body, pAYCOMETAPITOKEN);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TokenApi#addToken");
            e.printStackTrace();
        }
    }
}
V1_token_body *body = ; //  (optional)
String *pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example; // PAYCOMET API key (Token actions privilege required) (optional)

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

// Tokenizes an APM.
[apiInstance addTokenWith:body
    pAYCOMETAPITOKEN:pAYCOMETAPITOKEN
              completionHandler: ^(inline_response_200_38 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PaycometRestApi = require('paycomet_rest_api');

var api = new PaycometRestApi.TokenApi()
var opts = { 
  'body':  // {{V1_token_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.addToken(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

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

            try
            {
                // Tokenizes an APM.
                inline_response_200_38 result = apiInstance.addToken(body, pAYCOMETAPITOKEN);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TokenApi.addToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

eval { 
    my $result = $api_instance->addToken(body => $body, pAYCOMETAPITOKEN => $pAYCOMETAPITOKEN);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TokenApi->addToken: $@\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.TokenApi()
body =  # V1_token_body |  (optional)
pAYCOMETAPITOKEN = pAYCOMETAPITOKEN_example # String | PAYCOMET API key (Token actions privilege required) (optional)

try: 
    # Tokenizes an APM.
    api_response = api_instance.add_token(body=body, pAYCOMETAPITOKEN=pAYCOMETAPITOKEN)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TokenApi->addToken: %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