Consulta de Carteira por Chave
A consulta de carteira por chave retorna os detalhes completos de uma carteira específica, incluindo suas configurações de fatura e limites de crédito.
Request
ENDPOINT
/wallet/WALLET_KEYMÉTODO
GETPath Parameters
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
wallet_key | uuidv4 | Chave única de identificação da carteira | 36 |
Response
STATUS
200Response Body: Detalhes da carteira
{
"wallet_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"owner_person_key": "ecf87b4b-fa6e-49c0-a7f0-f2cad6b42d79",
"owner_document_number": "12345678901",
"invoice_configuration": {
"closing_date_configuration": {
"type": "fixed",
"fixed_day": 15
},
"due_date_configuration": {
"type": "fixed",
"fixed_day": 20,
"offset_months": 0
},
"invoice_payment_type": "bank_slip",
"embedded_monthly_interest_percentage": 2.0,
"interest_base": "calendar_days",
"monthly_interest_percentage": 2.0,
"fine_percentage": 2.0
},
"wallet_status": "active",
"wallet_type": "default",
"wallet_limits": [
{
"limit_type": "postpaid_credit_limit",
"limit_amount": 5000.00,
"used_limit": 0.00
}
],
"created_at": "2024-01-15T10:30:00Z"
}
Response Body Params
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
wallet_key * | string | Chave única de identificação da carteira | 36 |
owner_person_key * | string | Chave de identificação do proprietário da carteira | 36 |
owner_document_number * | string | CPF/CNPJ do proprietário da carteira | 11-14 |
invoice_configuration * | object | Configurações de fatura da carteira | Objeto invoice_configuration |
wallet_status * | string | Status atual da carteira | Enumeradores wallet_status |
wallet_type * | string | Tipo da carteira | Enumeradores wallet_type |
wallet_limits * | array | Lista de limites da carteira | Objeto wallet_limits |
created_at * | string | Data de criação (formato ISO 8601 UTC) | - |
Objeto invoice_configuration
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
closing_date_configuration * | object | Configuração da data de fechamento da fatura | Objeto closing_date_configuration |
due_date_configuration * | object | Configuração da data de vencimento da fatura | Objeto due_date_configuration |
invoice_payment_type * | string | Tipo de pagamento da fatura | Enumeradores invoice_payment_type |
embedded_monthly_interest_percentage * | float | Percentual de juros mensais embutidos (0-100) | - |
interest_base * | string | Base de cálculo dos juros | Enumeradores interest_base |
monthly_interest_percentage * | float | Percentual de juros mensais por atraso (0-100) | - |
fine_percentage * | float | Percentual de multa por atraso (0-100) | - |
Objeto closing_date_configuration
Configuração Fixa (type: "fixed"
)
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
type * | string | Tipo de configuração (deve ser "fixed") | - |
fixed_day * | integer | Dia fixo do mês para fechamento (1-27) | - |
Configuração Baseada em Regras (type: "rule_based"
)
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
type * | string | Tipo de configuração (deve ser "rule_based") | - |
rule * | object | Regra para cálculo da data | Objeto rule (closing_date_configuration) |
Objeto rule (closing_date_configuration)
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
day_of_week * | string | Dia da semana | Enumeradores day_of_week |
occurrence * | string | Ocorrência do dia no mês | Enumeradores occurrence |
fallback_strategy * | string | Estratégia para dias não úteis | Enumeradores fallback_strategy |
Objeto due_date_configuration
Configuração Fixa (type: "fixed"
)
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
type * | string | Tipo de configuração (deve ser "fixed") | - |
offset_months * | integer | Meses de offset a partir do fechamento | - |
fixed_day * | integer | Dia fixo do mês para vencimento (2-27) | - |
Configuração Baseada em Regras (type: "rule_based"
)
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
type * | string | Tipo de configuração (deve ser "rule_based") | - |
offset_months * | integer | Meses de offset a partir do fechamento | - |
rule * | object | Regra para cálculo da data | Objeto rule (due_date_configuration) |
Objeto rule (due_date_configuration)
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
day_of_week * | string | Dia da semana | Enumeradores day_of_week |
occurrence * | string | Ocorrência do dia no mês | Enumeradores occurrence |
fallback_strategy * | string | Estratégia para dias não úteis | Enumeradores fallback_strategy |
Objeto wallet_limits
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
limit_type * | string | Tipo do limite | Enumeradores limit_type |
limit_amount * | float | Valor total do limite | - |
used_limit * | float | Valor utilizado do limite | - |
Enumeradores wallet_status
Enumerador | Descrição |
---|---|
pending_analysis | Carteira pendente de análise KYC |
active | Carteira ativa e disponível para uso |
rejected | Carteira rejeitada na análise KYC |
Enumeradores wallet_type
Enumerador | Descrição |
---|---|
default | Carteira padrão |
Enumeradores limit_type
Enumerador | Descrição |
---|---|
postpaid_credit_limit | Limite de crédito pós-pago |
ccb_limit | Limite de CCB |
Enumeradores day_of_week
Enumerador | Descrição |
---|---|
monday | Segunda-feira |
tuesday | Terça-feira |
wednesday | Quarta-feira |
thursday | Quinta-feira |
friday | Sexta-feira |
saturday | Sábado |
sunday | Domingo |
Enumeradores occurrence
Enumerador | Descrição |
---|---|
first | Primeira ocorrência |
second | Segunda ocorrência |
third | Terceira ocorrência |
fourth | Quarta ocorrência |
last | Última ocorrência |
Enumeradores fallback_strategy
Enumerador | Descrição |
---|---|
next_business_day | Próximo dia útil |
previous_business_day | Dia útil anterior |
same_day | Mesmo dia |
Enumeradores invoice_payment_type
Enumerador | Descrição |
---|---|
bank_slip | Boleto bancário |
Enumeradores interest_base
Enumerador | Descrição |
---|---|
calendar_days | Dias corridos |
Objeto wallet_limits
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
limit_type * | string | Tipo do limite | Enumeradores limit_type |
limit_amount * | float | Valor total do limite | - |
used_limit * | float | Valor utilizado do limite | - |
Enumeradores limit_type
Enumerador | Descrição |
---|---|
postpaid_credit_limit | Limite de crédito pós-pago |
Error Response
STATUS
4xxResponse Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
Código HTTPstatus | Código QIcode | Títulotitle | Descrição (eng)description | Descrição (pt-br)translation |
---|---|---|---|---|
404 | WLT000001 | Wallet Not Found | Wallet with key 8cb70dea-9fb0-4a68-9572-99a72849c8d6 not found | Carteira com chave 8cb70dea-9fb0-4a68-9572-99a72849c8d6 não encontrada |