ApiResponse
Formato padrão de resposta da API
- data
Dados da resposta (estrutura varia conforme o endpoint)
- errorType: object
Objeto de erro (apenas quando success=false)
- codeType: string
Stable machine-readable error code (e.g. VALIDATION_ERROR, AUTHENTICATION_ERROR, DUPLICATE_WITHDRAWAL_RISK)
- details
Optional structured payload: validation field list,
retryAfterseconds,existingWithdrawalIdfor duplicate withdrawal risk, etc. Shape varies bycode. - integration
Error Optional structured integration hint (transactions). Same additive rules as
details. - messageType: string
Human-readable message without acquirer or PSP identifiers
- pathType: string
Request path that produced the error
- timestampType: stringFormat: date-time
When the error was materialized (ISO 8601)
- traceType: string
Id Correlation / trace identifier for support and logs
- metaType: object
- requestType: string
Id ID único da requisição para rastreamento (formato: req_${timestamp}_${random})
- timestampType: stringFormat: date-time
Timestamp da resposta (ISO 8601)
- versionType: string
Versão da API (ex: v1, 1.0)
- successType: boolean
Indica se a requisição foi bem-sucedida