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

Device

POST Scanner

The scanner interface controls the scanner peripheral device.

It must be sent to: https:// 172.20.10.1:2011/v1/device/scanner

Request

  • width: Width of the scanner screen.
  • height: Height of the scanner screen.
Response
  • resultCode: Value of the result code.
  • Data: Data scanned.
It can return the following resultCodes:
    • 0 Success
    • -1001 scan cancelled
    • -1999 Exception error

HEADERS

X-SOURCE

APPNAME

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

Body raw (json)

				
					{
	"width": 300,
	"height": 900
}
				
			

These are sample requests and responses for POST Scanner. Here are some examples in different programming languages.

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

var raw = "{\n	\"width\": 300,\n	\"height\": 900\n}";

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("https:// 172.20.10.1:2011/v1/device/scanner", 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.Post, "https:// 172.20.10.1:2011/v1/device/scanner");
request.Headers.Add("X-SOURCE", "APPNAME");
var content = new StringContent("{\n\t\"width\": 300,\n\t\"height\": 900\n}", null, "text/plain");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
				
			
				
					curl --location 'https:// 172.20.10.1:2011/v1/device/scanner' \
--header 'X-SOURCE: APPNAME' \
--data '{
	"width": 300,
	"height": 900
}'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/device/scanner"

payload = "{\n\t\"width\": 300,\n\t\"height\": 900\n}"
headers = {
  'X-SOURCE': 'APPNAME'
}

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

print(response.text)
				
			
				
					let parameters = "{\n\t\"width\": 300,\n\t\"height\": 900\n}"
let postData = parameters.data(using: .utf8)

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

request.httpMethod = "POST"
request.httpBody = postData

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:

				
					{
  "data": "9780132350884",
  "result": 0
}
				
			

Content–Type application/json

Date Mon, 8 Jun 2020 12:10:03 GMT 

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

POST Printer

The printer interface controls the printer peripheral devices.

It must be sent to: https:// 172.20.10.1:2011/v1/device/printer

Request json object

To print text, images, barcodes or QR codes, define the following json object:

  • typeFace: font family. Currently supported:
– Monospace
– Sans-Serif
– Droid Sans
– Droid Sans Mono
  • advancedPaper: automatically goes to the end of the page
  • letterSpacing: the spacing between lines in pixels, the default value is 4
  • GrayLevel: sets the grey value; if not set, the default is 0. The higher the greyscale levels, the darker the font will be printed and the slower the printing speed. The values available are:

– 0 -> Lighter greyscale

– 1 -> Medium greyscale

– 2 -> Rows in darkest greyscale: List of rows to print: Text, image, barcode or QR rows.

Response

resultCode: Value of the result code.

It can return the following resultCodes:

    • 0 Success
    • -1001 Printer Print Failure
    • -1002 Failed to set the string in buffer
    • -1003 Failed to set the image in buffer
    • -1004 Printer Busy
    • -1005 Out of paper
    • -1006 Wrong Package
    • -1007 Printer Hardware Failure
    • -1008 OverTemperature
    • -1009 Printing has not finished
    • -1999 Exception error.
Text row
    • type: Type of row
    • text: Text to print
    • align: Type of alignment
    • fontSize: Size of the text font
    • isBold: Tick to print the text in bold
    • isUnderline: Tick to print the text underlined.
Row of text with right-justified text
    • type: Type of row
    • text: Row of text with left-justified text
    • alignText: Text to right justify
    • align: Type of alignment
    • fontSize: Size of the text font
    • isBold: Tick to print the text in bold
    • isUnderline: Tick to print the text underlined.

Image row

    • type: Type of row
    • align: Type of alignment
    • image: Base64 encoded image.

Barcode row

    • type: Type of row
    • align: Type of alignment
    • content: Content of the barcode
    • height: Barcode height
    • margin: Printing margin
    • scale: Scale
    • format: Type of barcode format.

QR code row

    • type: Type of row
    • align: Type of alignment
    • content: Content of the QR code
    • size: Size of the QR generated.

Row types

Types of rows available:

    • TEXT: Text row
    • IMAGE: Image row
    • BARCODE: Barcode row
    • QR: QR code row.

