Consultar conta

Changed on
get/accounts/{account_id}

Request

  • Base URL
    https://sandbox.api.pagseguro.com
  • URL
    https://sandbox.api.pagseguro.com/accounts/{account_id}
  • Auth
    none required

Path parameters

account_idstring required

Identificador único da conta. Formato: ACCO_XXXXXXXXXXXX

Headers

x-client-tokenstring

Se refere ao accessToken do Seller, obtido através da API Connect.

Authorizationstring

Token de autenticação. Deve ser enviado no formato Bearer <token>.

Response

200

idstring
typestring
statusstring
created_atstring
emailstring
business_categorystring

Example response

{
  "id": "ACCO_123",
  "type": "SELLER",
  "status": "ACTIVE",
  "created_at": "2021-07-23T14:56:33.815352",
  "email": "teste@sandbox.pagseguro.com",
  "business_category": "ARCHITECTURAL_AND_ENGINEERING",
  "person": {
    "birth_date": "1994-07-03",
    "name": "TESTE LTDA",
    "tax_id": "11111111111111",
    "mother_name": "Maria da Silva",
    "address": [
      {
        "region_code": "SP",
        "city": "São Paulo",
        "postal_code": "00000000",
        "street": "Rua São Paulo",
        "number": "1",
        "complement": "A",
        "locality": "Centro"
      }
    ],
    "phones": [
      {
        "area": "11",
        "country": "55",
        "number": "981111111"
      }
    ]
  }
}

Changes