REST API

REST Example: Requesting Certificates for the Point-of-Sale System

Endpoints

The endpoint is the same for the test and production environments.
Test:
POST https://{terminal IP address:port number}/ or wss://{terminal IP address:port number}/
Production:
POST https://{terminal IP address:port number}/ or wss://{terminal IP address:port number}/
Request
{ "posId" : "123", "setupCode" : "8QW1YS1D" }
Response for a Successful Request
The response includes the private key and certificates required in order to establish the secure Mutual Transport Layer Security (mTLS) connection between the PAX terminal and the POS system. For security reasons, this example does not show actual private key and certificate response data.
-----BEGIN RSA PRIVATE KEY----- Your RSA private key response data appears here. -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- Your certificate response data appears here. -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- Your certificate response data appears here. -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- Your certificate response data appears here. -----END CERTIFICATE-----