Justification types

    • LEFT: Left justify element
    • RIGHT: Right justify element
    • CENTRE: Centre element.

Barcode types

    • CODABAR
    • CODE_39
    • CODE_93
    • CODE_128
    • EAN_8
    • EAN_13
    • ITF
    • UPC_A
    • UPC_E

HEADERS

X-SOURCE 

APPNAME

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

Body raw (json)

				
					{
  "typeFace": "Droid Sans Mono",
  "advancePaper": true,
  "letterSpacing": 0,
  "grayLevel": 2,
  "rows": [
    {
      "type": "IMAGE",
      "image": "iVBORw0KGoVzp04L+scwcnxX8B3h+BXkdeQ2YAAAAASUVORK5CYII=",
      "align": "CENTER"
    },
    {
      "type": "TEXT",
      "text": "ITOS TECHNOLOGY",
      "align": "CENTER",
      "fontSize": 32,
      "isBold": true,
      "isUnderline": false
    },
    {
      "type": "TEXT",
      "text": "ISO Payment API",
      "align": "LEFT",
      "fontSize": 23,
      "isBold": false,
      "isUnderline": true
    },
    {
      "type": "TEXT",
      "text": "Date & Time: ",
      "rightText": "8-6-2020",
      "fontSize": 23,
      "isBold": false,
      "isUnderline": false
    },
    {
      "type": "TEXT",
      "text": "Version: ",
      "rightText": "1.0-alpha",
      "fontSize": 23,
      "isBold": false,
      "isUnderline": false
    },
    {
      "type": "BARCODE",
      "content": "1234566666666",
      "height": 32,
      "margin": 5,
      "scale": 2,
      "format": "ITF",
      "align": "CENTER"
    },
    {
      "type": "QR",
      "content": "Copyright © 2020 by ITOS TECHNOLOGY S.L",
      "size": 64,
      "align": "CENTER"
    }
  ]
}
				
			

These are sample requests and responses for POST Printer. Here are some examples in different programming languages.

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

var raw = "{\n  \"typeFace\": \"Droid Sans Mono\",\n  \"advancePaper\": true,\n  \"letterSpacing\": 0,\n  \"grayLevel\": 2,\n  \n  \"rows\": [\n  	{\n      \"type\": \"IMAGE\",\n      \"image\": \"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAA79coK/nOAvJ/jLCdJhSK0COuSoVzp04L+scwcnxX8B3h+BXkdeQ2YAAAAASUVORK5CYII=\",\n      \"align\": \"CENTER\"\n    },\n     {\n      \"type\": \"TEXT\",\n      \"text\": \"ITOS TECHNOLOGY\",\n      \"align\": \"CENTER\",\n      \"fontSize\": 32,\n      \"isBold\": true,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"ISO Payment API\",\n      \"align\": \"LEFT\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": true\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"Date & Time: \",\n      \"rightText\":\"8-6-2020\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n        {\n      \"type\": \"TEXT\",\n      \"text\": \"Version: \",\n      \"rightText\":\"1.0-alpha\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"BARCODE\",\n      \"content\": \"1234566666666\",\n      \"height\": 32,\n      \"margin\": 5,\n      \"scale\": 2,\n      \"format\": \"ITF\",\n      \"align\": \"CENTER\"\n    },\n    {\n      \"type\": \"QR\",\n      \"content\": \"Copyright © 2020 by ITOS TECHNOLOGY S.L\",\n      \"size\": 64,\n      \"align\": \"CENTER\"\n    }\n  ]\n}";

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("https:// 172.20.10.1:2011/v1/device/printer", 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.Post, "https:// 172.20.10.1:2011/v1/device/printer");
request.Headers.Add("X-SOURCE", "APPNAME");
var content = new StringContent("{\n  \"typeFace\": \"Droid Sans Mono\",\n  \"advancePaper\": true,\n  \"letterSpacing\": 0,\n  \"grayLevel\": 2,\n  \n  \"rows\": [\n  \t{\n      \"type\": \"IMAGE\",\n      \"image\": \"iVBORw079coK/nOAvJ/jLCdJhSK0COuSoVzp04L+scwcnxX8B3h+BXkdeQ2YAAAAASUVORK5CYII=\",\n      \"align\": \"CENTER\"\n    },\n     {\n      \"type\": \"TEXT\",\n      \"text\": \"ITOS TECHNOLOGY\",\n      \"align\": \"CENTER\",\n      \"fontSize\": 32,\n      \"isBold\": true,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"ISO Payment API\",\n      \"align\": \"LEFT\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": true\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"Date & Time: \",\n      \"rightText\":\"8-6-2020\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n        {\n      \"type\": \"TEXT\",\n      \"text\": \"Version: \",\n      \"rightText\":\"1.0-alpha\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"BARCODE\",\n      \"content\": \"1234566666666\",\n      \"height\": 32,\n      \"margin\": 5,\n      \"scale\": 2,\n      \"format\": \"ITF\",\n      \"align\": \"CENTER\"\n    },\n    {\n      \"type\": \"QR\",\n      \"content\": \"Copyright © 2020 by ITOS TECHNOLOGY S.L\",\n      \"size\": 64,\n      \"align\": \"CENTER\"\n    }\n  ]\n}", null, "text/plain");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());

				
			
				
					curl --location 'https:// 172.20.10.1:2011/v1/device/printer' \
