---
title: "Authentication"
description: "The merchant account is identified and authorized using the Basic Authentication header, which is a base64 encoded account name and password (separated by a colon), e.g.:"
canonical: "https://docs.cm.com/payments/online-payments-legacy/guides/api-reference/authentication"
---

# Authentication

> The merchant account is identified and authorized using the Basic Authentication header, which is a base64 encoded account name and password (separated by a colon), e.g.:

Source: https://docs.cm.com/payments/online-payments-legacy/guides/api-reference/authentication

The merchant account is identified and authorized using the Basic Authentication header, which is a base64 encoded account name and password (separated by a colon), e.g.:

```bash
--header 'Authorization: Basic RG9jZGF0YVBGOkJXazJhZkpV'
```
