Skip to main content
GET
https://api.pronttus.com.br
/
v1
/
merchants
/
{merchantId}
curl -X GET https://api.pronttus.com.br/v1/merchants/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer seu_token"
{
  "merchantId": "550e8400-e29b-41d4-a716-446655440000",
  "name": "João da Silva",
  "document": "12345678901",
  "document_type": "CPF",
  "email": "[email protected]",
  "phone": "11999999999",
  "status": "ACTIVE",
  "wallets": [
    {
      "walletId": "660e8400-e29b-41d4-a716-446655440001",
      "name": "Carteira Principal",
      "balance": 150000,
      "currency": "BRL"
    }
  ],
  "createdAt": "2025-01-15T10:30:00.000Z",
  "updatedAt": "2025-01-15T10:30:00.000Z"
}

Visão Geral

Este endpoint permite obter informações detalhadas de um merchant específico, incluindo suas wallets e saldos.

Autenticação

Authorization
string
required
Token Bearer obtido no endpoint de autenticação Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...

Parâmetros da URL

merchantId
string
required
UUID do merchant
curl -X GET https://api.pronttus.com.br/v1/merchants/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer seu_token"
{
  "merchantId": "550e8400-e29b-41d4-a716-446655440000",
  "name": "João da Silva",
  "document": "12345678901",
  "document_type": "CPF",
  "email": "[email protected]",
  "phone": "11999999999",
  "status": "ACTIVE",
  "wallets": [
    {
      "walletId": "660e8400-e29b-41d4-a716-446655440001",
      "name": "Carteira Principal",
      "balance": 150000,
      "currency": "BRL"
    }
  ],
  "createdAt": "2025-01-15T10:30:00.000Z",
  "updatedAt": "2025-01-15T10:30:00.000Z"
}

Campos da Resposta

merchantId
string
UUID único do merchant
name
string
Nome do merchant
document
string
CPF ou CNPJ do merchant
document_type
string
Tipo do documento: CPF ou CNPJ
email
string
E-mail do merchant
phone
string
Telefone do merchant
status
string
Status do merchant: ACTIVE, INACTIVE, SUSPENDED
wallets
array
Array com as wallets do merchant
wallets[].walletId
string
UUID da wallet
wallets[].name
string
Nome da wallet
wallets[].balance
integer
Saldo da wallet em centavos
wallets[].currency
string
Moeda da wallet (BRL)
createdAt
string
Data de criação (ISO 8601)
updatedAt
string
Data da última atualização (ISO 8601)