--header 'X-SOURCE: APPNAME' \
--data '{
  "typeFace": "Droid Sans Mono",
  "advancePaper": true,
  "letterSpacing": 0,
  "grayLevel": 2,
  
  "rows": [
  	{
      "type": "IMAGE",
      "image": "iVBORw0KGgoAAAANSUhEUgAAAEABtl4wSJYqTHj06EC5QPe53gj879coK/nOAvJ/jLCdJhSK0COuSoVzp04L+scwcnxX8B3h+BXkdeQ2YAAAAASUVORK5CYII=",
      "align": "CENTER"
    },
     {
      "type": "TEXT",
      "text": "ITOS TECHNOLOGY",
      "align": "CENTER",
      "fontSize": 32,
      "isBold": true,
      "isUnderline": false
    },
    {
      "type": "TEXT",
      "text": "ISO Payment API",
      "align": "LEFT",
      "fontSize": 23,
      "isBold": false,
      "isUnderline": true
    },
    {
      "type": "TEXT",
      "text": "Date & Time: ",
      "rightText":"8-6-2020",
      "fontSize": 23,
      "isBold": false,
      "isUnderline": false
    },
        {
      "type": "TEXT",
      "text": "Version: ",
      "rightText":"1.0-alpha",
      "fontSize": 23,
      "isBold": false,
      "isUnderline": false
    },
    {
      "type": "BARCODE",
      "content": "1234566666666",
      "height": 32,
      "margin": 5,
      "scale": 2,
      "format": "ITF",
      "align": "CENTER"
    },
    {
      "type": "QR",
      "content": "Copyright © 2020 by ITOS TECHNOLOGY S.L",
      "size": 64,
      "align": "CENTER"
    }
  ]
}'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/device/printer"

payload = "{\n  \"typeFace\": \"Droid Sans Mono\",\n  \"advancePaper\": true,\n  \"letterSpacing\": 0,\n  \"grayLevel\": 2,\n  \n  \"rows\": [\n  \t{\n      \"type\": \"IMAGE\",\n      \"image\": \"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAi+NGO0YnVzp04L+scwcnxX8B3h+BXkdeQ2YAAAAASUVORK5CYII=\",\n      \"align\": \"CENTER\"\n    },\n     {\n      \"type\": \"TEXT\",\n      \"text\": \"ITOS TECHNOLOGY\",\n      \"align\": \"CENTER\",\n      \"fontSize\": 32,\n      \"isBold\": true,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"ISO Payment API\",\n      \"align\": \"LEFT\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": true\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"Date & Time: \",\n      \"rightText\":\"8-6-2020\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n        {\n      \"type\": \"TEXT\",\n      \"text\": \"Version: \",\n      \"rightText\":\"1.0-alpha\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"BARCODE\",\n      \"content\": \"1234566666666\",\n      \"height\": 32,\n      \"margin\": 5,\n      \"scale\": 2,\n      \"format\": \"ITF\",\n      \"align\": \"CENTER\"\n    },\n    {\n      \"type\": \"QR\",\n      \"content\": \"Copyright © 2020 by ITOS TECHNOLOGY S.L\",\n      \"size\": 64,\n      \"align\": \"CENTER\"\n    }\n  ]\n}"
headers = {
  'X-SOURCE': 'APPNAME'
}

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

