# Consultar dados do seller

**GET** `/sellers`

Base URL: `https://api-sbx.pre.globalgetnet.com/dpy/payment-link/v1`

Returns the data and configurations of the authenticated seller.

## Header parameters

- `Authorization` (string, required)
  Bearer Token (JWT). x-seller-id, country, and tenant are extracted from the token.

## Responses

### 200

Seller data

- `seller_id` (string<uuid>)
- `merchant_id` (string)
- `seller_code` (string)
- `trade_name` (string)
- `email` (string<email>)
- `country` (string)
- `currencies` (string[])
- `services` (object)
  - `checkout` (boolean)
  - `vault` (boolean)
  - `card_verification` (boolean)
  - `preauthorization` (boolean)
  - `unico_id` (boolean)
  - `threeds` (boolean)
  - `anti_fraud` (boolean)
  - `payment_link` (boolean)
  - `tokenization` (boolean)
- `payments` (object)
  Payment methods configuration.
  At least one method must be enabled (enabled: true).

  **Availability by country:**
  | Method | BR | MX | AR | CL | ES | UY |
  |--------|----|----|----|----|----|----|
  | credit | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
  | debit | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
  | bankslip | ✓ | — | — | — | — | — |
  | instant_payment | ✓ | — | — | — | — | — |
  | google_pay | ✓ | — | — | — | — | — |
  | apple_pay | ✓ | — | — | — | — | — |
  | c2p_master | — | — | ✓ | — | — | — |
  - `credit` (object)
    - `enabled` (boolean, required)
    - `brands` (object[])
      - `enabled` (boolean, required)
      - `brand` (string, required)
        Card brand (VISA, MASTERCARD, AMEX, ELO, HIPERCARD, CABAL, CARNET)
      - `currencies` (string[])
      - `threeds` (boolean)
        3DS authentication enabled
      - `supported_installments` (object[])
        - `schema` (string, required)
          Installment schema identifier
        - `schema_name` (string)
          Descriptive name of the schema
        - `installments` (integer[], required)
          Enabled installments (integers >= 2)
        - `installments_with_interest` (integer[])
          Installments with interest
        - `installments_with_increase` (object[])
          Groups of installments with surcharge rate
          - `installments` (integer[], required)
          - `rate` (number<float>, required)
  - `debit` (object)
    - `enabled` (boolean, required)
    - `brands` (object[])
      - `enabled` (boolean, required)
      - `brand` (string, required)
      - `currencies` (string[])
      - `threeds` (boolean)
  - `bankslip` (object)
    - `enabled` (boolean, required)
  - `instant_payment` (object)
    - `enabled` (boolean, required)
  - `google_pay` (object)
    Available only for BR
    - `enabled` (boolean, required)
  - `apple_pay` (object)
    Available only for BR
    - `enabled` (boolean, required)
  - `c2p_master` (object)
    Click to Pay Mastercard — available only for AR
    - `enabled` (boolean, required)

Example:

```json
{
  "seller_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "merchant_id": "abc123",
  "seller_code": "SELLER001",
  "trade_name": "Loja Exemplo",
  "email": "loja@exemplo.com.br",
  "country": "BR",
  "currencies": [
    "BRL"
  ],
  "services": {
    "checkout": true,
    "vault": true,
    "card_verification": true,
    "preauthorization": true,
    "unico_id": true,
    "threeds": true,
    "anti_fraud": true,
    "payment_link": true,
    "tokenization": true
  },
  "payments": {
    "credit": {
      "enabled": true,
      "brands": [
        {
          "enabled": true,
          "brand": "VISA",
          "currencies": [
            "BRL"
          ],
          "threeds": true,
          "supported_installments": [
            {
              "schema": "plan_lojista",
              "schema_name": "Plan Lojista",
              "installments": [
                2,
                3,
                6,
                9,
                12
              ],
              "installments_with_interest": [
                6,
                9,
                12
              ],
              "installments_with_increase": null
            }
          ]
        }
      ]
    },
    "debit": {
      "enabled": true,
      "brands": [
        {
          "enabled": true,
          "brand": "VISA",
          "currencies": [
            "BRL"
          ],
          "threeds": true
        }
      ]
    },
    "bankslip": {
      "enabled": true
    },
    "instant_payment": {
      "enabled": true
    },
    "google_pay": {
      "enabled": true
    },
    "apple_pay": {
      "enabled": true
    },
    "c2p_master": {
      "enabled": false
    }
  }
}
```

### 401

Unauthorized

- `error_code` (string)
- `message` (string)
- `status_code` (integer)

Example:

```json
{
  "error_code": "payment_link_not_found",
  "message": "Payment Link not found",
  "status_code": 422
}
```

### 404

Not found

- `error_code` (string)
- `message` (string)
- `status_code` (integer)

Example:

```json
{
  "error_code": "payment_link_not_found",
  "message": "Payment Link not found",
  "status_code": 422
}
```

### 500

Internal server error

- `error_code` (string)
- `message` (string)
- `status_code` (integer)

Example:

```json
{
  "error_code": "payment_link_not_found",
  "message": "Payment Link not found",
  "status_code": 422
}
```