---
agentTools:
  projectIndex: https://docs.o21.io/llms.txt
---

# Merchant

Detail of Merchant

```Text Merchant
{
      "id_merchant": string,
      "name": string,
      "image": string,
      "description": string,
      "url": string,
      "mail": string,
      "webhook": string,
      "whitelist": string,
      "enabled": boolean,
      "currencies": [Account]
}
```
```Text sample
{
      "id_merchant": "9d3d5d01-f70e-4d56-b05b-2cc14edabcf9",
      "name": "My Shop",
      "image": "https://assets.obvious21.com/o21pay/0cbdcd64-43e8-4574-b71b-f04f67665578/9d3d5d01-f70e-4d56-b05b-2cc14edabcf9/423e7daf-3c71-4a3b-b448-146e054a384e.png",
      "description": "Merchant Description",
      "url": "https://myshop.com",
      "mail": "demoy@obvious21.com",
      "webhook": "https://myshop.com/events",
      "whitelist": "0.0.0.0",
      "enabled": true,
      "currencies": [
        {
          "id": "f6cb2e21-2fa7-47e6-baae-e3ef3a1f4f36",
          "name": "Euro",
          "shortname": "Euro",
          "currency_code": "EUR",
          "decimals": 2,
          "chainid": "",
          "testnet": true,
          "time": -1,
          "account1": "FR76 1027 8063 9800 0217 2400 388",
          "bank": {
            "bank": "Crédit Mutel",
            "company": "Obvious21 SAS",
            "iban": "FR7610278063980002172400388",
            "bic": "CMCIFR2AXXX",
            "wire": true
          },
          "extra": {
            "card": {
              "active": true
            },
            "wire": true,
            "instant": true
          }
        },
    ]
}
```

**Merchant Object**

| Field        | description                                                                 | type    | mandatory |
| :----------- | :-------------------------------------------------------------------------- | :------ | :-------- |
| id\_merchant | Merchant ID                                                                 | string  | Y         |
| name         | Merchant name                                                               | string  | Y         |
| image        | Url of image (Brand)                                                        | string  | Y         |
| description  | Merchant Description                                                        | string  | Y         |
| url          | Url of site                                                                 | string  | Y         |
| mail         | Mail of merchant shop (Receipts)                                            | string  | Y         |
| whitelist    | List of IPs address authorized (separator ,;)                               | string  | Y         |
| enabled      | Payment enabled                                                             | boolean | Y         |
| currencies   | Array of [Account](https://o21pay-api.readme.io/reference/account-1) linked | array   | N         |