API – Developers Docs API – Developers Docs
  • Cyberpac
  • Addon Payments
  • POS integrated Payments
  • SpanishSwitch to Spanish
API – Developers Docs API – Developers Docs
API – Developers Docs
  • Cyberpac
  • Addon Payments
  • POS integrated Payments
  • SpanishSwitch to Spanish
POS integrated Payments
  • Folder icon closed Folder open iconPayment integrated with Android POS
    • InStore Payment API Android
    • InStore Payment API Windows
    • InStore Payment REST API
  • Folder icon closed Folder open iconPayment integrated with Smartphone POS
    • Payment integration with Smartphone POS
  • Folder icon closed Folder open iconPOS integrated Payments
    • Transactions
      • Tokenization
    • Reports
    • Device
  • Folder icon closed Folder open iconHost2Host Integration – POI-Switch Protocol
  • Folder icon closed Folder open iconPOS Data sheets

Reports

Report APIs are a collection of administrative queries that allow third-party apps to carry out operations like transaction details, totals, closures, receipt copies, etc.

GET Details

This request gets the report of financial transactions for the active session in progress.

It must be sent to: https:// 172.20.10.1:2011/v1/reporting/details

Request

No additional payload required.

Response

The successful response payload includes a detailed list of transactions during the session:

The info is summed up by transaction type.

These are sample requests and responses for GET Details. Here are some examples in different programming languages.

				
					var myHeaders = new Headers();
myHeaders.append("X-SOURCE", "APPNAME");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https:// 172.20.10.1:2011/v1/reporting/details", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
				
			
				
					var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https:// 172.20.10.1:2011/v1/reporting/details");
request.Headers.Add("X-SOURCE", "APPNAME");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
				
			
				
					curl --location 'https:// 172.20.10.1:2011/v1/reporting/details' \
--header 'X-SOURCE: APPNAME'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/reporting/details"

