Local API
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.#-