Terminal API

Every Nexo message supported by Aera, with all fields and full examples.

The Terminal API is how your ECR talks to Aera terminals. It uses Nexo Retailer messages: your ECR sends a request, and the terminal answers with a response. Use it to take payments, refunds and gift card payments, and to close the day.

How a payment works

  1. Open a session. Send Login when the ECR starts.
  2. Take the payment. Send Payment. While the customer pays, the terminal sends Display messages, so you can show the status to the cashier.
  3. Read the result. Use the Payment response. If you don't get one, ask with TransactionStatus before you charge the customer again.
  4. Close the day. Send Reconciliation.
sequenceDiagram
    participant E as Your ECR
    participant T as Aera terminal
    E->>T: Login
    T-->>E: Login response
    E->>T: Payment
    T-->>E: Display (status for the cashier)
    T-->>E: Payment response
    Note over E,T: No response? Send TransactionStatus
    E->>T: Reconciliation (end of day)
    T-->>E: Reconciliation response
Session

Start and end the connection.

Payments

Take payments and refunds.

Payment follow-up

Cancel, undo or check a payment.

Gift cards

Load gift cards and check the balance.

End of day and checks

Close the day and check the connection.

Terminal screen and events

What the terminal shows, asks and tells you.

All messages at a glance
MessageClassUsed for
Message header–Header fields in every message
LoginServiceOpen a session
LogoutServiceClose a session
PaymentServicePurchase, loyalty, cashback, cash advance, cash deposit, refund
CardAcquisitionServiceRead the card before paying; identify or onboard customers
EnableServiceServiceStop after CardAcquisition
AbortServiceCancel a request in progress
ReversalServiceUndo the last transaction
TransactionStatusServiceResult of an earlier transaction
StoredValueServiceActivate and load gift cards
BalanceInquiryServiceGift card balance
ReconciliationServiceClose a period, get totals
DiagnosisServiceCheck connectivity
DisplayDeviceStatus and result screens
PINDevicePIN entry controlled by the ECR
InputDeviceCustomer or cashier input (onboarding, BankAxept backup)
EventEventNotifications from the terminal

Service messages are requests from the ECR. Device messages control the terminal's screen and keypad. Event messages come from the terminal without being asked.

Before you start

You needWhere
A connection from your ECR to the terminalConnect your ECR
The fields every message starts withMessage header
What response codes meanResponse codes

Field tables show nesting with indented ↳ names. A field belongs to the nearest less-indented row above it.

📘

New to the Terminal API?

Start with the guide: Implement the payment flow.