payload={}
headers = {
  'X-SOURCE': 'APPNAME'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
				
			
				
					var request = URLRequest(url: URL(string: "https:// 172.20.10.1:2011/v1/reporting/details")!,timeoutInterval: Double.infinity)
request.addValue("APPNAME", forHTTPHeaderField: "X-SOURCE")

request.httpMethod = "GET"

let task = URLSession.shared.dataTask(with: request) { data, response, error in 
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()
				
			

There are more samples of programming languages in our Postman collection.

This is the JSON for the response and its headers:

				
					{
  "operation": "DETAILS",
  "result": {
    "VersionInfo": {
      "Release": "02.00",
      "Version": "02.00"
    },
    "Operation": {
      "Payload": {
        "Merchant": {
          "Id": "329811087",
          "Location": "BADALONA",
          "Name": "Comercia Global Payments"
        },
        "Report": {
          "BusinessUnit": {
            "Num": 1
          },
          "Currency": "978",
          "Date": "20200519",
          "FirstDate": "20200519",
          "FirstTransaction": "619145",
          "LastDate": "20200519",
          "LastTransaction": "619144",
          "Session": {
            "Date": "20200519",
            "Number": 14
          },
          "Time": "1943",
          "Transactions": [
            {
              "AID": "A0000000041010",
              "ARC": "00",
              "ATC": "00253",
              "PSN": "00",
              "Amount": "130",
              "Authorization": "006074",
              "CardBank": "Comercia Global Payments",
              "CardHolder": "",
              "CardIssuer": "Credito",
              "CardNumber": "************3059",
              "CardTechnology": 1,
              "CardType": "",
              "Currency": "EUR",
              "Date": "20200519",
              "Id": "619145",
              "Language": "es",
              "Location": "BADALONA",
              "MerchantId": "329811087",
              "MerchantName": "Comercia Global Payments",
              "Modifiers": [],
              "OriginalTransactionDate": "",
              "OriginalTransactionId": "",
              "PinIndicator": 0,
              "SignatureIndicator": 1,
              "Status": "0",
              "Templates": [],
              "TerminalId": "00000001",
              "Time": "1942",
              "Type": "Payment"
            },
            {
              "AID": "A0000000041010",
              "ARC": "00",
              "ATC": "00252",
              "PSN": "00",
              "Amount": "400",
              "Authorization": "006073",
              "CardBank": "Comercia Global Payments",
              "CardHolder": "",
              "CardIssuer": "Credito",
              "CardNumber": "************3059",
              "CardTechnology": 1,
              "CardType": "",
              "Currency": "EUR",
              "Date": "20200519",
              "Id": "619144",
              "Language": "es",
              "Location": "BADALONA",
              "MerchantId": "329811087",
              "MerchantName": "Comercia Global Payments",
              "Modifiers": [],
              "OriginalTransactionDate": "20200519",
              "OriginalTransactionId": "619142",
              "PinIndicator": 0,
              "SignatureIndicator": 1,
              "Status": "0",
              "Templates": [],
              "TerminalId": "00000001",
              "Time": "1941",
              "Type": "PreauthorizationConfirmation"
            }
          ],
          "TypeStatusReport": {
            "Amount": "530",
            "Quantity": 2,
            "Types": [
              {
                "Payment": {
                  "Indexes": [
                    0         
                  ],
                  "Quantity": 1,
                  "Amount": "130"
                }
              },
 	      {
                "PreauthorizationConfirmation": {
                  "Indexes": [
                    1
                  ],
                  "Quantity": 1,
                  "Amount": "400"
                }
              }
            ]
          }
        },
        "Session": {
          "Date": "20200519",
          "Number": 14
        }
      },
      "ResponseCode": "600"
    }
  }
}
				
			

Content-Type application/json

Date Tue, 19 May 2020 16:49:58 GMT

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

GET Totals

Gets the totals from the financial transaction report for the active session in progress, as well as categorized transaction reports (by type of transaction, category, multicurrency, etc.).

It must be sent to: https:// 172.20.10.1:2011/v1/reporting/totals

Request

No additional payload required.

Response

The successful response payload includes a detailed list of:

  • Transactions carried out during the session.
  • Summary of info by type of transaction.
  • Summary of info by category of transaction.

HEADERS

X-SOURCE

APPNAME

ID of the application of the person calling that provides a unique ID of the application sending the API request.

These are sample requests and responses for GET Totals. Here are some examples in different programming languages.

				
					var myHeaders = new Headers();
myHeaders.append("X-SOURCE", "APPNAME");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https:// 172.20.10.1:2011/v1/reporting/totals", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
				
			
				
					var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https:// 172.20.10.1:2011/v1/reporting/totals");
request.Headers.Add("X-SOURCE", "APPNAME");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
				
			
				
					curl --location 'https:// 172.20.10.1:2011/v1/reporting/totals' \
--header 'X-SOURCE: APPNAME'
				
			
				
					var request = URLRequest(url: URL(string: "https:// 172.20.10.1:2011/v1/reporting/totals")!,timeoutInterval: Double.infinity)
request.addValue("APPNAME", forHTTPHeaderField: "X-SOURCE")

request.httpMethod = "GET"

let task = URLSession.shared.dataTask(with: request) { data, response, error in 
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()
				
			
				
					var request = URLRequest(url: URL(string: "https:// 172.20.10.1:2011/v1/reporting/totals")!,timeoutInterval: Double.infinity)
request.addValue("APPNAME", forHTTPHeaderField: "X-SOURCE")

request.httpMethod = "GET"

let task = URLSession.shared.dataTask(with: request) { data, response, error in 
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()
				
			

There are more samples of programming languages in our Postman collection.

This is the JSON for the response and its headers:

				
					{
  "operation": "TOTALS",
  "report": {
    "VersionInfo": {
      "Release": "02.00",
      "Version": "02.00"
    },
    "Operation": {
      "Payload": {
        "Merchant": {
          "Id": "329811087",
          "Location": "BADALONA",
          "Name": "Comercia Global Payments"
        },
        "Report": {
          "BusinessUnit": {
            "Num": 1
          },
          "Currency": "978",
          "Date": "20200521",
          "FirstDate": "20200522",
          "FirstTransaction": "432840",
          "LastDate": "20200522",
          "LastTransaction": "432853",
          "Session": {
            "Date": "20200521",
            "Number": 1
          },
          "Time": "0147",
          "Transactions": [
            {
              "AID": "",
              "ARC": "00",
              "ATC": "",
              "PSN": "",
              "Amount": "58",
              "Authorization": "006355",
              "CardBank": "Comercia Global Payments",
              "CardHolder": "",
              "CardIssuer": "",
              "CardNumber": "************3719",
              "CardTechnology": 2,
              "CardType": "",
              "Currency": "EUR",
              "Date": "20200522",
              "Id": "432840",
              "Language": "es",
              "Location": "BADALONA",
              "MerchantId": "329811087",
              "MerchantName": "Comercia Global Payments",
              "Modifiers": [],
              "OriginalTransactionDate": "",
              "OriginalTransactionId": "",
              "PinIndicator": 0,
              "SignatureIndicator": 0,
              "Status": "0",
              "Templates": [],
              "TerminalId": "00000001",
              "Time": "0021",
              "Type": "Payment"
            },
            {
              "AID": "A0000000041010",
              "ARC": "00",
              "ATC": "00291",
              "PSN": "00",
              "Amount": "100",
              "Authorization": "006356",
              "CardBank": "Comercia Global Payments",
              "CardHolder": "",
              "CardIssuer": "Credito",
              "CardNumber": "************3059",
              "CardTechnology": 1,
              "CardType": "",
              "Currency": "EUR",
              "Date": "20200522",
              "Id": "432853",
              "Language": "es",
              "Location": "BADALONA",
              "MerchantId": "329811087",
              "MerchantName": "Comercia Global Payments",
              "Modifiers": [],
              "OriginalTransactionDate": "",
              "OriginalTransactionId": "",
              "PinIndicator": 0,
              "SignatureIndicator": 1,
              "Status": "0",
              "Templates": [],
              "TerminalId": "00000001",
              "Time": "0047",
              "Type": "Payment"
            },
          ],
          "TypeStatusReport": {
            "Amount": "158",
            "Quantity": 2,
            "Types": [
              {
                "Payment": {
                  "Indexes": [
                    0,
                    1
                  ],
                  "Quantity": 2,
                  "Amount": "158"
                }
              }
            ]
          }
        },
        "Session": {
          "Date": "20200521",
          "Number": 1
        }
      },
      "ResponseCode": "600"
    }
  }
}
				
			

Content-Type application/json

Date Thu, 21 May 2020 22:53:32 GMT

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

GET Closure

Carries out a financial reconciliation operation for the current active session. After it’s finished, the current session is closed and any further transactions will be assigned to a new session.

It must be sent to:  https:// 172.20.10.1:2011/v1/reporting/closure

Request

No additional payload required.

Response

The successful response payload includes:

  • detailed list of transactions carried out during the session closed.
  • summary of info by type of transaction.
  • summary of info by category of transaction.

HEADERS

X-SOURCE

APPNAME

ID of the application of the person calling that provides a unique ID of the application sending the API request.

These are sample requests and responses for GET Closure. Here are some examples in different programming languages.

				
					var myHeaders = new Headers();
myHeaders.append("X-SOURCE", "APPNAME");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https:// 172.20.10.1:2011/v1/reporting/closure", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
				
			
				
					var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https:// 172.20.10.1:2011/v1/reporting/closure");
request.Headers.Add("X-SOURCE", "APPNAME");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
				
			
				
					curl --location 'https:// 172.20.10.1:2011/v1/reporting/closure' \
--header 'X-SOURCE: APPNAME'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/reporting/closure"

payload={}
headers = {
  'X-SOURCE': 'APPNAME'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
				
			
				
					var request = URLRequest(url: URL(string: "https:// 172.20.10.1:2011/v1/reporting/closure")!,timeoutInterval: Double.infinity)
request.addValue("APPNAME", forHTTPHeaderField: "X-SOURCE")

request.httpMethod = "GET"

let task = URLSession.shared.dataTask(with: request) { data, response, error in 
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()
				
			

There are more samples of programming languages in our Postman collection.

This is the JSON for the response and its headers:

				
					{
  "operation": "CLOSURE",
  "report": {
    "VersionInfo": {
      "Release": "02.00",
      "Version": "02.00"
    },
    "Operation": {
      "Payload": {
        "Merchant": {
          "Id": "329811087",
          "Location": "BADALONA",
          "Name": "Comercia Global Payments"
        },
        "Report": {
          "BusinessUnit": {
            "Num": 1
          },
          "Currency": "978",
          "Date": "20200521",
          "FirstDate": "20200522",
          "FirstTransaction": "432840",
          "LastDate": "20200522",
          "LastTransaction": "432853",
          "Session": {
            "Date": "20200521",
            "Number": 1
          },
          "Time": "0148",
          "Transactions": [
            {
              "AID": "",
              "ARC": "00",
              "ATC": "",
              "PSN": "",
              "Amount": "58",
              "Authorization": "006355",
              "CardBank": "Comercia Global Payments",
              "CardHolder": "",
              "CardIssuer": "",
              "CardNumber": "************3719",
              "CardTechnology": 2,
              "CardType": "",
              "Currency": "EUR",
              "Date": "20200522",
              "Id": "432840",
              "Language": "es",
              "Location": "BADALONA",
              "MerchantId": "329811087",
              "MerchantName": "Comercia Global Payments",
              "Modifiers": [],
              "OriginalTransactionDate": "",
              "OriginalTransactionId": "",
              "PinIndicator": 0,
              "SignatureIndicator": 0,
              "Status": "0",
              "Templates": [],
              "TerminalId": "00000001",
              "Time": "0021",
              "Type": "Payment"
            },
            {
              "AID": "A0000000041010",
              "ARC": "00",
              "ATC": "00291",
              "PSN": "00",
              "Amount": "100",
              "Authorization": "006356",
              "CardBank": "Comercia Global Payments",
              "CardHolder": "",
              "CardIssuer": "Credito",
              "CardNumber": "************3059",
              "CardTechnology": 1,
              "CardType": "",
              "Currency": "EUR",
              "Date": "20200522",
              "Id": "432853",
              "Language": "es",
              "Location": "BADALONA",
              "MerchantId": "329811087",
              "MerchantName": "Comercia Global Payments",
              "Modifiers": [],
              "OriginalTransactionDate": "",
              "OriginalTransactionId": "",
              "PinIndicator": 0,
              "SignatureIndicator": 1,
              "Status": "0",
              "Templates": [],
              "TerminalId": "00000001",
              "Time": "0047",
              "Type": "Payment"
            },
          ],
          "TypeStatusReport": {
            "Amount": "158",
            "Quantity": 2,
            "Types": [
              {
                "Payment": {
                  "Indexes": [
                    0,
                    1
                  ],
                  "Quantity": 2,
                  "Amount": "158"
                }
              }
            ]
          }
        },
        "Session": {
          "Date": "200521",
          "Number": 1
        }
      },
      "ResponseCode": "500"
    }
  }
}
				
			

Content-Type application/json

Date Thu, 21 May 2020 22:54:35 GMT

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

GET OnlineTicketCopy

This request recovers information for a specific transaction to print a copy of the receipt.
It must be sent to: https:// 172.20.10.1:2011/v1/reporting/ticket?transactionId=

Request

String of decimal digits from transactionId.

Identifies the ID for the transaction requested.

Response

The successful response payload includes a detailed list of:

Transaction information (including ticket information).

HEADERS

X-SOURCE 

APPNAME

ID of the application of the person calling that provides a unique ID of the application sending the API request.

PARAMETERS

transactionId

Identifies the ID for the transaction requested.

These are sample requests and responses for GET OnlineTicketCopy. Here are some examples in different programming languages.

				
					var myHeaders = new Headers();
myHeaders.append("X-SOURCE", "APPNAME");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https:// 172.20.10.1:2011/v1/reporting/ticket?transactionId=432840", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
				
			
				
					var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https:// 172.20.10.1:2011/v1/reporting/ticket?transactionId=432840");
request.Headers.Add("X-SOURCE", "APPNAME");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
				
			
				
					curl --location 'https:// 172.20.10.1:2011/v1/reporting/ticket?transactionId=432840' \
--header 'X-SOURCE: APPNAME'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/reporting/ticket?transactionId=432840"

payload={}
headers = {
  'X-SOURCE': 'APPNAME'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
				
			
				
					var request = URLRequest(url: URL(string: "https:// 172.20.10.1:2011/v1/reporting/ticket?transactionId=432840")!,timeoutInterval: Double.infinity)
request.addValue("APPNAME", forHTTPHeaderField: "X-SOURCE")

request.httpMethod = "GET"

let task = URLSession.shared.dataTask(with: request) { data, response, error in 
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()
				
			

There are more samples of programming languages in our Postman collection.

This is the JSON for the response and its headers:

				
					{
  "operation": "TICKET_COPY",
  "report": {
    "VersionInfo": {
      "Release": "02.00",
      "Version": "02.00"
    },
    "Operation": {
      "Payload": {
        "Merchant": {
          "Id": "329811087",
          "Location": "BADALONA",
          "Name": "Comercia Global Payments"
        },
        "Session": {
          "Date": "20200521",
          "Number": 1
        },
        "Transaction": {
          "AID": "",
          "ARC": "00",
          "ATC": "",
          "PSN": "",
          "Amount": "58",
          "Authorization": "006355",
          "CardBank": "Comercia Global Payments",
          "CardHolder": "",
          "CardIssuer": "",
          "CardNumber": "************3719",
          "CardTechnology": 2,
          "CardType": "",
          "Currency": "EUR",
          "Date": "20200522",
          "Id": "432840",
          "Language": "es",
          "Location": "BADALONA",
          "MerchantId": "329811087",
          "MerchantName": "Comercia Global Payments",
          "Modifiers": [],
          "OriginalTransactionDate": "",
          "OriginalTransactionId": "",
          "PinIndicator": 0,
          "SignatureIndicator": 0,
          "Status": "0",
          "Templates": [],
          "TerminalId": "00000001",
          "Time": "0021",
          "Type": "Payment"
        }
      },
      "ResponseCode": "600"
    }
  }
}
				
			

Content-Type application/json

Date Thu, 21 May 2020 22:54:05 GMT

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

Comparte este documento

Reports

Copiar el enlace

Clipboard Icon
Tabla de Contenidos

Products

  • Cyberpac
  • Addon Payments
  • POS integrated Payments
  • Universal Pay

Sales

Tell us about your business so we can offer you the best solution.

Contact an expert
Contact an expert
Contact an expert
Contact an expert
Contact an expert

Technical Support

Already a client and need help? Contact us, we’re here for you.

Help

Partners

We work with the best partners for in-store and ecommerce solutions. Want to join us?

Join us

© Comercia Global Payments

Privacy policy
Exercising rights
Client information
Whistleblowing channel
Legal disclaimer
Cookies policy
Ask AI
Write your question. For example: How do I create a payment link?
SmartWiki may skip data. Verify the information or contact support.

SmartWiki, Powered by AI

API - Developers Docs
Manage cookie consent

To offer the best experiences, we use technologies such as cookies to store and/or access device information. Consent to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Failure to consent, or withdrawal of consent, may adversely affect certain features and functions.

Functional Always active
Storage or technical access is strictly necessary for the legitimate purpose of allowing the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
Technical storage or access is necessary for the legitimate purpose of storing preferences not requested by the subscriber or user.
Statistics
El almacenamiento o acceso técnico que es utilizado exclusivamente con fines estadísticos. Storage or technical access that is used exclusively for anonymous statistical purposes. Without a requirement, voluntary compliance by your Internet service provider, or additional records from a third party, information stored or retrieved solely for this purpose cannot be used to identify you.
Marketing
Storage or technical access is necessary to create user profiles to send advertising, or to track the user on a website or several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
See preferences
{title} {title} {title}

Consulta la documentación de las distintas secciones de integraciones:

Comienza a integrar

undraw_add_to_cart_re_wrdo 1 (1) (1)

Plugins para CMS

Complementa la integración

SDKs

Métodos de pago

Herramientas

Addon Payments

Consulta la documentación de Addon Payments. Aquí tienes las distintas secciones:

Integraciones

Consultas frecuentes

Portal Backoffice

Cyberpac

We are currently working on the English version of the Cyberpac documentation. You can view the Spanish version using the buttons below:

Canales BackOffice Portal

Plugins integration

Custom integrations

POS integrated Payments

Create a solution that will help you automate processes. You can even add payment processes on physical terminals.

Payment Integrated with Android POS

Payment Integrated with Smartphone POS

POS Data sheets

Addon Payments

Comercia Global Payments has several integration options so you can choose the most efficient one for you.

Integrations

Frequently Asked Questions

BackOffice Portal

Consult the documentation of the different integrations sections:​

Start integration

undraw_add_to_cart_re_wrdo 1 (1) (1)

CMS Plugins

Complement your integration

SDKs

Payment Methods

Tools