Skip to main content
GET
/
subaccount
/
portal
/
status
curl -X GET 'https://api.goatpay.com.br/v1/subaccount/portal/status?externalReference=loja-parceiro-a' \
  -H 'X-API-Key: gp_live_SUA_CHAVE'
{
  "success": true,
  "message": "Status do portal",
  "data": {
    "subaccountId": "clx_subconta",
    "subaccountName": "Loja Parceiro",
    "portal": {
      "state": "active",
      "email": "operador@empresa.com",
      "emailVerified": true,
      "twoFactorEnabled": false,
      "lastLoginAt": "2026-06-08T14:22:00.000Z"
    }
  },
  "requestId": "req_abc123"
}
curl -X GET 'https://api.goatpay.com.br/v1/subaccount/portal/status?externalReference=loja-parceiro-a' \
  -H 'X-API-Key: gp_live_SUA_CHAVE'
{
  "success": true,
  "message": "Status do portal",
  "data": {
    "subaccountId": "clx_subconta",
    "subaccountName": "Loja Parceiro",
    "portal": {
      "state": "active",
      "email": "operador@empresa.com",
      "emailVerified": true,
      "twoFactorEnabled": false,
      "lastLoginAt": "2026-06-08T14:22:00.000Z"
    }
  },
  "requestId": "req_abc123"
}
id
string
ID da subconta. Informe id ou externalReference, ou omita ambos para listar todas.
externalReference
string
Referência externa da subconta.
Permissão da API key: subaccount/portal/get. Estados possíveis: none, active, disabled, pending_password, invite_pending, pending_verification (legado).

Authorizations

X-API-Key
string
header
required

Chave gp_live_... criada em Integrações → Chaves de API no dashboard.

Query Parameters

id
string
externalReference
string

Response

200 - application/json

Operação concluída.

success
boolean
required
Example:

true

message
string
required
Example:

"Pagamento PIX criado com sucesso"

data
object
required
requestId
string