Authentication uses the HTTP basic access authentication. More info on Basic auth can be found here: https://en.wikipedia.org/wiki/Basic_access_authentication
Merchant ID and Merchant Secret will be provided for communicating with the Latitude Checkout.
- Merchant ID is a username which must be included (as merchantId) in all requests
- Merchant Secret is password which should be stored securely by merchants and should only be used to create the Authorization header.
- Authorization header is generated by a. join merchantId and merchant secret by a colon character (without any spaces)
b. Base 64 encode generated value
c. the Authorization header will appear as