API
Merx Retail has a documented HTTP API for the portal, for Merx devices and for point-of-sale integrations.
Reference
The complete reference is generated from the running code, in OpenAPI 3.1 format.
Point-of-sale webhook
Create an integration in Integrations to get the endpoint and the signing secret. Each delivery carries the header Merx-Signature (t=<unix time>,v1=<HMAC-SHA256 of "<t>.<body>">). Deliveries are idempotent by event identifier.
Errors
Errors are JSON: { "error": { "code", "message", "fields" } }. The message follows the caller’s language (English, Portuguese or Spanish); "fields" lists each rejected field with its own message.