print(response.text)

				
			
				
					let parameters = "{\n  \"typeFace\": \"Droid Sans Mono\",\n  \"advancePaper\": true,\n  \"letterSpacing\": 0,\n  \"grayLevel\": 2,\n  \n  \"rows\": [\n  \t{\n      \"type\": \"IMAGE\",\n      \"image\": \"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXoVzp04L+scwcnxX8B3h+BXkdeQ2YAAAAASUVORK5CYII=\",\n      \"align\": \"CENTER\"\n    },\n     {\n      \"type\": \"TEXT\",\n      \"text\": \"ITOS TECHNOLOGY\",\n      \"align\": \"CENTER\",\n      \"fontSize\": 32,\n      \"isBold\": true,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"ISO Payment API\",\n      \"align\": \"LEFT\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": true\n    },\n    {\n      \"type\": \"TEXT\",\n      \"text\": \"Date & Time: \",\n      \"rightText\":\"8-6-2020\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n        {\n      \"type\": \"TEXT\",\n      \"text\": \"Version: \",\n      \"rightText\":\"1.0-alpha\",\n      \"fontSize\": 23,\n      \"isBold\": false,\n      \"isUnderline\": false\n    },\n    {\n      \"type\": \"BARCODE\",\n      \"content\": \"1234566666666\",\n      \"height\": 32,\n      \"margin\": 5,\n      \"scale\": 2,\n      \"format\": \"ITF\",\n      \"align\": \"CENTER\"\n    },\n    {\n      \"type\": \"QR\",\n      \"content\": \"Copyright © 2020 by ITOS TECHNOLOGY S.L\",\n      \"size\": 64,\n      \"align\": \"CENTER\"\n    }\n  ]\n}"
let postData = parameters.data(using: .utf8)

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

request.httpMethod = "POST"
request.httpBody = postData

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:

				
					{
  "result": 0
}
				
			

Content–Type application/json

Date Mon, 8 Jun 2020 12:08:50 GMT 

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

GET Mifare Cards

Get the universal unique identifier (UUID) for the Mifare smart cards.

It must be sent to: https:// 172.20.10.1:2011/v1/device/mifare

Response

  • resultCode: Request result code. It returns 0 if successful; if not, it returns an error.
  • resultMessage: Operation result message
  • data: The UUID if the result code equals 0, otherwise null or empty.

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 POST Mifare Cards. 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/device/mifare", 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/device/mifare");
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/device/mifare' \
--header 'X-SOURCE: APPNAME'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/device/mifare"

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/device/mifare")!,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:

				
					{
  "data": "92C7F052",
  "resultCode": 0
}
				
			

Content–Type application/json

Date Mon, 31 May 2021 16:02:26 GMT 

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

GET Request Information

Gets information of device MID (merchantId).

It must be sent to: https:// 172.20.10.1:2011/v1/device/info?filter=MID

Response

  • resultCode: result code for the request. It returns 0 if successful; if not, it returns an error.
  • resultMessage: result message for the operation.
  • data: result data.

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

filter

MID

Search filter.

  • MID: Request the ID for the current merchant.

These are sample requests and responses for GET Request Information. 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/device/info?filter=MID", 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/device/info?filter=MID");
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/device/info?filter=MID' \
--header 'X-SOURCE: APPNAME'
				
			
				
					import requests

url = "https:// 172.20.10.1:2011/v1/device/info?filter=MID"

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/device/info?filter=MID")!,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:

				
					{
  "data": "329811087",
  "resultCode": 0
}
				
			

Content–Type application/json

Date Tue, 1 Jun 2021 08:44:26 GMT 

Access-Control-Allow-Credentials true

Access-Control-Allow-Origin *

Connection keep-alive

Content-Encoding gzip

Transfer-Encoding chunked

Comparte este documento

Device

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