---
title: "getCurrency"
slug: "api/basket/operations/getcurrency"
sidebar:
  order: 422
---

<a id="ref-9f2e3bb10969"></a>
<a id="ref-64903618df7c"></a>
<a id="ref-a012f08313e8"></a>

## Synopsis

```text
string getCurrency(SessionId sessionId) throws BasketServiceFault;
```

See also: [SessionId](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [BasketServiceFault](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault#ref-d5adb74faa1b)

This operation queries the current basket currency as set by the [`setCurrency`](/pCon/configuratorOnline/specs/api/basket/operations/setcurrency) operation, or the session’s default currency if the `setCurrency` operation has not been invoked yet.

A [`BasketServiceFault`](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault) is returned if any of the following conditions occurs:

- The `sessionId` parameter is not a valid string representation of an UUID or does not represent an open session.
