Local API

(0 reviews)
Local API lets you make payments, issue refunds and perform additional operations using a payment terminal supplied by Market Pay.

home

API structure


The architecture of Terminal API follows nexo retailer protocol.

Local API request is a JSON message consisting of a SaleToPOIRequest object with:

  • MessageHeader: identifies the type of transaction, the terminal being used, and unique transaction identifiers.
  • Request body: content depending on the type of transaction or operation, for example, a PaymentRequest.

A Terminal API response is a JSON message consisting of a SaletoPOIResponsewith:

  • MessageHeader: echoes the values provided in the request, except for MessageType, which is always Response.
  • Response body: content depending on the type of transaction or operation, for example, a PaymentResponse.

Sending and receiving


In an integration with Market Pay payment terminals, you can send and receive Terminal API messages using your local network, your POS system sends the request directly to the IP address of the terminal, and receives the result synchronously.


Reviews