# Retrieve your account

> Returns the store the API key belongs to and the environment of the key.

Source: https://rais.app/docs/api/retrieve-account

`GET /v1/account`

Any valid API key may call this endpoint, whatever its scopes.

Any valid key can call it, whatever its scopes: it is the simplest way to check that a key works.

## Request

### Example request

```bash
curl https://api.rais.app/v1/account \
  -H "Authorization: Bearer rais_sk_test_..."
```

## Response

### 200: Your store.

Returns the [Account object](https://rais.app/docs/api/objects/account.md).

```json
{
  "object": "account",
  "id": "7d0b6a3e-1c52-4f8e-9a44-2b6e8f1d0c35",
  "name": "Boutique Alger",
  "livemode": false,
  "live_enabled": false,
  "currency": "DZD",
  "payment_page": "rais"
}
```

## Errors

| Status | Code | Example message |
| --- | --- | --- |
| 401 | `invalid_api_key` | Invalid API key provided. |
| 403 | `insufficient_scope` | This API key does not have the 'payments:write' permission. |
| 403 | `account_disabled` | This store is suspended or disabled. |
| 403 | `live_mode_not_enabled` | Complete business verification to take live payments. |
| 429 | `rate_limit_exceeded` | Too many requests. Slow down and retry after the delay in the Retry-After header. |
| 500 | `internal_error` | Something went wrong on our side. Quote the request id to support. |

See [Errors](https://rais.app/docs/errors.md) for every code and how to react.

## Related guides

- [Authentication](https://rais.app/docs/authentication.md)
