# Link the Address

> Coming soon, upon request — this feature is turned on for your tenant by the Aurea team. [Contact us](https://www.aureahub.com/contact)

Link the address that signs payouts — and the user's smart account — to their EUR account.

## Overview

- `signature`: the `personal_sign` of [Link Message](https://docs.aureahub.com/docs/cards-link-message.md). Aurea links the address that signed it, then the smart account; `eurAccountLinked` becomes `true` in [Local Status](https://docs.aureahub.com/docs/cards-local-status.md).
- Needed before [Pay Out to a Bank](https://docs.aureahub.com/docs/cards-payout.md) when the address was not linked when the EUR account was activated. No card program session is needed.
- `400` or `500` when the issuer refuses the link.

## Endpoint

### `POST /v1/gnosis/eur-account/link-safe`

Authentication: bearer token required.

Links the signing address and the smart account to the EUR account.

**Request body**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `signature` | string | yes | The signed link message, `0x` hex |

**Responses**

`200` OK

```json
{
  "success": true
}
```

**Example request**

```bash
curl -X POST https://api.aureahub.com/v1/gnosis/eur-account/link-safe \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"signature": "0x…"}'
```

---

Web version: https://docs.aureahub.com/#cards-link-address
