> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/general-resources/global-commerce/customers/digital-river-maintained-customer-login.md).

# Digital River-maintained customer login

Learn about the Digital River-maintained customer login.

If Digital River maintains the master record for the customer login credentials, the payload must contain the `username` and `password`. The customer's `password` must be base64 encoded.

{% hint style="info" %}
**Best Practices**: Explicitly set the `locale` and `currency` for a customer at the start of a session.
{% endhint %}

{% tabs %}
{% tab title="Payload example" %}

```json
{
	"shopper": {
		"username": "myShopper@myCompany.com",
		"password": "cFGzc3dvcmQ=",
		"firstName": "John",
		"lastName": "Johnson",
		"emailAddress": "jjohnson@myCompany.com",
		"locale": "en_US",
		"currency": "USD"
 	}
 }
```

{% endtab %}
{% endtabs %}
