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

  • Icono de carpeta cerrada Icono de apertura de carpetaPayment integrated with Android POS
    • InStore Payment API Android
    • InStore Payment API Windows
    • InStore Payment REST API
  • Icono de carpeta cerrada Icono de apertura de carpetaPayment integrated with Smartphone POS
    • Payment integration with Smartphone POS
  • Icono de carpeta cerrada Icono de apertura de carpetaPOS integrated Payments
    • Transactions
      • Tokenization
    • Reports
    • Device
  • Icono de carpeta cerrada Icono de apertura de carpetaHost2Host Integration – POI-Switch Protocol
  • Icono de carpeta cerrada Icono de apertura de carpetaPOS Data sheets

InStore Payment REST API

Go to Swagger for testing: 

Swagger

Introduction

Use the InStore Payment REST API to make payments easily and securely from a cash register/kiosk using an external payment terminal in wireless mode. With this API you can process sales and refunds.

Before integrating the REST API payment solution in your shop, you need an API Key for the staging and production environments. Contact Comercia to get your API Key.

Instore Payment API works with two architectures:

  • InStore Payment Service installed on Windows to use the various methods that point to localhost. The base URL will be “localhost:3000/”. You can use an HTTP connection.
  • InStore Payment Service installed on the payment device (e.g.: APOS A8) to use the various methods that point to a specific device. For this solution, you have to know the IP of the payment device, using the corresponding base URL (e.g.: “192.168.1.60:3000/”). You must use a secure HTTPS connection.

The InStore Payment API solution requires:

  • A payment device.
  • A Windows device if the solution used includes the InStore Payment Windows service.

These sequencing diagrams show how a full payment transaction works:

To facilitate integration, the InStore Payment API installed on the payment terminal allows you to run a payment simulation so you don’t have to depend on a real payment application and don’t need physical cards to check the full workflow.

This simulator is simply a series of screens that are shown directly in the InStore Payment API, so you don’t need an additional request. So, although by default the Comercia payment app will always be used, you can also use the simulator.

All methods are synchronous. You cannot initiate a second transaction if the first one has not been completed.

Call the HTTPS endpoints with a personalized certificate on Postman

To explain how to use secure HTTPS connections, we recommend the following using the Postman program as an example of an ECR cash register.

The problem:

When calling an HTTP endpoint, Postman normally checks the server certificate is valid and was generated by a known authority. When the server uses a personalized certificate, it isn’t detected as a known authority so, by default, the request is blocked and the following message shown:

Error: Unable to get local issuer certificate

Solution:

To initiate the request, you can disable certificate verification. Then, Postman will allow connections to any HTTPS, even if the certificate is unknown or not valid.

To disable verification, click on “settings” in the upper right corner:

And untick the “SSL certificate verification” box:

If you have any questions, contact Comercia. Here is the link to Swagger for testing: 

Swagger
Comparte este documento

InStore Payment REST API

Copiar el enlace

Icono del portapapeles
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